Wednesday, August 6, 2014

SCRIPT TO GET ALL WWPN INFORMATION IN RHEL

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html
 


 
for x in $(ls /sys/class/fc_host)
 do
 echo $x
 cat /sys/class/fc_host/$x/port_name
done

host5
0x100000053326b994
host6
0x100000053326b995
 

EXTENDING A VOLUME IN NETAPP , CREATING AND MAPPING A LUN IN EXISTING VOLUME NETAPP

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html




NETAPP> vol size testdbvol +10g

vol size: Flexible volume 'testdbvol' size set to 262144012k.

NETAPP>  lun create -s 201g -t linux /vol/testdbvol/testtsm1

lun create: No space left on device
lun create: max size: 199g (214312157184)
NETAPP> vol size testdbvol +2g
vol size: Flexible volume 'testdbvol' size set to 264241164k.
NETAPP>  lun create -s 201g -t linux /vol/testdbvol/testtsm1
NETAPP> lun map /vol/testdbvol/testtsm1 testtsmgrp