- Verify that there is enough space in the volume group
- Check the volume group for enough space
- vgdisplay <VG Name>
- Check the logical volume to determine if mirroring or striping is in effect
- lvdisplay /dev/vg_name/lv_name
- lvdisplay /dev/vg_name/lv_name
- If there is not enough space then the volume group must be extended - see procedure below.
- Check the volume group for enough space
- First lvextend the logical volume - 2 Options for lvextend:
- lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
- lvextend -l <NEW Size in # of LEs> /dev/VG_NAME/LV_NAME
- lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME
- fsadm -F vxfs -b <new size of filesystem in K> <MOUNT POINT>
- NOTE: extendfs will NOT work with Online JFS, you must use fsadm
- NOTE: new size of the filesystem = <# of LEs> * <LE Size in MB> * 1024
- NOTE: If lvextend -L was used simply multipy size in MB by 1024
- NOTE: If this FAILS with errno 28, then the filesystem is 100% full and must be reduced to less than 100%.
- NOTE: If this FAILS with "write failure at block XXXXXXXX : No such device or address" then the new size may be too big, use a smaller number
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
1 comments:
Write commentscould be better
ReplyWhat do you think about this Article? Add your Opinion..! EmoticonEmoticon