Password:
netapp01> Wed Mar  1 00:08:51 IST [console_login_mgr:info]: root logged in from console

//*This will create an aggregate of 8 GB comprising of 8 disks each of 1 GB.
It will take some while (around 15 mins) to initialize the disks.*// 
netapp01> aggr create aggr1 -t raid4 8
Creation of an aggregate with 8 disks has been initiated.  The disks need
to be zeroed before addition to the aggregate. The process has been initiated
and you will be notified via the system log as disks are added.

//*Below you can view aggregate is getting initialized.
You can take a coffee break here !!!*//
netapp01> aggr status aggr1
           Aggr State      Status            Options
          aggr1 creating   raid4, aggr       snapshot_autodelete=off,
                           initializing      lost_write_protect=off
                Volumes: <none>

                Plex /aggr1/plex0: offline, empty, active

//*Once the aggregate is initialized following would be the status.*//
netapp01> aggr status aggr1
           Aggr State      Status            Options
          aggr1 online     raid4, aggr
                Volumes: <none>

                Plex /aggr1/plex0: online, normal, active
                    RAID group /aggr1/plex0/rg0: normal

//*You can disable snaps creatation to maximize the performance.*// 
netapp01> aggr options aggr1 nosnap on
netapp01> aggr status aggr1
           Aggr State      Status            Options
          aggr1 online     raid4, aggr       nosnap=on

                Volumes: <none>

                Plex /aggr1/plex0: online, normal, active
                    RAID group /aggr1/plex0/rg0: normal


//*Now we create the volume(vol1) of 2GB. This can dynamically extended as per your requirements. 
2GB would be sufficient for creating the seed database.*//
netapp01> vol create vol1 aggr1 2g
Creation of volume 'vol1' with size 2g on containing aggregate
'aggr1' has completed.

//*Status of the volume can be checked with following command.*//
netapp01> vol status vol1
         Volume State      Status            Options
           vol1 online     raid4, flex       create_ucode=on,
                                             convert_ucode=on
                Containing aggregate: 'aggr1'

//*To check the exported volume from the NetApp Filer*//
netapp01> exportfs
/vol/vol0/home  -sec=sys,rw,root=152.69.210.104
/vol/vol0       -sec=sys,ro,rw=152.69.210.104,root=152.69.210.104,nosuid
/vol/vol1       -sec=sys,rw,root=152.69.210.104,nosuid

//*We first unexport the volume (/vol/vol1)*//
netapp01> exportfs -u /vol/vol1
/vol/vol0/home  -sec=sys,rw,root=152.69.210.104
/vol/vol0       -sec=sys,ro,rw=152.69.210.104,root=152.69.210.104,nosuid
/vol/vol1       -sec=sys,rw,root=152.69.210.104,nosuid

//*We first unexport the volume (/vol/vol1)*//
netapp01> exportfs -u /vol/vol1

//*Then rexported with following options*//
netapp01> exportfs -p rw,anon=0 /vol/vol1

//*To verify the options*//
netapp01> exportfs
/vol/vol0/home  -sec=sys,rw,root=152.69.210.104
/vol/vol0       -sec=sys,ro,rw=152.69.210.104,root=152.69.210.104,nosuid
/vol/vol1       -sec=sys,rw,anon=0


//*You are now ready to mount these exported volumes on the Node 1 and Node 2.
The following steps need to be executed on both the nodes.*//

//*Edit the /etc/fstab and append the following entry in it. (Make sure there are no line breaks.)*//

netapp01:/vol/vol1  /opt/oracle/oradata/disk1 nfs  rw,bg,hard,nointr,tcp,actimeo=0,vers=3,timeo=600,rsize=32768,wsize=32768

//*To mount the volumes issue the following command.*//
[root@calvin ~]# mount /opt/oracle/oradata/disk1

//*To crosscheck. We see the /vol/vol1 is mounted on /opt/oracle/oradata/disk1*//
[root@calvin ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)

none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
netapp01:/vol/vol1 on /opt/oracle/oradata/disk1 type nfs (rw,bg,hard,nointr,tcp,actimeo=0,nfsvers=3,timeo=600,rsize=32768,wsize=32768,addr=152.69.210.107)

[root@calvin ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      37285432  17510284  17881160  50% /
/dev/hda1               102454      9083     88081  10% /boot
none                    257488         0    257488   0% /dev/shm