Sunday, May 1, 2022

Troubleshoot SAS disk drive name using rmdev and cfgmgr on AIX VIO Server

 Today I am going to share my experience for how to change hot  swappable SAS disk drive name change.

Details of scenario:

On one of the VIO server ,had disk drive failure and in AIX errpt its showing as permanent hardware error. so as per IBM suggestion this was faulty disk drive need to be replaced. from VIO end we performed DIAG procedure for replacement of faulty disk drive.

But when new disk was detected it came up with new disk name and that unexpected, because SAS disk have name as "hdisk0" before replacement. so when IBM CE replaced disk it must come up with hdisk0.

#diag      //Diag procedure for SAS disk replacement

-->Select Hot Plug Task.

-->Certify media task

-->Select RAID Hot Plug Devices.

--->Select SAS disk drive location and press enter to "set faulty SAS disk LED in identify mode"

and ASK IBM CE to confirm


--->once IBM CE confirmed press enter and came to previous screen


---->Choose remove and replace and select faulty SAS disk and make disk ready for replacement


---->Once SAS disk is ready for Replacement, ask IBM CE to replace and confirm.

----> Once disk is replaced detect new disk by selecting following menu


"Configure newly detected Device"


How to check SAS disk after replacement:

======================================


#lspv |grep -w "hdisk0"

#lsdev -Cc disk |grep -w "hdisk0"

#bootinfo -s hdisk0

#lscfg -vpl hdisk0


Make sure that new serial number is on newly replaced hdisk0


Troubleshooting we did to solve this issue:

SAS disk name which was faulty: hdisk0  

New disk name after Hot swap replacement using diag: hdisk400

Soution: when we checked where exactly hdisk0 disappeared, we found that hdisk0 is in defined state.

Ran following command:

#rmdev -dl hdisk0

#rmdev -dl hdisk400   // before deleting we make sure that location is correct and its SAS disk

#cfgmgr 


After running above procedure we able to see "hdisk0" in available state on VIO server.


Thanks !!!! :)





No comments:

Post a Comment