[comp.unix.ultrix] Using 'dd' over networks on Ultrix systems

hurf@tcgould.tn.cornell.edu (Hurf Sheldon) (01/31/89)

Reply-to: hurf@tcgould.tn.cornell.edu (Hurf Sheldon)




	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')
		
	     I was also successful doing this from a bsd4.2 reel drive
	     to an Ultrix1.2 tk50 a long time ago.

	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.

	Please respond directly to me at ionvax if possible. 

					Thanks,
					hurf
-- 
     Hurf Sheldon			 Network: hurf@ionvax.tn.cornell.edu
     Lab of Plasma Studies		  Bitnet: hurf@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.