Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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