Summary of dd problem

From: Daniel Zhuang <daniel.zhuang_at_amdocs.com>
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 10.17.131.79 "(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 10.17.131.79 "(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.

thanks



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

T: 416-306-4413
M:416-887-6965
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers

*******************************************************
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.

http://www.avonandsomerset.police.uk
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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