Linux

lvextend -L +2G /dev/basevg/var_lib_mysql

Add 2GB to the logical volume var_lib_mysql in basevg

resize2fs /dev/basevg/var_lib_mysql

Resize the filesystem /dev/basevg/var_lib_mysql

Other useful commands:

vgs

list volume groups

lvs

list logical volumes

Just recording this so I can find it again!

` nandu:~ # lvextend -L +2G /dev/basevg/opt

  Extending logical volume opt to 5.00 GB  

  Logical volume opt successfully resized  



**nandu:~ #** resize_reiserfs _/dev/basevg/opt_  



resize_reiserfs 3.6.19 (2003 www.namesys.com)  

resize_reiserfs: On-line resizing finished successfully.  



**nandu:~ #**  

`