Problem
On Solaris 10 x86 with two SAS attached drives, the OS (Operating System) seems to be able to talk to the drives, per command: "mt -f /dev/rmt/0cbn status". However, after running rebuild and installing sg driver, the sgscan still does not see the drives.
Cause
With the 6GB SAS driver the st driver (OS driver) could not be created. The OS could not even create the st driver for it. If you look at the device file it created, the file shows "tape@" instead of "st@".
root@server # ls -lrt /dev/rmt/*cbn
lrwxrwxrwx 1 root sys 89 Aug 18 16:44 /dev/rmt/0cbn ->
../../devices/pci@0,0/pci8086,340e@7/pci1028,1f1c@0/iport@80/tape@w5000e11138adb002,0:cbn
lrwxrwxrwx 1 root sys 89 Aug 18 16:44 /dev/rmt/1cbn ->
../../devices/pci@0,0/pci8086,3410@9/pci1028,1f1c@0/iport@80/tape@w5000e11138adb005,0:cbn
The cause may be that the installed HBA card is not supported by the mpt_sas driver.
Solution
Installed a 3GB SAS HBA card and now the OS was able to create the correct st device links:
root@server # ls -lrt /dev/rmt/*cbn
lrwxrwxrwx 1 root root 76 Aug 19 09:04 /dev/rmt/2cbn ->
../../devices/pci@0,0/pci8086,340e@7/pci8086,32c@0/pci1028,1f04@8/st@1,0:cbn
lrwxrwxrwx 1 root root 76 Aug 19 09:04 /dev/rmt/3cbn ->
../../devices/pci@0,0/pci8086,3410@9/pci8086,32c@0/pci1028,1f04@8/st@1,0:cbn
Now the customer is able to build and install sg driver and use the drives.
Third-party Reference
- What's New in the Solaris 10 10/09 Release - https://docs.oracle.com/cd/E19253-01/821-0382/821-0382.pdf
The SUN/Oracle document above indicates...
- That the card might not be supported by mpt_sas driver.
- A workaround by disabling I/O multipathing.
- That support for 6Gb SAS HBAs with tape drive targets is supported starting with Solaris 11.1 SRU 11.4. They may also backport this functionality to Solaris 10.
Please refer to Oracle for currently supported versions of Solaris. This is supported as of NetBackup versions 7.5.0.6 and 7.6.
Applies To
Solaris 10 x86 master server with two LTO4 SAS tape drives
Connected to 6GB SAS HBA card