Hi there,

I was hoping to provide a couple of (very old) tape drives 
to my Xen VM clients, by making the drives visible as iSCSI targets.

Unfortunately:

bash-3.2# iscsitadm create target --type raw --backing-store /dev/rmt/0 rmt0
iscsitadm: Error Backing store is not valid raw device

bash-3.2# mt -f /dev/rmt/0 status
Exabyte EXB-8500 8mm Helical Scan tape drive:
   sense key(0x5)= Illegal Request   residual= 0   retries= 0
   file no= 0   block no= 0
bash-3.2# uname -a
SunOS ultra10b 5.11 snv_79a sun4u sparc SUNW,Ultra-5_10
bash-3.2# 

Sending a 'rewind' clears that Illegal Request status [again], btw:
bash-3.2# mt -f /dev/rmt/0 rewind
bash-3.2# mt -f /dev/rmt/0 status
Exabyte EXB-8500 8mm Helical Scan tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 0   block no= 0
bash-3.2# 

iscsitadm create target --type raw --size 2G --backing-store /dev/rmt/0 rmt0
gives just the same error, so the problem isn't just from guessing
the tape "size".

Xen's running on Ubuntu 7.10 (patched with the latest open-iscsi,
to fix Ubuntu's iscsi login kernel panic..) and linux can fdisk, etc.,
iscsi disk targets from the Solaris box;  so iscsi's happy both ends.

The tape drives work fine locally (tar cvf, tvf, etc.) from Solaris.

I'm guessing the "change the daemon" comment in this next
post still applies; anyone confirm, please ?
http://osdir.com/ml/os.solaris.opensolaris.storage.general/2006-12/msg00056.html

Finally, if I can't make targets of the tapedrives using Solaris, 
any other OS pointers / great ideas, to present tapedrives under Xen ?
I think IET on Linux allowed this, but I'd have to go back a couple
OS revs to get it to compile, so I'm not hugely keen...

Thanks for reading,
Tony
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to