Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: frey@otter.bme.unc.edu (Eric Frey)
Subject: Re: remote tar-device?? - roepcke
Date: 1996/04/29	[thread overview]
Message-ID: <4m28u2$rn2@newz.oit.unc.edu> (raw)
In-Reply-To: 317FA833.1406@fwg.ki.eunet.de

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2022 bytes --]


H. S. R�pcke (fwg@fwg.ki.eunet.de) wrote:
: Hello,

: Is it possible to mount an tape-device remote,
: which is attached to another maschine? I want
: to make backups with the networker-tool from
: Digital coming with DU 3.2C (BRXNSS...350 Subset).

1. You can use rmt, but as I recall this requires that the system with
the tape drive must have a .rhosts entry for it in the system that is
going to use the tape drive.
2. You can use something like
tar -cvf - . | rsh tapesys dd of=/dev/nrmt0h obs=32b
where tapesys is the hostname for the system with the tape drive and 
/dev/nrmt0h is the device file for the tape drive. The argument to 
obs sets the tape block size. This command would be executed on the
system you are backing up, so you need a .rhosts entry on tapesys for
the system being backed up.
3. rsh backsys -n tar -C /backdir -cvf - . | dd of=/dev/nrmt0h obs=32b
This is the same as above except that it is executed on the system
with the tape drive and you must have a .rhosts entry on backsys for tapesys.
BTW, the -C command works with gnutar, I'm not sure if it works with
the standard osf tar.
4. If you are reading and writing with a program, you can use mknod
to create a named pipe, then use rsh to write this to a tape drive. Then,
open and write a file to it using the named pipe and it will be written
to the tape drive. Something like this (syntax may be slightly wrong)
mknot p tapepipe
rsh tapesys dd of=/dev/nrmt0h obs=32b < tapepipe
Then, just open and write to a file named tapepipe in you program. You
will need to do the rsh once for each time you open/close the file as
the pipe closes on a close.

Hope this helps.

=======================================================================
Eric C. Frey                    Phone: 919-966-6729; Fax: 919-966-2963; 
Research Assistant Professor                   e-mail: frey@bme.unc.edu
Department of Biomedical Engineering and Department of Radiology
The University of North Carolina
152 MacNider Hall, CB 7575, Chapel Hill, NC 27599



      parent reply	other threads:[~1996-04-29  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-25  4:00 remote tar-device?? - roepcke H. S. R�pcke
1996-04-26  4:00 ` Jason Wynne Parsons
1996-04-29  4:00   ` Peter Mayne
1996-04-29  4:00 ` Eric Frey [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