From: Chris de V. <cde...@ya...> - 2002-11-16 22:10:33
|
I need to be able to create a connection through SSH to a remote dump site before an (unalterable) script starts a dump. I'm using RedHat 6.2. I create a fifo, then I use dd bs=64k if=test.fifo | ssh user@remote "dd 64k of=test.dump" & The dump then runs, which is something like dump 0bdsf 64 100000 100000 test.fifo /tmp The dump runs, closes the fifo, I see the dd output X blocks read X blocks written but dump hangs. I tried the same test with tar; it passed with flying colors. Is the problem that dump needs to be able to read back from the file but can't? Can anyone think of another way to pass the data with SSH? By the way, this: dump 0bdsf 64 100000 100000 - /tmp | ssh user@remote "dd bs=64k of=test.dump" was already thought of. Won't work with this setup. Thanks, /dev/idal __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com |