Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dd if=something you want to read from something
dd of=something means you want to write onto something
if you omit if, stdin will be used instead
if you omit of, stdout will be used instead
see man dd
all tapes have data - verified from log files
i can not test locally due to limited hd space , thats why i am doing this via ssh to extract data on another computer's disk which has a lot of free space
640G 175G 433G 29% /orastage
for example , i have this tape inserted in the tape drive now
there is data , this is the log file
tar cvf - *20161006* | ssh root@192.168.1.2 dd of=/dev/rmt/1
obs=126b
421289640+0 records in
3343568+1 records out
real 609m23.025s
user 102m56.737s
sys 11m12.550s
i try to dd if , i get the same errors like before
ssh root@agrotica dd if=/dev/rmt/1 obs=126b | tar xvf -
Password:
read: Not enough space
0+0 records in
0+0 records out
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
the path where i am telling it to extract the file has 433gb free space
agrotica is where the tape drive is mounted to . Does it matter if that machine has limited space left ? I Why should it matter though ? i just want to copy data off the tape via ssh to another host
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.