Re: Error: Doesn't contain a valid partition table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
 */
static void
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'.

Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCOj6cACgkQ6YSQoMYUY96/mwCeJasISaP/K7UliUBZO8k5toQH
BcgAn21U4z8nPRXzthVPZ3qGOVeOjbR0
=BIU2
-----END PGP SIGNATURE-----

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux