Difference between revisions of "Extending log volume"
From Tech-Wiki
Line 14: | Line 14: | ||
Increase the size of this logical volume using: (if the volume has already grown using all the space in the new disk, this is not required) | Increase the size of this logical volume using: (if the volume has already grown using all the space in the new disk, this is not required) | ||
− | # lvextend -L +100G /dev/ | + | # lvextend -L +100G /dev/vg_splat/lv_log |
In addition, it's required to increase the file system in this logical volume as well: | In addition, it's required to increase the file system in this logical volume as well: | ||
− | # resize2fs /dev/ | + | # resize2fs /dev/vg_splat/lv_log |
Check the new current size used again size using: | Check the new current size used again size using: | ||
# vgdisplay | # vgdisplay | ||
# lvdisplay | # lvdisplay |
Revision as of 17:16, 15 August 2017
METHOD # 1
GAIA (requires restart services):
show volume logs set volume logs size newsize
METHOD # 2 Get the current available size and logical volume name using:
# vgdisplay # lvdisplay
Increase the size of this logical volume using: (if the volume has already grown using all the space in the new disk, this is not required)
# lvextend -L +100G /dev/vg_splat/lv_log
In addition, it's required to increase the file system in this logical volume as well:
# resize2fs /dev/vg_splat/lv_log
Check the new current size used again size using:
# vgdisplay # lvdisplay