[linux-lvm] fdisk can't recognize partition tables

Marian Csontos mcsontos at redhat.com
Fri Apr 19 11:40:01 UTC 2013

On 04/18/2013 01:39 PM, Amandeep Kapila wrote:
> Hello,
>             I have a little lvm related issue with Debian Squeeze
> installation. I install debian squeeze with lvm partitioning. The
> installation completes and every thing is working fine for last many days.
> But I notice a message when I use the fdisk tool to list my partitions. The
> message is,
>              Disk /dev/dm-4 doesn't contain a valid partition table
>             Why I am getting this and what can be the implications? Can
> fdisk read the lvm partition tables or it can't and just giving this
> message? Any workaround? Again I assert everything is working great.

/dev/dm-4 is the LVM logical volume. Partitions are one floor lower.
NOTE: you should not use /dev/dm-*! Use /dev/VG/LV instead or by UUID.

See output of `pvs` to see partition(s) behind the LVM.

Then drop last number - that's the disk containing partitions.

Or give `lsblk` a try.

-- Marian

>             Thanks in advance....
> Regards,
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list