From: Joep Blom <jlblom@neuroweave.nl>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: mingz@ele.uri.edu
Subject: Re: [linux-lvm] problem when creating a volumegroup on an external drive
Date: Sun, 14 May 2006 23:42:03 +0200 [thread overview]
Message-ID: <4467A42B.2020805@neuroweave.nl> (raw)
In-Reply-To: <67d53e40605130320t50e4e912lcb2a2ea3d6773bc@mail.gmail.com>
Markus Laire wrote:
> On 5/13/06, Joep Blom <jlblom@neuroweave.nl> wrote:
>
>> One last question: Why can't I use "pvcreate /dev/sda" but have to use
>> "pvcreate /dev/sda1" (as the LV HOW-TO stated the former).
>> Hope you can help me out with this as well.
>
>
> pvcreate man-page says that:
> <quote>
> For *whole disk devices only* the partition table must be erased,
> which will effectively destroy all data on that disk. This can be done
> by zeroing the first sector with:
> dd if=/dev/zero of=PhysicalVolume bs=512 count=1
> </quote>
>
Thanks, Marcus,
I have read that also but pvcreate (lvm2) worked nevertheless. I only
have the warning with fdisk that it encounters an "invalid flag 0x000 in
partition table 4 which will be corrected with write". So I simply don't
use fdisk on that disk and I don't know if this is harmful. But thanks
for reminding me.
Joep
next prev parent reply other threads:[~2006-05-14 21:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 11:28 [linux-lvm] problem when creating a volumegroup on an external drive Joep Blom
2006-05-12 12:16 ` Patrick Caulfield
2006-05-12 14:50 ` Joep Blom
2006-05-12 14:57 ` Klaus Strebel
2006-05-12 22:25 ` Joep Blom
2006-05-13 1:49 ` Ming Zhang
2006-05-13 8:19 ` Joep Blom
2006-05-13 10:20 ` Markus Laire
2006-05-14 21:42 ` Joep Blom [this message]
2006-05-15 8:42 ` Markus Laire
2006-05-15 9:14 ` Joep Blom
2006-05-13 15:42 ` Ming Zhang
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=4467A42B.2020805@neuroweave.nl \
--to=jlblom@neuroweave.nl \
--cc=linux-lvm@redhat.com \
--cc=mingz@ele.uri.edu \
/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).