Skip to contentSkip to conversation

How to remove a vg manually?

linux-lvm Ulrich Wiederhold 2 participants 2 messages Nov 22, 2001 – Nov 23, 2001

lore
Share & tools
lore
#0 lore raw

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?

Anything else or another possibility?

Thanks
Uli

Signature · 1 line
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5
#1 lore raw
Quoted 10 lines · Ulrich Wiederhold

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.

Quoted 14 lines

Anything else or another possibility?

Thanks
Uli

Signature · 7 lines
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
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
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-