From: himanshukhona (himanshukhona@indiatimes.com)
Date: Thu Apr 03 2003 - 23:50:30 EST
Hi,
Below is the mail attached which has similar answers to many others.
Thanks to all of them.
AS the subject suggests i needded to duplicate tapes which would be in tape drives connected to different hosts.
The answer was pretty much simple:
>From source host run:
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 !
_______________________________________________
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:08 EDT