linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: f-lvm@media.mit.edu
Subject: Re: [linux-lvm] pvcreate can't use entire disk?
Date: Mon, 23 Jan 2006 22:35:16 +0000	[thread overview]
Message-ID: <20060123223516.GN4280@agk.surrey.redhat.com> (raw)
In-Reply-To: <200601232226.RAA22595@out-of-band.media.mit.edu>

On Mon, Jan 23, 2006 at 05:26:00PM -0500, f-lvm@media.mit.edu wrote:
> "Device /dev/hdd not found."  The disk is surely online:  I can

> I would have -expected- pvcreate to complain about a partition table
> existing 

The currrent internal structure of LVM2 makes that difficult.
Add -vvvv to commands for more information like that.

Invalid devices are filtered out at a low level in the libraries
so tools such as 'pvcreate' never see them.

If your disk has a partition table, then LVM2 insists you use those
partitions to reduce the risk of accidents.
 
> (at which point I would have zeroed it and tried again)

Did you try that?
(And then you might need to run 'vgscan'.)

Alasdair
-- 
agk@redhat.com

  reply	other threads:[~2006-01-23 22:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-23 22:26 [linux-lvm] pvcreate can't use entire disk? f-lvm
2006-01-23 22:35 ` Alasdair G Kergon [this message]
2006-01-23 23:02   ` f-lvm
2006-01-24 14:55     ` AJ Lewis
2006-01-24 18:45       ` f-lvm
2006-01-24 18:53         ` [linux-lvm] how to use mirror function of lvcreate? Tom Callahan
2006-01-23 23:12   ` [linux-lvm] pvcreate can't use entire disk? Karl O. Pinc
  -- strict thread matches above, loose matches on Subject: below --
2006-01-23 22:02 f-lvm

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=20060123223516.GN4280@agk.surrey.redhat.com \
    --to=agk@redhat.com \
    --cc=f-lvm@media.mit.edu \
    --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).