I have some SAS devices in a server, I would like to find out what their SAS addresses are. How can I do that in Linux? I'm using CentOS 6.

link|improve this question

52% accept rate
feedback

1 Answer

up vote 4 down vote accepted

They should be available in /dev/disk/by-id, on your machine it should look something like this:

[root@ae1 ~]# ls -l /dev/disk/by-id/

total 0

lrwxrwxrwx 1 root root  9 Feb 11  2011 scsi-3600050e0d1806400285a0000c0590000 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 11  2011 scsi-3600050e0d1806400285a0000c0590000-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 11  2011 scsi-3600050e0d1806400285a0000c0590000-part2 -> ../../sda2
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.