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

Re: [linux-lvm] How to remove a vg manually?



On Fri, Nov 23, 2001 at 12:28:40AM +0100, Ulrich Wiederhold wrote:
> Hey,
> first I wanna say, the resize of the reiserfs worked ok. Thanks.
> 
> I move my hole data from the old vg01 with that error
> "pvmove -- ERROR reading input physical volume "/dev/hdb1" (still 65536 bytes to read)"
> 
> to the new vg store at the moment. If it´s done I would like to remove
> the old vg01.
> How can I do this? Delete all files /etc/lvmconf/vg01* and change all
> Partition Types tp 83 instead of 8e?

vgchange -an vg01
for d in AllOfvg01sPVs; do dd if=/dev/zero of=$d bs=512 count=1; done
vgscan

You can change the partition type to an arbitray value optionally.

> 
> Anything else or another possibility?
> 
> Thanks
> Uli
> 
> -- 
> 'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
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
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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