[root@node1 ~]# df -Th /oracle
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 500M 3.3M 466M 1% /oracle
[root@node1 ~]#
1) First we need to find if the /oracle is a clustered filesystem or not.
[root@node1 ~]# hares -display oracle_mnt -attribute MountPoint
#Resource Attribute System Value
oracle_mnt MountPoint global /oracle
[root@node1 ~]# hares -display -attribute MountPoint
#Resource Attribute System Value
oracle_mnt MountPoint global /oracle
[root@node1 ~]#
So, /oracle belongs to the resource oracle_mnt.
2) Next we need to find the volume of the file system "/oracle", can also get it from df command.
[root@node1 ~]# hares -display oracle_mnt -attribute BlockDevice MountPoint
#Resource Attribute System Value
oracle_mnt BlockDevice global /dev/vx/dsk/oracle/oracle_vol
oracle_mnt MountPoint global /oracle
[root@node1 ~]#
3) Increased the volume by 100M.
[root@node1 ~]# vxassist -g oracle growby oracle_vol 100M
[root@node1 ~]# vxprint -g oracle
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg oracle oracle - - - - - -
dm disk_8 disk_8 - 2027264 - - - -
v oracle_vol fsgen ENABLED 1228800 - ACTIVE - -
pl oracle_vol-01 oracle_vol ENABLED 1228800 - ACTIVE - -
sd disk_8-01 oracle_vol-01 ENABLED 1228800 0 - - -
[root@node1 ~]#
The size of the volume is 1228800.
[root@node1 ~]# /opt/VRTS/bin/fsadm -t vxfs -b 1228800 /oracle
UX:vxfs fsadm: INFO: V-3-25942: /dev/vx/rdsk/oracle/oracle_vol size increased from 1024000 sectors to 1228800 sectors
[root@node1 ~]# df -Th /oracle
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 600M 3.3M 560M 1% /oracle
[root@node1 ~]#
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 500M 3.3M 466M 1% /oracle
[root@node1 ~]#
1) First we need to find if the /oracle is a clustered filesystem or not.
[root@node1 ~]# hares -display oracle_mnt -attribute MountPoint
#Resource Attribute System Value
oracle_mnt MountPoint global /oracle
[root@node1 ~]# hares -display -attribute MountPoint
#Resource Attribute System Value
oracle_mnt MountPoint global /oracle
[root@node1 ~]#
So, /oracle belongs to the resource oracle_mnt.
2) Next we need to find the volume of the file system "/oracle", can also get it from df command.
[root@node1 ~]# hares -display oracle_mnt -attribute BlockDevice MountPoint
#Resource Attribute System Value
oracle_mnt BlockDevice global /dev/vx/dsk/oracle/oracle_vol
oracle_mnt MountPoint global /oracle
[root@node1 ~]#
3) Increased the volume by 100M.
[root@node1 ~]# vxassist -g oracle growby oracle_vol 100M
[root@node1 ~]# vxprint -g oracle
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg oracle oracle - - - - - -
dm disk_8 disk_8 - 2027264 - - - -
v oracle_vol fsgen ENABLED 1228800 - ACTIVE - -
pl oracle_vol-01 oracle_vol ENABLED 1228800 - ACTIVE - -
sd disk_8-01 oracle_vol-01 ENABLED 1228800 0 - - -
[root@node1 ~]#
The size of the volume is 1228800.
[root@node1 ~]# /opt/VRTS/bin/fsadm -t vxfs -b 1228800 /oracle
UX:vxfs fsadm: INFO: V-3-25942: /dev/vx/rdsk/oracle/oracle_vol size increased from 1024000 sectors to 1228800 sectors
[root@node1 ~]# df -Th /oracle
Filesystem Type Size Used Avail Use% Mounted on
/dev/vx/dsk/oracle/oracle_vol
vxfs 600M 3.3M 560M 1% /oracle
[root@node1 ~]#