In linux how we can find the wwid(lun) of the disk.

I need to find the wwid (lun) to which my disk is attached.
apunkabollywoodAsked:
Who is Participating?
 
arichakraCommented:
To get the WWID of say, /dev/sdc, run this command:  
 # scsi_id -g -u -s /block/sdc

More information @ http://kbase.redhat.com/faq/docs/DOC-19446
http://kbase.redhat.com/faq/docs/DOC-7319
0
 
cjl7freelance for hireCommented:
multipath -ll

(you should probably run multipath if you aren't already)


0
 
apunkabollywoodAuthor Commented:
@arichakra: hi dear ,

it will generate the new id ...or it will just ...grep the wwid.
I meant to say ...i am on the production server ....i dont want to run a command which harm the server.


@cjl7:

hi dear ,
is it ok to run this command on production server.will it be help full.

thanks...all
0
 
cjl7freelance for hireCommented:
Sure, no problem.

You might not be running multipath or maybe you are running the version from the SAN supplier. But you can still run 'multhipath -ll' anyways...



0
 
apunkabollywoodAuthor Commented:
thanx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.