Bug#705076: gpart: fails to recognize lvm2 partitions

chrysn chrysn at fsfe.org
Tue Apr 9 22:11:09 UTC 2013

Package: gpart
Version: 0.1h-11+b1
Severity: wishlist

gpart fails to detect lvm2 physical volumes, which ought to easy to

the test setup i used was like this:

* dd if=/dev/zero bs=4096 count=4096 of=./test
* losetup /dev/loop1 ./test
* fdisk /dev/loop1 # create a single partition with default parameters
* sudo kpartx -a /dev/loop1
* pvcreate /dev/mapper/loop1p1
* gpart ./test

lvm partitions are pretty widespread these days, so users could
reasonably assume those partition types to be detected. i'd therefore
suggest to add lvm2 support to gpart.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpart depends on:
ii  libc6  2.13-38

gpart recommends no packages.

gpart suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20130410/1065d334/attachment.pgp>

More information about the forensics-devel mailing list