Wednesday, August 8, 2018

AIX: How to determine / identify volume serial for Infinibox (Infinidat) w/o HPT

How to list / identify serial number of volume from Infinibox (Infinidat) without Host Power Tools?

This command can be used to determine / list serial number of disk located on Infinibox in AIX:

for i in `lsdev -Cc disk | grep INFINIDAT | awk '{ print $1}'`
do
echo $i "\c"

lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 5-34
done 







Enjoy IT!

Tuesday, January 23, 2018

TSM: ANS0338E An invalid operation was attempted on a node on target server with replication

Error message "ANS0338E An invalid operation was attempted on a node" can be related to state of node on TSM server - node can be replicated to target server and has to be removed from replication by command "remove replnode nodename".

Thursday, January 11, 2018

IBM PowerVM: lsmap for NPIV readeable output

lsmap -all -npiv is not readeable so I found nice command:

lsmap -all -npiv -field  "VFC client name" "FC name" Status Name ClntName  -fmt :
vfchost0: : :fcs0:NOT_LOGGED_IN
vfchost1: : :fcs0:NOT_LOGGED_IN
vfchost2: : :fcs0:NOT_LOGGED_IN
vfchost3: : :fcs0:NOT_LOGGED_IN