* remote tar-device?? - roepcke
@ 1996-04-25 4:00 H. S. R�pcke
1996-04-26 4:00 ` Jason Wynne Parsons
1996-04-29 4:00 ` Eric Frey
0 siblings, 2 replies; 4+ messages in thread
From: H. S. R�pcke @ 1996-04-25 4:00 UTC (permalink / raw)
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).
Hints?
Roepcke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: remote tar-device?? - roepcke
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
1 sibling, 1 reply; 4+ messages in thread
From: Jason Wynne Parsons @ 1996-04-26 4:00 UTC (permalink / raw)
To: H. S. R�pcke
H. S. R�pcke 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).
>
> Hints?
>
> Roepcke
First, you don't mount tape drives. But, here is an example of using tar
remotely between two alpha systems:
tar cf - ./src | tar xf - | rsh land.gi.alaska.edu tar c
You may have to change some syntax according to what platform you are sending
the files.
Jason
--
/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\
\ /
/ Jason Wynne Parsons | phone: (907) 474-7845 \
\ System Manager, Radiative Physics | fax: (907) 474-7290 /
/ Geophysical Institute | email: jason@gi.alaska.edu \
\ University of Alaska Fairbanks |http://kaja.gi.alaska.edu/radi/jason /
/ \
\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: remote tar-device?? - roepcke
1996-04-26 4:00 ` Jason Wynne Parsons
@ 1996-04-29 4:00 ` Peter Mayne
0 siblings, 0 replies; 4+ messages in thread
From: Peter Mayne @ 1996-04-29 4:00 UTC (permalink / raw)
> H. S. R�pcke 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).
Apart from there being no concept of mounting tape devices in UNIX, you don't
access the tape drives remotely when using Networker.
After installing the client software on the systems to be backed up and the
server software on the system with the tape drive, Networker will send the data
from the clients to the server to be backed up. No (direct) remote tape drive
access is involved.
Note that the license included with Digital UNIX won't allow you to back up any
other systems: you can only back up the current system (hence, SingleServer
Networker). Just obtain the PAKs and install them, and you'll have the
full-blown Networker.
--
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: remote tar-device?? - roepcke
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 ` Eric Frey
1 sibling, 0 replies; 4+ messages in thread
From: Eric Frey @ 1996-04-29 4:00 UTC (permalink / raw)
[-- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-04-29 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox