Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: mathog@seqaxp.bio.caltech.edu (David Mathog)
Subject: Re: bug in RMT or dump/restore?
Date: 2000/07/06	[thread overview]
Message-ID: <8k2jfm$ndl@gap.cco.caltech.edu> (raw)
In-Reply-To: 8k0266$8s3@gap.cco.caltech.edu

In article <8k0266$8s3@gap.cco.caltech.edu>, mathog@seqaxp.bio.caltech.edu (David Mathog) writes:
>If any of you have successfully used dump/restore with more than 1 dump 
>file to a remote tape, could you please do a dump -v and let me know which 
>version you're using?
>
>Here's what happened when I tried it...
>
<SNIP>
>  [root@barrel /root]# /sbin/restore -t -f seqaxp.cluster:mkb500:/nomount/nostream/norewind/nounload
>  Connection to seqaxp.cluster established.
>
>listed the contents of /dev/sda2.  Good.  So the second command had not
>written over the first dump.  Verification of the second dump file: 
>
>  [root@barrel /root]# /sbin/restore -t -f seqaxp.cluster:mkb500:/nomount/nostream/norewind/nounload
>  Connection to seqaxp.cluster established.
>  /sbin/restore: Tape is not a dump tape
>
>Oops, not good!

The word from Stelian Pop is that restore does not leave the tape 
positioned at the end of the file.  mt seems not to work on the remote 
device, so in the end I found that this method works:

 [root@barrel /root]# /sbin/restore -t -s 1 -f seqaxp.cluster:mkb500:/nomount/nostream/rewind/nounload
 [root@barrel /root]# /sbin/restore -t -s 2 -f seqaxp.cluster:mkb500:/nomount/nostream/rewind/nounload

Using the rewind device puts the tape back at the beginning following the 
first restore operation, and -s N picks the file on the tape to read.  I 
have not tried using -s 1 repeatedly with /norewind, but that might work 
too, and not require so much tape motion.

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 



      reply	other threads:[~2000-07-06  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-05  4:00 bug in RMT or dump/restore? David Mathog
2000-07-06  4:00 ` David Mathog [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox