[linux-lvm] Error: Doesn't contain a valid partition table
Bryn M. Reeves
bmr at redhat.com
Mon Oct 29 14:16:07 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 10/29/2012 02:08 PM, James Hawtin wrote:
> This is to be expected. because it is possible to have partition tables on
> logical volumes created by LVM. if you don't like this use the "filter"
> line in /etc/lvm/lvm.conf to include/exclude what you want to be searched.
> This is also useful if you want to exclude multipathed/mirrored devices.
fdisk is just scanning everything that it finds in /proc/partitions:
* for fdisk -l:
* try all things in /proc/partitions that look like a full disk
print_all_partition_table_from_option(unsigned long sector_size)
This doesn't use the LVM2 filters so will continue to report for all
device-mapper devices when using '-l'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the linux-lvm