[linux-lvm] How to remove a vg manually?
Heinz J . Mauelshagen
mauelshagen at sistina.com
Fri Nov 23 06:15:02 UTC 2001
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 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
--
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 at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list