[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Problem deleteing PV's



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
> >



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]