linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] fdisk can't recognize partition tables
@ 2013-04-18 11:39 Amandeep Kapila
  2013-04-19 11:40 ` Marian Csontos
  0 siblings, 1 reply; 2+ messages in thread
From: Amandeep Kapila @ 2013-04-18 11:39 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

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.

           Thanks in advance....

Regards,

[-- Attachment #2: Type: text/html, Size: 829 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] fdisk can't recognize partition tables
  2013-04-18 11:39 [linux-lvm] fdisk can't recognize partition tables Amandeep Kapila
@ 2013-04-19 11:40 ` Marian Csontos
  0 siblings, 0 replies; 2+ messages in thread
From: Marian Csontos @ 2013-04-19 11:40 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: Amandeep Kapila

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@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-19 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 11:39 [linux-lvm] fdisk can't recognize partition tables Amandeep Kapila
2013-04-19 11:40 ` Marian Csontos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).