[linux-lvm] pvscan problem

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Sep 9 06:10:27 UTC 2002

There's no pvremove so far. LVM2 will have one later though.

Just "dd if=/dev/zero of=/dev/WhateverPV count=1 bs=1k" to all the PVs
you want to get rid of.

If you can stand to see them pvscan'ed as new PVs,
run "pvcreate -ff /dev/WhateverPV" instead.

On Sat, Sep 07, 2002 at 05:08:24PM +0200, NagyZ wrote:
> Hi!
> after i reinstalled my system, pvscan still shows old hdd's as inactive 
> PVs.. how can i remove that? the hdds have been completely repartitioned, 
> so i dont know why is that..
> is there any way to "unmark" a partition which have been marked with 
> pvcreate?
> Regards,
> NagyZ
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html


Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***


Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446

More information about the linux-lvm mailing list