how to split volume group
i have created two physical volumes, later added volume group to it and then created logical volume and formated the logical volume n mounted it on directory now now i wanted to split the volume group but am unable to do it.If i tries it error msg displayed as existing volume group is active and i have to inactive that volume group how to do it pls help?
|
- ensure that all LV are unmounted
run lvs and look for o under the Attr column. example: -wi-ao example: -wi-a- what you want is for the LVs in the VG you want to split to be like the 2nd example - run vgchange -an <VolumeGroupName> this will deactivate the VG that you want to split you should then be able to proceed |
I'm not sure what you mean by "split a VG"; you can remove PVs from it and add PVs to it. Before removing a PV from a VG you have to move any LVs in it to (an)other PV(s) in the VG. The pvmove command can do that.
|
Quote:
Quote:
|
Thanks rayfordj :)
|
All times are GMT -5. The time now is 11:19 PM. |