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 currently have a server running Solaris 10u9 with a SAS enclosure (Dell PowerVault MD1000) filled with SATA disks attached to an SAS card (LSI 3801E). It happily recognizes the 15 disks in the MD1000 and presents them each disk in the traditional solaris form (c1t12d0, c1t13d0, c1t15d0, etc). My home ZFS setup (Nexenta CP3 + LSI 9200-16E + directly cabled SATA disks) presents disks as their SAS WWN ID (ex: c3t600039300001EA56d0). Although this ID is longer, I've found it much easier to troubleshoot because the cabling/slot is irrelevant, ZFS just identifies the disk by ID, if it's connected it finds it. Most manufacturers print the WWN right on the disk's top label, can't get much easier than that.

So how can I get Solaris to identify disks by SAS WWN instead of by the cXtXdX?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

It used to be that you had to enable mpxio to get that type of notation. You may want to try enabling it and seeing what happens.

http://nilesh-joshi.blogspot.com/2009/08/sun-solaris-mpxio.html

share|improve this answer
    
You got it. pfexec stmsboot -e is all it took. –  notpeter Feb 25 '11 at 17:35

This would be a controller-specific thing. The newer LSI controllers use the WWN format for disk identification. You don't have any options to do this on other controllers.

share|improve this answer
    
I thought this might be the case. Any one know if the older controller can be coaxed into using the WWN for disk identification? –  notpeter Feb 8 '11 at 22:19
    
You probably won't be able to. Try cfgadm -vla though. That may show a little more info about the drives. –  ewwhite Feb 8 '11 at 22:34

I don't think you can. Only SAS and Fibre Channel devices have WWNs. These are assigned to a device by the manufacturer. As you have SATA drives in your enclosure there are no WWNs available for Solaris to read.

share|improve this answer
1  
Not true, my Western Digital RE2 (160GB, 1TB), RE4 (2TB) and Hitachi UltraStar (1TB) all of which are SATA have WWN printed on the label. –  notpeter Feb 8 '11 at 22:19
    
@notpeter: But do they have the same in firmware to be read by the controller ? –  Iain Feb 8 '11 at 22:20
1  
@notpeter: I think it's slightly more comlicated than that - have a look at section 3.1 of this document which will clarify the situation. The WWN is generated by the STP/SATA bridge ... –  Iain Feb 8 '11 at 22:39

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.