Subject: st0 and "Medium May Have Changed"
To: None <netbsd-help@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 07/23/2003 06:41:52
hi!

I have 1.6.1_STABLE on my server where the backups are done with this script:


/bin/mt status
/bin/mt rewind
/sbin/dump -0a -f /dev/nrst0 /home
/sbin/dump -0a -f /dev/nrst0 /mail
/bin/mt rewind


Every time I change the tape I see this during the backup process:


st0(ahc1:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     SENSE KEY:  Unit Attention
      ASC/ASCQ:  Not Ready To Ready Transition (Medium May Have Changed)


The tape is detected as:


scsibus0: waiting 2 seconds for devices to settle...
st0 at scsibus0 target 0 lun 0: <HP, C5683A, C908> SCSI2 1/sequential removable
st0: density code 38, variable blocks, write-enabled
st0: sync (50.0ns offset 32), 16-bit (40.000MB/s) transfers


How can I get rid of this Medium May Have Changed thing?

Martti