Unable to reduce the size of volume group?
My volume group of size 200 gb.
out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each). Whenever i use vgreduce command to reduce the size of volume group i get below error. Code:
# vgreduce vg00 -a Code:
# lvdisplay Code:
# vgdisplay |
How many Physical volumes you have? It seems like all volumes in use! and what is the result of pvs command?
|
Code:
# pvs |
If the physical volume is still being used you will have to migrate the data to another physical volume using the pvmove command. Then use the vgreduce command to remove the physical volume:
This command will remove the physical volume /dev/hda1 or whatever from the volume group vg00. Quote:
|
All times are GMT -5. The time now is 02:28 PM. |