Satya,
Your drive is unconfigured. It is likely (guessing) that your drive is
protecting that data on tape because it doesn't like
the density code st is mode selecting.
If you have the manual that came with your drive, Sony includes
instructions on adding an st.conf string.
Randy
satya wrote:
> http://bugs.opensolaris.org/view_bug.do;jsessionid=7e14cb6e187a0ffffffffb15a225f3e344da?bug_id=1232383
>
> Tape drive incorrectly reports that it is write-protected
> bug 1232383
>
>
> Is this bug integrated in S10? we do see similar bug with S10 on sparc
> systems? My application (amanda) works fine with tape drive, but on some
> occasions closing the tape device fails, but consecutive open, reads/writes
> work fine.
>
> $ amlabel -f tape1 tape1-000
> Reading label...
> Found Amanda tape tape1-000, tape is active
> Writing label tape1-000..
> Checking label...
> Success!
> $ mt -f /dev/rmt/0n rew
> $ mt -f /dev/rmt/0n status
> Unconfigured Drive: Vendor 'SONY ' Product 'SDX-1100 ' tape drive:
> sense key(0x7)= Write Protected residual= 0 retries= 0
> file no= 1 block no= 0
> $ amlabel -f tape1 tape1-000
> Reading label...
> Found Amanda tape tape1-000, tape is active
> Writing label tape1-000..
> Checking label...
> Success!
>
> $ mt -f /dev/rmt/0n status
> Unconfigured Drive: Vendor 'SONY ' Product 'SDX-1100 ' tape drive:
> sense key(0x0)= No Additional Sense residual= 0 retries= 0
> file no= 1 block no= 0
> $
>
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss