even with proper st.conf entry , i don't see any difference. it is same result.


$  mt -f /dev/rmt/0n rew
$ mt -f /dev/rmt/0n status
SONY SDX-1100 AIT5 8mm tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 0   block no= 0
$  amlabel -f tape1 tape1-0002
Reading label...
Found Amanda tape tape1-0002, tape is active
Writing label tape1-0002..
amlabel: Error closing device: Error writing final filemark: Permission denied.
$
$ mt -f /dev/rmt/0n status  <<<<<<<<<<<< says write protected
SONY SDX-1100 AIT5 8mm tape drive:
   sense key(0x7)= Write Protected   residual= 0   retries= 0
   file no= 1   block no= 0
$  mt -f /dev/rmt/0n status  <<<<<<< same tape returns good status for 
consecutive mt status
SONY SDX-1100 AIT5 8mm tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 1   block no= 0
$ amlabel -f tape1 tape1-0002
Reading label...
Found Amanda tape tape1-0002, tape is active
Writing label tape1-0002..
Checking label...
Success!
$
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to