SUMMARY: ufsdump via ssh

From: Tony Howat (t.howat@linst.ac.uk)
Date: Thu Jul 31 2003 - 06:36:18 EDT


SUMMARY
~~~~~~~

Simple goof. /dev/rmt/0n is the tape device, not /dev/rmt0n.

I now use
ufsdump 0uf - /dev/md/rdsk/d33 | ssh r280n "dd obs=32k ibs=32k
of=/dev/rmt/0n"
with success.

Thanks to Lieven Marchand for spotting my silly mistake :)

Tony Howat wrote:
>
> Hi Managers,
>
> A slight issue here with ufsdumping a Solaris 8 box to a
> Solaris 9 box through SSH.
>
> I've already set up and tested ssh to the server with the
> tape drive on, and it connects with no password prompt from
> the root account on the system with the data to back up.
>
> The command I'm using :
>
> ufsdump 0uf - /dev/md/rdsk/d33 | ssh r280n "dd obs=8192 of=/dev/rmt0n"
>
> abc2:#ufsdump 0uf - /dev/md/rdsk/d33 | ssh r280n "dd obs=8192
> of=/dev/rmt0n"
> This is a private system for authorised users only. System use
> is monitored.
>
> DUMP: Writing 32 Kilobyte records
> DUMP: Date of this level 0 dump: Thu Jul 31 10:42:05 2003
> DUMP: Date of last level 0 dump: the epoch
> DUMP: Dumping /dev/md/rdsk/d33 (abc2:/opt) to standard output.
> DUMP: Mapping (Pass I) [regular files]
> DUMP: Mapping (Pass II) [directories]
> DUMP: Estimated 2431310 blocks (1187.16MB).
> DUMP: Dumping (Pass III) [directories]
> DUMP: Dumping (Pass IV) [regular files]
> write: No space left on device
> 329264+0 records in
> 20579+0 records out
> DUMP: Broken pipe
> DUMP: The ENTIRE dump is aborted.
>
> I get similar for ibs=32k obs=32k, and no ibs/obs specifiers to dd.
>
> I'm confused!

--
Tony Howat
UNIX Network Administrator
The London Institute
Tel. +44 (0)207 514 1887
Fax. +44 (0)207 514 6170
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:50 EDT