Summary of dd problem

From: Daniel Zhuang <>
Date: Thu Mar 21 2002 - 10:56:30 EST
thanks to Russ Poffenberger  ,Casper Dik, who show me the command syntax and fix the problem.
Answer: dd should specify larger block size which is 10k instead of 1k 
so the working command is
localsystem# dd if=/dev/rmt/1hb ibs=10k | rsh "(cd
/export/home/test; gtar -xvzf -)"

below is my question:

my purpose is to read backup tape on remote system
localsystem# dd if=/dev/rmt/1hb ibs=1024 | rsh "(cd
/export/home/test; gtar -tvzf -)"
read: Not enough space
0+0 records in
0+0 records out

gzip: stdin: unexpected end of file
gtar: Child returned status 1
gtar: Error exit delayed from previous errors

then I took it away "z" decompress in gtar and use it locally
# dd if=/dev/rmt/1hb ibs=1024 |gtar -tvf -
read: Not enough space
0+0 records in
0+0 records out

why is "not enough space
I have 9GB space on both systems.


Daniel Zhuang
> IPS Division, Amdocs Canada
Unix Admin, Infrastructure Support Team

T: 416-306-4413
sunmanagers mailing list

Internet e-mail is not to be treated as a secure means 
of communication.  The Avon and Somerset Constabulary 
monitors all internet e-mail activity and content.  
This communication is confidential and intended for the
addressee(s) only.  Unauthorised use or disclosure of 
the content may be unlawful.  Opinions expressed in 
this document may not be official policy.
Thank you for your cooperation.  
(C)Avon and Somerset Constabulary.
sunmanagers mailing list
Received on Thu Mar 21 09:57:22 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:37 EST