Difference between revisions of "Extending log volume"

From Tech-Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Check Point]]
 
[[Category:Check Point]]
 
'''[[Check Point#Gaia|Back to Gaia]]'''
 
'''[[Check Point#Gaia|Back to Gaia]]'''
 
  
 
'''METHOD # 1'''
 
'''METHOD # 1'''
GAIA (requires restart services):
+
 
  show volume logs
+
Using GAIA (will restart services):
set volume logs size newsize
+
  # lvm_manager
  
 
'''METHOD # 2'''
 
'''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:  
 
Get the current available size and logical volume name using:  
 
  # vgdisplay
 
  # vgdisplay
Line 14: Line 20:
  
 
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/vg_root/vol1
+
  # 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/vg_root/vol1
+
  # 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

Latest revision as of 20:21, 17 February 2019

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