DLT4000 on openbsd st0: 10240-byte record too big
Hi, this error seems to have been around a bit on the news groups but I see no answers only questions (yeh I've got a bible on the shelf next to the Koran so I could try that). I've a DLT4000 tape drive connected to a scsi card in my sun blade 100 running openbsd 4.2 I'm getting this error in dmesg st0: 10240-byte record too big When I try to write to the tape I get this error: # dd if=/dev/zero of=/dev/st0 dd: /dev/st0: Input/output error 1+0 records in 0+0 records out 0 bytes transferred in 1.138 secs (0 bytes/sec) I'm guessing its a simple block size thing but if I have to set the block size every time It's going to be a major pain. tar -cvf /dev/st0 /var/mail /home was going to be my backup system :) mt seems to be able to set the block size but I've no idea what it should be. Are any of you using DLT4000 tape drives under openbsd? thanks
Re: DLT4000 on openbsd st0: 10240-byte record too big
working :) many thanks On 5 Dec 2007, at 10:52, Otto Moerbeek wrote: On Wed, Dec 05, 2007 at 10:23:46AM +, Khalid Schofield wrote: Hi, this error seems to have been around a bit on the news groups but I see no answers only questions (yeh I've got a bible on the shelf next to the Koran so I could try that). I've a DLT4000 tape drive connected to a scsi card in my sun blade 100 running openbsd 4.2 I'm getting this error in dmesg st0: 10240-byte record too big When I try to write to the tape I get this error: # dd if=/dev/zero of=/dev/st0 dd: /dev/st0: Input/output error 1+0 records in 0+0 records out 0 bytes transferred in 1.138 secs (0 bytes/sec) I'm guessing its a simple block size thing but if I have to set the block size every time It's going to be a major pain. tar -cvf /dev/st0 /var/mail /home was going to be my backup system :) mt seems to be able to set the block size but I've no idea what it should be. Are any of you using DLT4000 tape drives under openbsd? thanks As mentioned in st(4), use the raw interface. -Otto
Re: DLT4000 on openbsd st0: 10240-byte record too big
On Wed, Dec 05, 2007 at 10:23:46AM +, Khalid Schofield wrote: Hi, this error seems to have been around a bit on the news groups but I see no answers only questions (yeh I've got a bible on the shelf next to the Koran so I could try that). I've a DLT4000 tape drive connected to a scsi card in my sun blade 100 running openbsd 4.2 I'm getting this error in dmesg st0: 10240-byte record too big When I try to write to the tape I get this error: # dd if=/dev/zero of=/dev/st0 dd: /dev/st0: Input/output error 1+0 records in 0+0 records out 0 bytes transferred in 1.138 secs (0 bytes/sec) I'm guessing its a simple block size thing but if I have to set the block size every time It's going to be a major pain. tar -cvf /dev/st0 /var/mail /home was going to be my backup system :) mt seems to be able to set the block size but I've no idea what it should be. Are any of you using DLT4000 tape drives under openbsd? thanks As mentioned in st(4), use the raw interface. -Otto