dd if=/dev/rmt/6st bs=1024|rsh host_target dd of=/dev/rmt/0 obs=1024.RegardsHimanshu"Rich

2007-12-25 0:59:00


dd if=/dev/rmt/6st bs=1024|rsh host_target dd of=/dev/rmt/0 obs=1024.

Regards

Himanshu

"Rich Kulawiec" wrote:

On Wed, Apr 02, 2003 at 04:29:05PM +0530, himanshukhona wrote:
> I have 2 machines with 2 different tape drives.
>
> IBM 3590 on v880 & sun 8mm tape drive on SB1000.
>
> I want to dump data on IBM3590 on 8mm tape drive on SB1000.
>
> How can i run dd between 2 different devices on different machines.

I'll show this example with rsh, but ssh would work much the same way;

>From the sb1000:

rsh v800hostname -n "dd if=/dev/rmt/0 bs=20k" | dd of=/dev/rmt/1 bs=10k

or from the v880:

dd if=/dev/rmt/0 bs=20k | rsh sb1000hostname "dd of=/dev/rmt/1 bs=10k"

You'll need to adjust the device names and the blocking factor (the bs= part)
to suit whatever-it-is you're actually trying to copy.

---Rsk

Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !

Comments

Got something to say?

You must be logged in to post a comment.