SUMMARY: tape/scsi error - <device>: write protected or reserved.

From: Tony van Lingen <tony.vanlingen_at_epa.qld.gov.au>
Date: Wed Feb 18 2004 - 20:26:21 EST
G'day All.

Thanks go to Darren Dunham, Eric Falen and Mark A. Bialik for their 
suggestions.

Eric suggested that the error occurs when one tries to use a DDS3 tape 
in a DDS4 drive, but no such mismatch occurred here. Darren gave a way 
to distinguish between the tape being write-protected (it wasn't) and 
the drive being reserved:
    write protected: 'mt erase' gives the error while 'mt status' does not
    drive reserved: both 'mt erase' and 'mt status' give the error

Mark suggested to start out fresh, which I must admit I did not have a 
lot of confidence in, since the drive had been replaced and worked fine 
for a number of days before the problem started. But it worked. The 
procedure:
    - touch /reconfigure
    - stop the machine
    - switch off the drive and disconnect it from the box (was easily 
done as the drive is external)
    - start the machine and boot
    - after reboot remove the tape device links that are no longer in 
use (verbose shows changes being made):
       # devfsadm -C -c tape -v
    - touch /reconfigure
    - stop the machine
    - switch on the drive and reconnect
    - start the machine and boot
    - check that tape device has been picked up (/dev/rmt has the links 
removed previously once again)

If the tape device links don't show up after the last reboot, the scsi 
port may not work (cable etc.).

Don't ask me why, but the error disappeared after executing this 
procedure. Maybe anyone can explain it? On the face of it, no real 
change in the configuration took place... we started out with a set of 
devices configured on the st driver, removed them and then added them 
again. The symbolic names in /devices were the same before and after.

Cheers,

-- 
Tony van Lingen
Technical Consultant





___________________________
Disclaimer

This e-mail, including attachments if any, has originated from a Queensland government agency and may contain information that is confidential, or covered by legal professional privilege, and is intended for the named recipient(s) only.  If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer system network.

Any form of disclosure, modification, distribution and/or publication of this e-mail, including attachments is prohibited.  Unless otherwise stated, this e-mail, including attachments represents the views of the sender and not the views of the Environmental Protection Agency.

Although this e-mail has been checked for the presence of computer viruses, the Environmental Protection Agency provides no warranty that all possible viruses have been detected and cleaned.  Any use of this e-mail could harm your computer system.
___________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 18 20:26:04 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:29 EST