About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Monday 17 March 2014

VCS: Cluster Filesystem Extension

[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 ~]#


No comments:

Post a Comment