Ethernet remote backup problems on the Unix-pc

Jeffery Small uw-nsr!uw-warp!jeff at beaver.cs.washington.edu
Tue Jul 11 08:39:36 AEST 1989


I have a 3B1/Unix-pc with an ethernet card and the WIN-3B software (ver
1.4) which is attached to a Sun 3/60 which has a SCSI 60-Mb tape drive.

I have been attempting to back up the 3B1 to the Sun's tape drive with
variations of the following:

      find . -depth -print | cpio -ocBv | remsh sun dd of=/dev/rst8 bs=5120
and:
      tar cvfb - 20 . | remsh sun dd of=/dev/rst8 obs=20b

Both of these commands appear to work.  Once they complete, I can issue 
either:
	tar tvf /dev/rst8
    or:
	cpio -icBvt < /dev/rst8

from the sun machine and get a complete listing of the tape's contents.
However, when I attempt to read the info back to the 3B1 across the
ethernet, I have problems.

With tar, I can get a complete tape listing with:

      remsh sun -n dd if/dev/rst8 bs=20b | tar tvfb - 20

but when I attempt to restore some files with:

      remsh sun -n dd if/dev/rst8 bs=20b | tar xvfb - 20 name1 name2 name3 ...

name1 will be extracted intact but then things hang and I get nothing else.
Finally, things timeout and I get a "Directory checksum error" from tar.


With cpio, when I try to get a listing with:

      remsh sun -n dd if/dev/rst8 bs=5120 | cpio -icBvt

I will get a number of files listed but then the command exits prematurely
with an exit code of 2.

Sun's tar command has a "B" option to cause tar to attempt multiple reads on 
the ethernet until it satisfies its buffering requirements.  The 3B1 utilities
offer no such capability of course, nor does the 3B1 offer the equivalent of
the BSD dump/restore facility.

Does anyone have a suggestion as to how the above strategies could be made
to work or offer a suggested alternative for performing the backup.  I would
prefer to create a pipeline to the tapedrive rather than have to archive
60-Mb (+/-) of 3B1 file on the sun's disk and then perform the backup locally.

Thanks.

Jeffery Small    (206) 485-5596            uw-beaver!uw-nsr!uw-warp
C. Jeffery Small and Associates                                    !cjsa!jeff
19112 152nd Ave NE - Woodinville, WA  98072           uunet!nwnexus



More information about the Comp.sys.sun mailing list