Start a Conversation

Unsolved

This post is more than 5 years old

472

September 30th, 2009 09:00

how to obtain OS device ID from navicli

Hi

Long story but for one host have moved from Powerpath to MPxIO. Want to find a way to get the verrry long device ids (e.g. c5t60060160B2211B009C2EED1267A7DE11d0s0) from navicli output so I can quickly update the vfstab and remount the LUNs. It displays under the host tab of the navisphere GUI (LUN properties) but cant see it in navicli -h xxxx getlun xx

Thanks

4.5K Posts

September 30th, 2009 10:00

Have you tried the INQ utility? On PowerLink try the following:

Home > Support > Product and Diagnostic Tools > INQ Utility

this is a sample from a SUN Solaris 10 running the INQ

CLARiiON Devices DEVICE VEND PROD REV SER NUM CAP(kb) VLU CLUN State
/dev/rdsk/c1t5006016141E0764Ed0s2 DGC RAID 5 0326 230000FD 76546048
/dev/rdsk/c1t5006016141E0764Ed1s2 DGC RAID 5 0326 250000C3 18874368
/dev/rdsk/c1t5006016141E0764Ed2s2 DGC RAID 5 0326 1D00008C 23068672
/dev/rdsk/c1t5006016841E0764Ed0s2 DGC RAID 5 0326 230000FD 76546048
/dev/rdsk/c1t5006016841E0764Ed1s2 DGC RAID 5 0326 250000C3 18874368
/dev/rdsk/c1t5006016841E0764Ed2s2 DGC RAID 5 0326 1D00008C 23068672
/dev/rdsk/c4t60060160EE911D00AC2A74CE8850DE11d0s2 DGC RAID 5 0326 230000FD 76546048
/dev/rdsk/c4t6006016090401E003A10F98F0F56DE11d0s2 DGC RAID 5 0326 250000C3 18874368
/dev/rdsk/c4t6006016090401E008ED2CC9DF685DE11d0s2 DGC RAID 5 0326 1D00008C 23068672

glen

116 Posts

September 30th, 2009 11:00

Thanks Glen - I will give check that utility out.

i was being a bit hasty - have since figured out that the UID returned by the getlun is actually the device name just colon seperated. Could strip out the colons from the string with sed or awk but will also definitley look at the inquire - the only inquire command we have is the one from Networker.

Nick
No Events found!

Top