Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ufsdump acros ssh session seems to get corrupted

807557Apr 18 2007 — edited May 14 2007
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2007
Added on Apr 18 2007
5 comments
199 views