Still having trouble with tape on Dell 2450

Scott Long scottl at freebsd.org
Sat Nov 20 15:22:40 GMT 2004


pgrunwald at comcast.net wrote:
> I'm still having a little trouble with the Python Drive on a dell 2450.  IT was acting really flaky and it turns out that Dell sent me an unterminated cable.  I replaced with Dell part number 8459u.
> 
> Drive is seen at boot:
> dmesg
> .
> .
> .
> Waiting 15 seconds for SCSI devices to settle
> aacd0: <RAID 5> on aac0
> aacd0: 52067MB (106633344 sectors)
> sa0 at ahc0 bus 0 target 6 lun 0
> sa0: <ARCHIVE Python 06408-XXX 825B> Removable Sequential Access SCSI-3 device
> sa0: 40.000MB/s transfers (20.000MHz, offset 32, 16bit)
> 
> 
> mt status
> Mode      Density              Blocksize      bpi      Compression
> Current:  0x26:DDS-4           1024 bytes     97000    DCLZ
> ---------available modes---------
> 0:        0x26:DDS-4           1024 bytes     97000    DCLZ
> 1:        0x26:DDS-4           1024 bytes     97000    DCLZ
> 2:        0x26:DDS-4           1024 bytes     97000    DCLZ
> 3:        0x26:DDS-4           1024 bytes     97000    DCLZ
> ---------------------------------
> Current Driver State: at rest.
> ---------------------------------
> File Number: 0  Record Number: 0        Residual Count 0
> 
> camcontrol eject sa0 does eject the tape.
> 
> mt rewind immediatly returns as does mt retension
> 
> mt erase seems to permanently hang the system and I have needed to reboot to kill the process.
> 
> dump seems to work:
> dump -0u -a -L -f /dev/sa0 /home
>   DUMP: Date of this level 0 dump: Thu Nov 18 12:31:29 2004
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping snapshot of /dev/aacd0s1f (/home) to /dev/sa0
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 1489 tape blocks.
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: DUMP: 1019 tape blocks on 1 volume
>   DUMP: finished in less than a second
>   DUMP: level 0 dump on Thu Nov 18 12:31:29 2004
>   DUMP: Closing /dev/sa0
>   DUMP: DUMP IS DONE
> 
> I'm having trouble with restore:
> 
> root at samba:/tmp/restore_test$ mt fsf 1
> root at samba:/tmp/restore_test$ restore rf /dev/sa0
> tape read error: Unknown error: 0
> 
> 
> I was using this page as my guide: http://www.freebsddiary.org/dump-restore.php
> Any suggestions?
> 
> Thanks,
> P.

Simple question.... did you rewind the tape after the dump?

Scott


More information about the freebsd-scsi mailing list