linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Markus Laire" <malaire@gmail.com>
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: Sat, 13 May 2006 13:20:03 +0300	[thread overview]
Message-ID: <67d53e40605130320t50e4e912lcb2a2ea3d6773bc@mail.gmail.com> (raw)
In-Reply-To: <4465967E.6090206@neuroweave.nl>

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>

-- 
Markus Laire

  reply	other threads:[~2006-05-13 10:20 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 [this message]
2006-05-14 21:42               ` Joep Blom
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=67d53e40605130320t50e4e912lcb2a2ea3d6773bc@mail.gmail.com \
    --to=malaire@gmail.com \
    --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).