Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 1996 16:20:01 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Lior Elazary <elazary@netlimited.net>
Cc:        questions@FreeBSD.org
Subject:   Re: Tape Backup
Message-ID:  <Pine.BSI.3.94.961115161540.3809N-100000@gdi.uoregon.edu>
In-Reply-To: <328B7256.16E@netlimited.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Nov 1996, Lior Elazary wrote:

> Hello, 
> 	I have a HP T4000s tape backup which I am trying to run.
> 	The device st0 is recodnize but when I run dump 0 /dev/rst0
> 	I get this:
> 	DUMP: Date of this level 0 dump: Fri Nov 15 11:05:42 1996
>   	DUMP: Date of last level 0 dump: the epoch
>   	DUMP: Dumping /dev/rst0 to /dev/rmt8
>   	DUMP: bad sblock magic number
>   	DUMP: The ENTIRE dump is aborted.

You need to specify a device.  /dev/rmt8 doesn't exist and hasn't existed
for many years.  We use this for our dump script to virutally the same
device:

rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /
rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /var
rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /usr
rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/rst0 /usr1

We use rdump but it's the same idea.  The key is the 'f' flag which
specifies a device.  Note that nrst0 is the no-rewind device, while rst0
will rewind the tape.  Our script above backs the machine up putting all
the filesystems on one (or more if necessary) tape(s).

> 	tar: can't write to /dev/rst0 : Input/output error
> 
> 	Do I need to format the tape? If so how do I do that.

No, it should work.  Make sure the tape is mounted properly and you can
see it with 'mt status'.  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961115161540.3809N-100000>