ATAPICAM - Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1
I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The following is part of the kernel build: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicam # SCSI peripherals device scbus # SCSI bus (required for SCSI) device sa # Sequential Access (tape etc) device cd # CD dmesg includes: GEOM: create disk ad0 dp=0xc43f8760 ad0: 114473MB ST3120026A [232581/16/63] at ata0-master UDMA100 GEOM: create disk cd0 dp=0xc44e7600 sa0 at ata1 bus 0 target 0 lun 0 sa0: SONY SDX-420C 0101 Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers SMP: AP CPU #1 Launched! cd0 at ata1 bus 0 target 1 lun 0 cd0: SONY CD-RW CRX175A1 5YS3 Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present A dump appears to work: monster# mt rew monster# dump -ua0 -b64 /usr DUMP: WARNING: should use -L when dumping live filesystems! DUMP: Date of this level 0 dump: Mon Jun 14 18:45:49 2004 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad0s1f (/usr) to /dev/sa0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1668552 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 1800569 tape blocks on 1 volume DUMP: finished in 262 seconds, throughput 6872 KBytes/sec DUMP: level 0 dump on Mon Jun 14 18:45:49 2004 DUMP: Closing /dev/sa0 DUMP: DUMP IS DONE But restore does this: monster# mt rew monster# restore -t -b 64 Mount tape volume 2 Enter ``none'' if there are no more tapes otherwise enter tape name (default: /dev/sa0) none Tape read error while trying to resynchronize continue? [yn] y continuation failed: Bad file descriptor I have tried quite a number of differing things... Any hints or suggestions welcome. Ray Newman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATAPICAM - Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1
I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The following is part of the kernel build: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicam # SCSI peripherals device scbus # SCSI bus (required for SCSI) device sa # Sequential Access (tape etc) device cd # CD dmesg includes: GEOM: create disk ad0 dp=0xc43f8760 ad0: 114473MB ST3120026A [232581/16/63] at ata0-master UDMA100 GEOM: create disk cd0 dp=0xc44e7600 sa0 at ata1 bus 0 target 0 lun 0 sa0: SONY SDX-420C 0101 Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers SMP: AP CPU #1 Launched! cd0 at ata1 bus 0 target 1 lun 0 cd0: SONY CD-RW CRX175A1 5YS3 Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present A dump appears to work: monster# mt rew monster# dump -ua0 -b64 /usr DUMP: WARNING: should use -L when dumping live filesystems! DUMP: Date of this level 0 dump: Mon Jun 14 18:45:49 2004 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad0s1f (/usr) to /dev/sa0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1668552 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 1800569 tape blocks on 1 volume DUMP: finished in 262 seconds, throughput 6872 KBytes/sec DUMP: level 0 dump on Mon Jun 14 18:45:49 2004 DUMP: Closing /dev/sa0 DUMP: DUMP IS DONE But restore does this: monster# mt rew monster# restore -t -b 64 Mount tape volume 2 Enter ``none'' if there are no more tapes otherwise enter tape name (default: /dev/sa0) none Tape read error while trying to resynchronize continue? [yn] y continuation failed: Bad file descriptor I have tried quite a number of differing things... Any hints or suggestions welcome. Ray Newman Message sent at 07:13 PM on 14 Jun 2004 by PUP::RAYMOND. Id: 368387. Message sent at 07:31 PM on 14 Jun 2004 by PUP::RAYMOND. Id: 368396. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1
* [EMAIL PROTECTED] [EMAIL PROTECTED] [20040612 06:58]: wrote: I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The tape successfully does a dump and restore on this system but when the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE system, restore insists that the tape blocks are 512 bytes and this is not a multiple of 1024 (the tape was created with a -b 32). Could this be something to do with differences in ufs2 and old time ufs? 5.2.1 uses ufs2. I am not sure if that is compatible with the old ufs in 4.x - and I am not expert on file systems either ;) Just blubbing around, to see if this might be a clue... -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ I am more bored than you could ever possibly be. Go back to work. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1
I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The tape successfully does a dump and restore on this system but when the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE system, restore insists that the tape blocks are 512 bytes and this is not a multiple of 1024 (the tape was created with a -b 32). I have then taken the backup from the SCSI drive (where it reads) and attempted to read it on the ATAPI drive; the result looks like: monster# mt -f /dev/nast0 status Mode Density Blocksize bpi Compression Current: 0x01:X3.22-1983 512 bytes 800 0x1 -available modes- 0:default variable 0none 1:default variable 0none 2:default variable 0none 3:default variable 0none - File Number: 0 Record Number: 0Residual Count 0 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape monster# atacontrol info 1 Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5 Slave: acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = UDMA66 --- I had set this Slave = PIO4 monster# atacontrol reinit 1 Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5 Slave: acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = PIO4 --- It reverts Slave = PIO4 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape Any help gratefully received. Ray Newman 12 Jun 2004 Message sent at 07:28 AM on 12 Jun 2004 by PUP::RAYMOND. Id: 367835. Message sent at 01:54 PM on 12 Jun 2004 by PUP::RAYMOND. Id: 367866. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1
I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system. The tape successfully does a dump and restore on this system but when the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE system, restore insists that the tape blocks are 512 bytes and this is not a multiple of 1024 (the tape was created with a -b 32). I have then taken the backup from the SCSI drive (where it reads) and attempted to read it on the ATAPI drive; the result looks like: monster# mt -f /dev/nast0 status Mode Density Blocksize bpi Compression Current: 0x01:X3.22-1983 512 bytes 800 0x1 -available modes- 0:default variable 0none 1:default variable 0none 2:default variable 0none 3:default variable 0none - File Number: 0 Record Number: 0Residual Count 0 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape monster# atacontrol info 1 Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5 Slave: acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = UDMA66 --- I had set this Slave = PIO4 monster# atacontrol reinit 1 Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5 Slave: acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0 monster# atacontrol mode 1 Master = PIO4 --- It reverts Slave = PIO4 monster# mt -f /dev/nast0 rew monster# restore -t -b32 -f /dev/nast0 Tape read error while trying to set up tape continue? [yn] y Tape is not a dump tape Any help gratefully received. Ray Newman 12 Jun 2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]