06-02-2008
23,
0
Join Date: Mar 2008
Last Activity: 16 June 2008, 6:13 AM EDT
Posts: 23
Thanks Given: 0
Thanked 0 Times in 0 Posts
For reducing a logical volume, you can use the following command.
# lvreduce -L 16 /dev/vg01/data
Replace 16 with the final size of the logical volume in MBs.
Replace /dev/vg01/data with the appropriate logical volume device file.
Caution: If the logical volume contains any file system, the file-system need to be reduced first. And before the file -system can be reduced, it should be defragmented.
Suggestion: Take backup of the logical volume data and then do lvreduce. After reducing lv, restore the data backup.