Extending log volume

From Tech-Wiki
Revision as of 19:21, 17 February 2019 by Fabricio.Lima (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Gaia

METHOD # 1

Using GAIA (will restart services):

# lvm_manager

METHOD # 2

Using GAIA (will restart services):

> show volume logs
> set volume logs size newsize

METHOD # 3

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