dd over enet using Ultrix?

Hurf Sheldon hurf at batcomputer.tn.cornell.edu
Sat Jan 14 00:23:54 AEST 1989



	I am trying to use dd over the net between two Ultrix
	systems. In one case a 2.3 system to a 2.0 system,
	in another case a 2.0 system to a 2.0 system and I have
	not been able to get it working satisfactorily.
	In both cases I am going from a tk50 to a tk50

	The most successful incantation has been:
	'rsh remotehost dd if=/dev/nrmt0h ibs=10240 obs=1024 | \
	 dd ibs=1024 of=/dev/nrmt0h obs=10240'

	dd runs and reports the correct blocks in& out but the data
	on the target drive is munged - the first set of 20 1024 blocks
	look ok but when doing larger files (7 records in 
					     70 records out
					     70 records in
					     7 records out)

	things seem to get skewed after the first record.
	
	BTW- we are trying to copy a 'setld' format tape and using
	     the 'files=n' option doesn't work but just reinvoking
	     the command line n times does. (Why we go to/from  'nrmt0h')

	The next thing I was going to try was to add wbuf=0 to both 
	halves of the command line but at that very moment the target
	drive choked on a tape so while we wait for the DEC man we
	solicit ideas. He came -  This didn't work, either. 

	Please respond directly to me at ionvax if possible. 

					Thanks,
					hurf

	dd was never this hard before...


-- 
     Hurf Sheldon			 Network: hurf at ionvax.tn.cornell.edu
     Lab of Plasma Studies		  Bitnet: hurf at CRNLION
     369 Upson Hall, Cornell University, Ithaca, N.Y. 14853  ph:607 255 7267
     I sold my Elan, got a job in science; Now, no one takes me seriously.



More information about the Comp.unix.questions mailing list