Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2004 08:23:15 -0700
From:      Scott Long <scottl@freebsd.org>
To:        pgrunwald@comcast.net
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Still having trouble with tape on Dell 2450
Message-ID:  <419F6163.8080807@freebsd.org>
In-Reply-To: <111820041936.4640.419CF9D3000529E60000122022007354460B040E99029A9D099F@comcast.net>
References:  <111820041936.4640.419CF9D3000529E60000122022007354460B040E99029A9D099F@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
pgrunwald@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@samba:/tmp/restore_test$ mt fsf 1
> root@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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?419F6163.8080807>