[OmniOS-discuss] SAS tape driver
Tom Robinson
tom.robinson at motec.com.au
Fri Oct 11 04:04:19 UTC 2013
Hi,
I've been banging on the IBMtape driver configuration but I can't get it to work. I found that I
actually won't need it as I can use a combination of st and sgen drivers. st does the tape and sgen
does the library robot via the mtx utility (installed from openCSW).
I hope this helps someone else sometime so here's my configuration:
I actually commented out the example entries in /kernel/drv/st.conf and /kernel/drv/sgen.conf so
these files are effectively empty. The SAS addressing is different to the examples and the drivers
seem to dynamically pick up the target addresses and LUNs anyway.
# add_drv st
# add_drv sgen
For each target address, the tape driver is on LUN 0 and the library on LUN 1. Check the
/etc/path_to_inst.
# grep -e '\<st\>' -e '\<sgen\>' /etc/path_to_inst
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0" 2 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/medium-changer at w5000e11156304003,1" 3 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/medium-changer at w5000e11156304003,1" 1 "sgen"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0" 4 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/medium-changer at w5000e11156304002,1" 3 "sgen"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0" 0 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/medium-changer at w5000e11156304002,1" 1 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/medium-changer at w5000e11156304002,1" 0 "sgen"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0" 5 "st"
"/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/medium-changer at w5000e11156304003,1" 2 "sgen"
The st driver wants to sit on the same address/LUN as sgen for the library. I tried removing it but
it kept re-appearing so I left in there.
# update_drv -av -i '"scsiclass,01"' st
# update_drv -av -i '"scsiclass,08"' sgen
(not sure about ownership or permissions?)
The devices are created!
# ls -l /dev/scsi/changer/
total 1
lrwxrwxrwx 1 root root 107 Oct 11 14:23 c1t5000E11156304003d1 ->
../../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/medium-changer at w5000e11156304003,1:changer
lrwxrwxrwx 1 root root 108 Oct 11 14:23 c2t5000E11156304002d1 ->
../../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/medium-changer at w5000e11156304002,1:changer
# ls -l /dev/rmt
total 24
lrwxrwxrwx 1 root root 87 Oct 11 14:22 0 ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0b ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:b
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0bn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:bn
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0c ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:c
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0cb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:cb
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0cbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:cbn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0cn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:cn
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0h ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:h
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0hb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:hb
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0hbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:hbn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0hn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:hn
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0l ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:l
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0lb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:lb
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0lbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:lbn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0ln ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:ln
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0m ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:m
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0mb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:mb
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0mbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:mbn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0mn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:mn
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0n ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:n
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0u ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:u
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0ub ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:ub
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0ubn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:ubn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0un ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304003,0:un
lrwxrwxrwx 1 root root 88 Oct 11 14:22 1 ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1b ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:b
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1bn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:bn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1c ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:c
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1cb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:cb
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1cbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:cbn
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1cn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:cn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1h ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:h
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1hb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:hb
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1hbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:hbn
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1hn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:hn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1l ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:l
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1lb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:lb
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1lbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:lbn
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1ln ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:ln
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1m ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:m
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1mb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:mb
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1mbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:mbn
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1mn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:mn
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1n ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:n
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1u ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:u
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1ub ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:ub
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1ubn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:ubn
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1un ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304002,0:un
Ok, still reading? Here's cfgadm output:
# cfgadm -av
...8<...
c1::rmt/0 connected configured unknown IBM ULT3580-TD5
unavailable tape n /devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f:scsi::rmt/0
c1::scsi/changer/c1t5000E1115 connected configured unknown IBM 3573-TL
unavailable med-changer n
/devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f:scsi::scsi/changer/c1t5000E11156304003d1
...8<...
Make sure you reboot -- -r to confirm the configuration.
Here's mt and mtx output:
# mt -f /dev/rmt/0 config
"IBM ULT3580-TD5", "IBM ULT3580-TD5 ", "CFGIBMULT3580TD5";
CFGIBMULT3580TD5 = 2,0x3B,0,0x1018619,4,0x46,0x46,0x58,0x58,3,60,1500,600,16920,780,780,16380;
# mt -f /dev/rmt/0 status
IBM ULT3580-TD5 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
# mtx -f /dev/scsi/changer/c1t5000E11156304003d1 inquiry
Product Type: Medium Changer
Vendor ID: 'IBM '
Product ID: '3573-TL '
Revision: 'B.90'
Attached Changer API: No
# mtx -f /dev/scsi/changer/c1t5000E11156304003d1 status
Storage Changer /dev/scsi/changer/c1t5000E11156304003d1:1 Drives, 24 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 050CHOL5
Storage Element 1:Empty
Storage Element 2:Full :VolumeTag=051CHOL5
Storage Element 3:Full :VolumeTag=052CHOL5
Storage Element 4:Full :VolumeTag=053CHOL5
Storage Element 5:Full :VolumeTag=054CHOL5
Storage Element 6:Empty
Storage Element 7:Empty
Storage Element 8:Empty
Storage Element 9:Empty
Storage Element 10:Empty
Storage Element 11:Empty
Storage Element 12:Empty
Storage Element 13:Empty
Storage Element 14:Empty
Storage Element 15:Empty
Storage Element 16:Empty
Storage Element 17:Empty
Storage Element 18:Empty
Storage Element 19:Empty
Storage Element 20:Empty
Storage Element 21:Empty
Storage Element 22:Empty
Storage Element 23:Empty
Storage Element 24 IMPORT/EXPORT:Empty
Regards,
Tom
On 08/10/13 17:12, Tom Robinson wrote:
> Hi Garret,
>
> Thanks for your help on this.
>
> At the moment I'm actually trying to get to grips with the device management by trying to restore
> the installed settings I had before I attempted the IBMtape driver installation. My thinking was
> that if I can restore those settings I will understand the whole set up a bit better.
>
> So I have re-established the 'st' driver by doing the following:
>
> # rem_drv st
> Driver (st) not installed.
>
> # add_drv st
> devfsadm: driver failed to attach: st
>
> # modinfo -cw | grep '\<st\>'
> 288 1 st LOADED/INSTALLED
>
> # update_drv -av -i '"scsiclass,01"' st
> exit status = 0
> devfsadm[957]: verbose: symlink /dev/rmt/0 ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:
> devfsadm[957]: verbose: symlink /dev/rmt/0n ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:n
> devfsadm[957]: verbose: symlink /dev/rmt/0b ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:b
> devfsadm[957]: verbose: symlink /dev/rmt/0bn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:bn
> devfsadm[957]: verbose: symlink /dev/rmt/0l ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:l
> devfsadm[957]: verbose: symlink /dev/rmt/0m ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:m
> devfsadm[957]: verbose: symlink /dev/rmt/0h ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:h
> devfsadm[957]: verbose: symlink /dev/rmt/0c ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:c
> devfsadm[957]: verbose: symlink /dev/rmt/0u ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:u
> devfsadm[957]: verbose: symlink /dev/rmt/0ln ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ln
> devfsadm[957]: verbose: symlink /dev/rmt/0mn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mn
> devfsadm[957]: verbose: symlink /dev/rmt/0hn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hn
> devfsadm[957]: verbose: symlink /dev/rmt/0cn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cn
> devfsadm[957]: verbose: symlink /dev/rmt/0un ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:un
> devfsadm[957]: verbose: symlink /dev/rmt/0lb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:lb
> devfsadm[957]: verbose: symlink /dev/rmt/0mb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mb
> devfsadm[957]: verbose: symlink /dev/rmt/0hb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hb
> devfsadm[957]: verbose: symlink /dev/rmt/0cb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cb
> devfsadm[957]: verbose: symlink /dev/rmt/0ub ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ub
> devfsadm[957]: verbose: symlink /dev/rmt/0lbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:lbn
> devfsadm[957]: verbose: symlink /dev/rmt/0mbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mbn
> devfsadm[957]: verbose: symlink /dev/rmt/0hbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hbn
> devfsadm[957]: verbose: symlink /dev/rmt/0cbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cbn
> devfsadm[957]: verbose: symlink /dev/rmt/0ubn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ubn
> devfsadm[957]: verbose: symlink /dev/rmt/1 ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:
> devfsadm[957]: verbose: symlink /dev/rmt/1n ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:n
> devfsadm[957]: verbose: symlink /dev/rmt/1b ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:b
> devfsadm[957]: verbose: symlink /dev/rmt/1bn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:bn
> devfsadm[957]: verbose: symlink /dev/rmt/1l ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:l
> devfsadm[957]: verbose: symlink /dev/rmt/1m ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:m
> devfsadm[957]: verbose: symlink /dev/rmt/1h ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:h
> devfsadm[957]: verbose: symlink /dev/rmt/1c ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:c
> devfsadm[957]: verbose: symlink /dev/rmt/1u ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:u
> devfsadm[957]: verbose: symlink /dev/rmt/1ln ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ln
> devfsadm[957]: verbose: symlink /dev/rmt/1mn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mn
> devfsadm[957]: verbose: symlink /dev/rmt/1hn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hn
> devfsadm[957]: verbose: symlink /dev/rmt/1cn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cn
> devfsadm[957]: verbose: symlink /dev/rmt/1un ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:un
> devfsadm[957]: verbose: symlink /dev/rmt/1lb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:lb
> devfsadm[957]: verbose: symlink /dev/rmt/1mb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mb
> devfsadm[957]: verbose: symlink /dev/rmt/1hb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hb
> devfsadm[957]: verbose: symlink /dev/rmt/1cb ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cb
> devfsadm[957]: verbose: symlink /dev/rmt/1ub ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ub
> devfsadm[957]: verbose: symlink /dev/rmt/1lbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:lbn
> devfsadm[957]: verbose: symlink /dev/rmt/1mbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mbn
> devfsadm[957]: verbose: symlink /dev/rmt/1hbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hbn
> devfsadm[957]: verbose: symlink /dev/rmt/1cbn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cbn
> devfsadm[957]: verbose: symlink /dev/rmt/1ubn ->
> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ubn
>
> Now I need to try again with the IBMtape driver.
>
> Regards,
> Tom
>
>
> On 08/10/13 02:05, Garrett D'Amore wrote:
>> Need to see the IBM changes to /etc/driver_aliases. My guess is that this is the source of the problem. If you know the name of the kernel driver for the IBM tape module, you could rem_drv it. A reboot may be required for the change to take effect.
>>
>> - Garrett
>>
>> On Oct 6, 2013, at 9:37 PM, Tom Robinson <tom.robinson at motec.com.au> wrote:
>>
>>> Hi,
>>>
>>> I'm running OmniOS r151006 on a SuperMicro X9 motherboard.
>>>
>>> I'm trying to configure an IBM TS3100 tape library with not much luck.
>>>
>>> I used to see the tape through the 'st' driver (at least I think it was the st driver). But after
>>> following the IBM documentation and installing the IBMtape driver a I can no longer see the tape.
>>>
>>> I'm also having issues with the 'reboot -- -r' command hanging on 'rebooting...' message and am
>>> wondering if that is compounding the issue (see separate thread).
>>>
>>> After no luck with the IBMtape driver, I am now trying to revert to the st driver and not having any
>>> luck with that either.
>>>
>>> The device links under /dev/rmt had to be removed as part of the IBMtape setup but they were similar
>>> to the following listing:
>>> lrwxrwxrwx 1 root root 88 Sep 20 03:18 0 ->
>>> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:
>>>
>>> I now have nothing listed under /dev/rmt and the st module appears not to load:
>>> # modinfo -cw | grep '\<st\>'
>>> 287 11 st UNLOADED/UNINSTALLED
>>>
>>> # modload -p drv/st
>>> can't load module: No such device or address
>>>
>>> # modload -p drv/amd64/st
>>> can't load module: No such device or address
>>>
>>> (not sure which of the above is the correct driver actually)
>>>
>>> Any help is much appreciated.
>>>
>>> Kind regards,
>>> Tom
>>>
>>> More info:
>>> # uname -m
>>> i86pc
>>>
>>> /kernel/drv/st.conf
>>> name="st" class="scsi" target=0 lun=0;
>>> name="st" class="scsi" target=1 lun=0;
>>> name="st" class="scsi" target=2 lun=0;
>>> name="st" class="scsi" target=3 lun=0;
>>> name="st" class="scsi" target=4 lun=0;
>>> name="st" class="scsi" target=5 lun=0;
>>> name="st" class="scsi" target=6 lun=0;
>>>
>>> /etc/driver_aliases
>>> ...
>>> st "scsiclass,01"
>>> ...
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Tom Robinson
>>> IT Manager/System Administrator
>>>
>>> MoTeC Pty Ltd
>>>
>>> 121 Merrindale Drive
>>> Croydon South
>>> 3136 Victoria
>>> Australia
>>>
>>> T: +61 3 9761 5050
>>> F: +61 3 9761 5051
>>> E: tom.robinson at motec.com.au
>>>
>>>
>>> _______________________________________________
>>> OmniOS-discuss mailing list
>>> OmniOS-discuss at lists.omniti.com
>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20131011/0345c1ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://omniosce.org/ml-archive/attachments/20131011/0345c1ec/attachment-0001.bin>
More information about the OmniOS-discuss
mailing list