Article View: comp.os.linux.hardware
Article #262Re: SCSI Tape, help
From: Brian McKerr
Date: Sun, 05 Sep 1999 00:00
Date: Sun, 05 Sep 1999 00:00
84 lines
3152 bytes
3152 bytes
Peter Marks wrote:
> James,
>
> sounds like it's all working just fine.
>
> Have you tried # mt erase ?
>
> Note that while it erases the tape I've found that it goes into a state
> where you can't stop the job until it's done and it can take a long time to
> complete.
>
> Then to do a backup, with tar, something like what you said.
>
> I've used BRU for backup and it's dead simple. I'd amanda looks good but ran
> into a problem on a large drive for some reason.
>
> I'd be interested to hear what you come up with.
>
> peter
>
> James Mandy <jamesm@wantree.com.au> wrote in message
> news:7qt39i$143$1@centipede.wantree.com.au...
> > Ive managed to get my linux box to detect the just installed HP DDS-2 tape
> > drive.
> > It comes up in the kernel like this.
> >
> > Vendor: HP Model: HP35470A Rev: 1009
> > Type: Sequential-Access ANSI SCSI revision: 02
> > Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
> >
> > No problem. Now.
> >
> > I look in /dev and I indeed have /dev/tape which is pointing to /dev/st0
> no
> > worries. normal.
> >
> > Now, where to from here?
> >
> > If I do an "mt status" I get this. With or without a tape in the drive.
> >
> > SCSI 2 tape drive:
> > File number=-1, block number=-1, partition=0.
> > Tape block size 0 bytes. Density code 0x0 (default).
> > Soft error count since last status=0
> > General status bits on (10000):
> > IM_REP_EN
> >
> > NO other MT commands work? I cant rewind it, I cant do anything with it?
> The
> > only other MT command I have managed to get to work is "MT LOAD" which
> > ejects a tape if there is a tape in the drive.
> >
> > My question is. Where do I go from here? How can I erase this tape? How
> can
> > I do a simple backup eg "tar cvf /etc /dev/st0" or something "shrug"
> >
> > Any help greatly appreciated.
> >
> > P.S what tape backup software would you reccommend? I've looked at Arkeia,
> > and it looks pretty good, has windows client too, so I can admin it from
> > winblows box...
> >
> > Cheers, James
> >
> >
Be sure to specify the device when using mt ie;
mt -f /dev/st0 erase
mt -f /dev/st0 status
mt -f /dev/nst0 rewoffl
Another thing. Your tar command is the wrong way round. Try tar cvf /dev/st0
/etc
The device should follow the 'f' option.
Hope this helps.
Cheers,
Brian.
Technical Details
Message-ID:
<37D2554D.DBB3DDE3@choofter.atiwave.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7qt39i$143$1@centipede.wantree.com.au> <7qtga7$h34$1@news1.mpx.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b32,109ada9b3e327bc6 X-Google-Attributes: gid102b32,public X-Google-Thread: 102983,109ada9b3e327bc6 X-Google-Attributes: gid102983,public From: Brian McKerr <brian@choofter.atiwave.com.au> Subject: Re: SCSI Tape, help Date: 1999/09/05 Message-ID: <37D2554D.DBB3DDE3@choofter.atiwave.com.au> X-Deja-AN: 521281421 Content-Transfer-Encoding: 7bit References: <7qt39i$143$1@centipede.wantree.com.au> <7qtga7$h34$1@news1.mpx.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Who Knows Mime-Version: 1.0 Reply-To: citecbxm@citecub.citec.qld.gov.au Newsgroups: comp.os.linux.hardware,aus.computers.linux