From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM partition type
Date: Thu, 05 Mar 2009 15:59:02 +0000 [thread overview]
Message-ID: <49AFF6C6.1040508@redhat.com> (raw)
In-Reply-To: <ffa0f8300903050753q6dc7c47bx6302d31d174a3dec@mail.gmail.com>
Tejas Sumant wrote:
> Hi there,
>
> I created a physical volume using pvcreate command on /dev/sda. When I
> checked the partition entries in MBR for /dev/sda using fdisk observed
> that no partitions were displayed.
The pvcreate command only creates LVM2 labels, it does not update the
MBR or other disk label at all.
> Why pvcreate doesnt make partition entry with type 8e in MBR? Which
That's your job ;)
If you chose to use partitions for PVs then you need to create those
partitions and set their type codes appropriately (although LVM2
doesn't actually check/use those type codes anywhere - it's really
more of a "documentation" step these days).
> partition entry gets used in case whole disk is made PV?
None of them. If you use the whole disk as a PV it should not have any
MBR at all.
Regards,
Bryn.
prev parent reply other threads:[~2009-03-05 15:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 15:53 [linux-lvm] LVM partition type Tejas Sumant
2009-03-05 15:59 ` Bryn M. Reeves [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=49AFF6C6.1040508@redhat.com \
--to=bmr@redhat.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 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).