ufsdump acros ssh session seems to get corrupted
807557Apr 18 2007 — edited May 14 2007Hi,
I am trying to perform a ufsdump to a remote tape device by piping it through an ssh session to a server with an LTO drive locally attached.
ie. ufsdump 0uf - / | ssh tapedump@tapeserver /usr/bin/dd bs=32k "of=/dev/rmt/0un"
It completes succesfully but when I go to do a ufsrestore on the tape server I get errors such as:
"Media read error: not enough space"
"Read error while restoring <directory file - name unknown>
just wierd stuff like this so I am suspecting corruption.
I really don't want to use rmt if at all possible :-)
The user "tapedump" is a member of the local "sys" group on the tape server.
If (as root) I run a similar command on the tape server
ie. ufsdump 0uf - / | /usr/bin/dd bs=32k "of=/dev/rmt/0un"
but ofcourse not using ssh it works a treat, no errors when using ufsrestore.
Any ideas anyone? Anyone done this sort of thing before ?
Cheers
Rob