[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SCSI Tape problems



Perhaps your dd needs a 'bs=64k' or similar. Your drive may be in
fixed block size mode. dd doesn't guarantee it's output block size
unless you add the 'bs' option.

You can probably set the drive into variable block mode with
'mt -f /dev/st0 setblk 0'

man mt will tell you more.

tar by default uses 10240 bytes per block which will work with most
fixed block drives.

man tar for more info.

Wes

Daniel Green wrote:
> 
> Well this seemed to be the plan.  With the Sony AIT 300C plugged into the
> Adaptec 29160 it behaves fine.  I still can't do a dd though.  I must need dd
> lessons. But tar seems to work fine.
> 
> Thanks to all for the help.
> Dan
> 
> Daniel Green wrote:
> 
> > Ok, so my plan know is to install an adaptec 29160 and plug the tape drive
> > into that.
> > anybody know any problems with this?
> >
> > Dan
> >
> > W Bauske wrote:
> >
> > > Qlogic driver doesn't support dis-connect re-connect last I tried
> > > so they have problems with tape drives and  cd-burners.
> > >
> > > Use a Symbios based card for the tape drive instead. I've attached
> > > many kinds of tape drives to Alphas and x86 Linux using Symbios.
> > >
> > > Wes
> > >
> > > Daniel Green wrote:
> > > >
> > > > I am trying to use a scsi tape drive to backup/read data/write data.   I
> > > > am using the 2.4.10 kernel and a sony ait 300C tape drive.  I have the Q
> > > > Logic ISP1020 (rev 05) controller.  I am unable to get dd to do
> > > > anything.
> > > >
> > > > dd if=/dev/st0 of=test.raw
> > > > dd: reading `/dev/st0': Input/output error
> > > > 0+0 records in
> > > > 0+0 records out
> > > > dd: closing input file `/dev/st0': Input/output error
> > > >
> > > > If I use tar to say copy some files to the tape, it will work for about
> > > > 10 minutes before freezing up.  I have to hard boot the machine to get
> > > > it back.  Anybody have any ideas.
> > > >
> > > > Thanks,
> > > > Dan
> > > >
> > > > _______________________________________________
> > > > Axp-list mailing list
> > > > Axp-list@redhat.com
> > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []