From: Joep Blom <jlblom@neuroweave.nl>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] problem when creating a volumegroup on an external drive
Date: Mon, 15 May 2006 11:14:07 +0200 [thread overview]
Message-ID: <4468465F.4000805@neuroweave.nl> (raw)
In-Reply-To: <67d53e40605150142t6bf71023gab90d82c0eaa4a8a@mail.gmail.com>
Markus Laire wrote:
> On 5/15/06, Joep Blom <jlblom@neuroweave.nl> wrote:
>
>> Markus Laire wrote:
>> > 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.
>
>
> Well, since fdisk is "Partition table manipulator for Linux", you
> clearly shouldn't use it on disks which don't have a partition-table.
> And if you use whole disk for LVM, you don't have any partitions there
> (and shouldn't have partition-table either), and so fdisk is of no use
> for such a disk.
>
I agree.
Joep
next prev parent reply other threads:[~2006-05-15 9:16 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
2006-05-15 8:42 ` Markus Laire
2006-05-15 9:14 ` Joep Blom [this message]
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=4468465F.4000805@neuroweave.nl \
--to=jlblom@neuroweave.nl \
--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.