[4184] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Error with SCSI-Tape

daemon@ATHENA.MIT.EDU (Larry M. Augustin)
Fri Jun 19 13:12:00 1998

Date: 	Fri, 19 Jun 1998 09:54:57 -0700
From: "Larry M. Augustin" <lma@varesearch.com>
To: Jon Lewis <jlewis@inorganic5.fdt.net>
Cc: Dombrofsky Klaus <Klaus.Dombrofsky@Brueckner.de>,
        Mailingliste Linux-Scsi <linux-scsi@vger.rutgers.edu>
In-Reply-To: <Pine.LNX.3.95.980618202905.723s-100000@tarkin.fdt.net>


Don't use "r".  It doesn't do what you think it does.  Use "c" instead.

In your example you're not appending to an archive.  You are writing a
new archive as the next record on the tape.

Also, I always use --label=NAME to fast identify multiple archives on
a tape.

Larry

Jon Lewis writes:
 > On Thu, 18 Jun 1998, Dombrofsky Klaus wrote:
 > 
 > > i have this problem:
 > > 			mt -f /dev/nst0 rewind
 > > 			tar cf /dev/nst0  File1
 > > 	later
 > > 			mt -f /dev/nst0 rewind
 > > 			mt -f /dev/nst0 fsf 1       
 > > 			tar rf /dev/nst0  ./dir1  ./dir2
 > > Problem ->		tar:cannot write to /dev/nst0: I/O error
 > > 
 > > i want to write one file at the beginning of the tape for
 > > fast-identifying the tape and append
 > > different files or directories.
 > 
 > I do multiple tar backups to a single tape all the time.  I've never used
 > tar -r though.  Why not just do:
 > 
 > mt -f /dev/nst0 rewind
 > tar -cf /dev/nst0 File1
 > tar -cf /dev/nst0 ./dir1 ./dir2
 > 
 > ------------------------------------------------------------------
 >  Jon Lewis <jlewis@fdt.net>  |  Spammers will be winnuked or 
 >  Network Administrator       |  drawn and quartered...whichever
 >  Florida Digital Turnpike    |  is more convenient.
 > ______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____
 > 
 > 
 > -
 > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
 > the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post