Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* bug in RMT or dump/restore?
@ 2000-07-05  4:00 David Mathog
  2000-07-06  4:00 ` David Mathog
  0 siblings, 1 reply; 2+ messages in thread
From: David Mathog @ 2000-07-05  4:00 UTC (permalink / raw)


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...

Linux system is RH 6.2 on a DS10, using dump (version 0.4b15).
RMT to a DLT4000 drive on a second DS10 running OpenVMS.  Configuration:

  $ mu show/ver
  Process Software MultiNet V4.2 Rev A-X, COMPAQ AlphaServer DS10 466 MHz, OpenVMS AXP V7.2-1

On the Linux box I did this:

  [root@barrel /root]# /sbin/dump -0 -B  1000000 -f seqaxp.cluster:mkb500:/nomount/nostream/norewind/nounload /dev/sda2
  [root@barrel /root]# /sbin/dump -0 -B 10000000 -f seqaxp.cluster:mkb500:/nomount/nostream/norewind/nounload /dev/sda3

and it seemed to do the appropriate thing, putting two dump files from the 
RH 6.2/Alpha Linux box onto the tape in the OpenVMS machine's DLT drive.  
Verification of the first dump file:

  [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!

Is this a known bug in dump/restore (dump version 0.4b15) or some funny
interaction with RMT?  Or maybe a bug in Multinet on the VMS side? 

Thanks,

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug in RMT or dump/restore?
  2000-07-05  4:00 bug in RMT or dump/restore? David Mathog
@ 2000-07-06  4:00 ` David Mathog
  0 siblings, 0 replies; 2+ messages in thread
From: David Mathog @ 2000-07-06  4:00 UTC (permalink / raw)


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 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-06  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-05  4:00 bug in RMT or dump/restore? David Mathog
2000-07-06  4:00 ` David Mathog

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