All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Csontos <mcsontos@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Amandeep Kapila <kapila.amandeep@gmail.com>
Subject: Re: [linux-lvm] fdisk can't recognize partition tables
Date: Fri, 19 Apr 2013 13:40:01 +0200	[thread overview]
Message-ID: <51712D11.4070400@redhat.com> (raw)
In-Reply-To: <CAMY7n8ig1kyWnuzMSw0KNyC=4C7DCWMEhJYJ-TRCkh_H+wJ+ow@mail.gmail.com>

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/
>

      reply	other threads:[~2013-04-19 11:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 11:39 [linux-lvm] fdisk can't recognize partition tables Amandeep Kapila
2013-04-19 11:40 ` Marian Csontos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51712D11.4070400@redhat.com \
    --to=mcsontos@redhat.com \
    --cc=kapila.amandeep@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.