Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* tar + remote tape w/ DU 4.0
@ 1998-07-09  4:00 Eros Albertazzi
  1998-07-09  4:00 ` Nikola Milutinovic
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eros Albertazzi @ 1998-07-09  4:00 UTC (permalink / raw)


Does tar in DU 4.0 support remote tape? My impression is that remote tape is
supported only for dump/restore, am I right?
If so is there a way to start (manually) rmt, or should I give up using tar
in favor of....
Thanks.
-- 
Eros Albertazzi
CNR-LAMEL, Via P.Gobetti 101, 40129 Bologna, Italy  
Tel: +39 - 051 - 639 9152
Fax: +39 - 051 - 639 9216
E-mail: eros@lamel.bo.cnr.it



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

* Re: tar + remote tape w/ DU 4.0
  1998-07-09  4:00 tar + remote tape w/ DU 4.0 Eros Albertazzi
@ 1998-07-09  4:00 ` Nikola Milutinovic
  1998-07-10  4:00 ` ���Ͽ�
  1998-07-13  4:00 ` Hannes Wenzel
  2 siblings, 0 replies; 7+ messages in thread
From: Nikola Milutinovic @ 1998-07-09  4:00 UTC (permalink / raw)


Eros Albertazzi wrote:
> 
> Does tar in DU 4.0 support remote tape? My impression is that remote tape is
> supported only for dump/restore, am I right?
> If so is there a way to start (manually) rmt, or should I give up using tar
> in favor of....
> Thanks.

Not in tar, but in UNIX:

EDSU:/# tar cf - . | rsh -l root EDPA.pa.ev.co.yu "dd -of /dev/nrmt0h"

Maybe there are syntax errors in the line above (I don't have man for rsh and dd
here), but that's the general idea. Seen it, tried it, it works.

Nix.





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

* Re: tar + remote tape w/ DU 4.0
  1998-07-09  4:00 tar + remote tape w/ DU 4.0 Eros Albertazzi
  1998-07-09  4:00 ` Nikola Milutinovic
@ 1998-07-10  4:00 ` ���Ͽ�
  1998-07-13  4:00 ` Hannes Wenzel
  2 siblings, 0 replies; 7+ messages in thread
From: ���Ͽ� @ 1998-07-10  4:00 UTC (permalink / raw)


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

Hi!

I think that Using tar or cpio for network backup is not a good.
If you are using HPUX, you can use ftio Command.

system_1 has data, and then system_2 has DDS.
in system_1;
# ftio -ox system_2:/dev/rmt/0m /
view data of system_2 in system_1;
# ftio -itv system_2:/dev/rmt/0m
for restore. in system_1;
# ftio -idxE system_2:/dev/rmt/0m

option)
-o : output , -i : input , -x : device file ����
-d : restore�ÿ� directory�� ����.
-v : verbose
-E : ��� path�� �����.

Eros Albertazzi ��(��) <6o2r94$d8j@sirio.cineca.it> �޽�������
�ۼ��Ͽ����ϴ�...
>Does tar in DU 4.0 support remote tape? My impression is that remote tape
is
>supported only for dump/restore, am I right?
>If so is there a way to start (manually) rmt, or should I give up using tar
>in favor of....
>Thanks.
>--
>Eros Albertazzi
>CNR-LAMEL, Via P.Gobetti 101, 40129 Bologna, Italy
>Tel: +39 - 051 - 639 9152
>Fax: +39 - 051 - 639 9216
>E-mail: eros@lamel.bo.cnr.it





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

* Re: tar + remote tape w/ DU 4.0
  1998-07-09  4:00 tar + remote tape w/ DU 4.0 Eros Albertazzi
  1998-07-09  4:00 ` Nikola Milutinovic
  1998-07-10  4:00 ` ���Ͽ�
@ 1998-07-13  4:00 ` Hannes Wenzel
  1998-07-14  4:00   ` Stuart Midgley
  2 siblings, 1 reply; 7+ messages in thread
From: Hannes Wenzel @ 1998-07-13  4:00 UTC (permalink / raw)


Eros Albertazzi wrote:
> 
> Does tar in DU 4.0 support remote tape? My impression is that remote tape is
> supported only for dump/restore, am I right?
> If so is there a way to start (manually) rmt, or should I give up using tar

You can use remote tapes with all commands. Try this:

# tar -cvf - . |rsh <remote_hostname> dd of=/dev/nrmt0h

Sincerely
Hannes



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

* Re: tar + remote tape w/ DU 4.0
  1998-07-13  4:00 ` Hannes Wenzel
@ 1998-07-14  4:00   ` Stuart Midgley
  1998-07-14  4:00     ` Mark Taylor
  1998-07-15  4:00     ` Robert Moniot
  0 siblings, 2 replies; 7+ messages in thread
From: Stuart Midgley @ 1998-07-14  4:00 UTC (permalink / raw)


I am not a big support of using dd to put information onto the tap
drive.  I don't think it is buffered, and getting delays in your network
might cause problems.  The method I would suggest is

	tar cf - <dir name> | gzip -c | rsh <remote host> "gunzip -c >
/dev/st0"

That way you will be sending compressed data over the wire and you
shouldn't have any problems with slow network buffering etc...

Stu.


Hannes Wenzel wrote:
> 
> Eros Albertazzi wrote:
> >
> > Does tar in DU 4.0 support remote tape? My impression is that remote tape is
> > supported only for dump/restore, am I right?
> > If so is there a way to start (manually) rmt, or should I give up using tar
> 
> You can use remote tapes with all commands. Try this:
> 
> # tar -cvf - . |rsh <remote_hostname> dd of=/dev/nrmt0h
> 
> Sincerely
> Hannes

-- 
<----------------------------------------------------------------------------->
  Stuart Midgley                      |  stuart@physics.uwa.edu.au
  Department of Physics               |  08 9380 7898   Wk
  University of Western Australia     |  08 9380 1014   Fax



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

* Re: tar + remote tape w/ DU 4.0
  1998-07-14  4:00   ` Stuart Midgley
@ 1998-07-14  4:00     ` Mark Taylor
  1998-07-15  4:00     ` Robert Moniot
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Taylor @ 1998-07-14  4:00 UTC (permalink / raw)


Stuart Midgley (stuart@physics.uwa.edu.au) wrote:
: I am not a big support of using dd to put information onto the tap
: drive.  I don't think it is buffered, and getting delays in your network
: might cause problems.  The method I would suggest is

: 	tar cf - <dir name> | gzip -c | rsh <remote host> "gunzip -c >
: /dev/st0"

: That way you will be sending compressed data over the wire and you
: shouldn't have any problems with slow network buffering etc...

Hmm, I don't know.  I've tried pushing stuff onto tape (actually a
locally stored tar file) on Alpha/Dig.Unix using just output 
redirection (i.e. not a command like dump/tar/dd which is designed 
to write to a tape drive) and it was very slow and kept breaking 
tape drives.   Fine on AIX though.

I never really got the hang of why it was so bad (although people
tried to explain it to me) though, so if anybody else knows 
different then by all means believe them.

Mark

---------------------------------------------------------------------------
| Mark Taylor                       Institute of Astronomy, Cambridge, UK |
| mbt@ast.cam.ac.uk    http://dougal.chm.bris.ac.uk/~mbt/    01223 337535 |
---------------------------------------------------------------------------



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

* Re: tar + remote tape w/ DU 4.0
  1998-07-14  4:00   ` Stuart Midgley
  1998-07-14  4:00     ` Mark Taylor
@ 1998-07-15  4:00     ` Robert Moniot
  1 sibling, 0 replies; 7+ messages in thread
From: Robert Moniot @ 1998-07-15  4:00 UTC (permalink / raw)


Just a suggestion: if you get GNU tar, it supports a remote tape
syntax, like ``-f tapehost:/dev/tape'' and handles all the details of
remote interaction itself.  I use it, and find it works fine.  GNU tar
also has some nice options that OSF tar lacks, like volume labels
and --atime-preserve.

-- 

Bob Moniot
Fordham University                  email:  moniot@dsm.fordham.edu
Fordham College at Lincoln Center   URL:    http://www.dsm.fordham.edu/~moniot/
New York, NY  10023                 phone:  (212) 636-6311



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-09  4:00 tar + remote tape w/ DU 4.0 Eros Albertazzi
1998-07-09  4:00 ` Nikola Milutinovic
1998-07-10  4:00 ` ���Ͽ�
1998-07-13  4:00 ` Hannes Wenzel
1998-07-14  4:00   ` Stuart Midgley
1998-07-14  4:00     ` Mark Taylor
1998-07-15  4:00     ` Robert Moniot

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