Unix Extending LV_Vol and file system Unix Linux HP-UX AIX VXFS

** Myself
Extending LV will not make the space available for file system. You must update the file system.

AIX

Extending existing LV with FS
chfs -a size=2000m /mount_point

# extend lv and file system online 
Extending existing LV
Extending File system
chlv -x LPs testvol
chfs -a size=2000m /mount_point

Veritas Storage foundation

Extending existing Vol
Extending File system
vxassist -g oradg growto testvol 2G

fsadm -F vxfs -b 2000m /mount_point

HP-UX

Extending existing LV
Extending File system
lvextend -L 2000 /dev/datavg/testvol
#or
lvextend -L 2000 /dev/datavg/testvol /dev/dsk/c0t13d0
#or specify disk

lvextend -L 2000 /dev/datavg/testvol dev/disk/disk15
#For HP-UX 11.3
fsadm -F vxfs -b 2000m /mount_point
#for online extend file system with online jfs license (veritas file system)

#or

umount /dev/datavg/testvol
extendfs -F hfs /dev/datavg/rtestvol
mount /dev/datavg/testvol
#for offline


Linux

Extending existing LV with FS  Ext2/3 (LVM)
e2fsadm -L 2G /mount_point
# extend lv and file system online 
Extending existing LV (LVM)
Extending File system
lvextend -L 2G /dev/datavg/testvol
ext2online /dev/datavg/testvol
#for online extend file system

#or 


umount /dev/datavg/testvol
resize_reiserfs  /dev/datavg/rtestvol
mount /dev/datavg/testvol
#for offline

Extending existing file system  (RHEL 4.X) ext2/3
Extending File system
lvextend -L 2G /dev/datavg/testvol
ext2online -f /dev/datavg/testvol
#for online


Extending existing file system  (RHEL 5.X/SUSE 10,11) ext3/4
Extending File system
lvextend -L 2G /dev/datavg/testvol
resize2fs -f /dev/datavg/testvol
#for online

0 comments:

Loading