From: Steve Cranage <stevecranage@earthlink.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problem deleteing PV's
Date: Thu, 24 May 2001 08:18:58 -0600 [thread overview]
Message-ID: <3B0D1852.8E5008A1@earthlink.net> (raw)
In-Reply-To: 200105231825.tgoooa.cef.37tiu8v@emu
I think pvscan looks for the UUID written to the beginning of the disk. I've been deleting PV's by overwriting that label. I don't know exactly where the label is, but doing a dd if=/dev/zero of=/dev/sda bs=1k count=100 does the trick.
> On Wed, 23 May 2001, Justin Booth wrote:
>
> > Hello,
> >
> > I have a problem deleteing 4 PV's that I managed to create None of the
> > PV's are in a VG, and I can't figure out how to get rid of them
> >
> > when I do a pvscan It returns something like this:
> >
> > pvscan -- reading all physical volumes (this may take a while)
> > pvscan -- inactive PV "/dev/sdb" is in no VG [12.16] MB
> > pvscan -- inactive PV "/dev/sdb1" is in no VG [8.54] GB
> > pvscan -- inactive PV "/dev/sdc" is in no VG [12.16] MB
> > pvscan -- inactive PV "/dev/sdc1" is in no VG [8.54] GB
> > pvscan -- total: 4 [17.11 GB] / in use 0 [0] / in no VG: 4 [17.11 GB]
> >
> >
> > How do I get rid of these entries to start over again?
> > I've tried deleteing the partition table and recreating them but a
> > subsequent vgscan always brings them back into pvscan
> >
> >
> > Thanks much,
> > Justin Booth
> >
next parent reply other threads:[~2001-05-24 14:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200105231825.tgoooa.cef.37tiu8v@emu>
2001-05-24 14:18 ` Steve Cranage [this message]
2001-05-24 18:35 [linux-lvm] Problem deleteing PV's Kevin M Corry
2001-05-24 18:56 ` Justin Booth
2001-05-24 19:19 ` Justin Booth
-- strict thread matches above, loose matches on Subject: below --
2001-05-24 14:13 Kevin M Corry
2001-05-24 17:40 ` Justin Booth
2001-05-24 17:47 ` Subosu Guruju
2001-05-25 7:43 ` Patrick Caulfield
2001-05-24 0:35 Justin Booth
2001-05-24 0:53 ` Austin Gonyou
2001-05-24 1:19 ` Justin Booth
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=3B0D1852.8E5008A1@earthlink.net \
--to=stevecranage@earthlink.net \
--cc=linux-lvm@sistina.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