LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-10-2002, 05:12 PM   #1
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
dd, tar and gzip


Hi,
I am trying to extract some important data from a tape directly to a directory in a remote location using dd and tar also compressing during due to amount of data.
e
xample:

tar xvf /tape ....to rsh remote_sytstem/dir with gzip -9 during....

or maybe dd /tape .......to rsh remote_sytstem/dir with gzip -9 during....

or any other way that may work better.

I would like this to work on any Unix system as Linux, Sun or Irix

Thanks
 
Old 01-10-2002, 07:26 PM   #2
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
Another quick quesstion

How can you find out how much data is in a DLT tape ????

I tried du -sk /dev...... did not work ...

Data was originally put in using tar ....

Any Ideas !!!

Last edited by nabil; 01-10-2002 at 07:34 PM.
 
Old 01-11-2002, 12:02 AM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Try this:

Code:
tar -cvf - /dev/rmt0 | gzip -c | rsh remoteMachine " ( cd /tmp; gzip -d | tar -xf - ) "
Make sure your machine can compress faster than you can get the data off the tape. If compression is a bottleneck I'd suggest not using it.

Gary
 
Old 01-18-2002, 05:51 PM   #4
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
No that did not seem to work. For some reason it did not mount the DLT tape drive.
What I am trying to do is find a way to extract data from a DLT tape which has information written to in tar. The problem is data size is huge,..about 20GB and I don't have enough space in local machine. I was hoping to extract this data to a remote location.

Any other though on this,..Perhaps I am trying the hard way...

Is it possible to some how make this DLT drive an exported NFS mount point ???

or

Any other better suggestion is welcome.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tar and gzip - how do i point to a output directory RedHat123 Linux - Newbie 4 04-20-2011 11:48 AM
How to untar and unzip .tar.gzip.part file? linuxharsha Linux - Software 2 02-14-2004 11:37 AM
tar and gzip c0c0deuz Linux - General 2 10-31-2002 04:04 PM
gzip-1.2.4.tar Install ljc Linux - General 3 01-20-2002 10:44 PM
Need Serious Help With Tar And Gzip!! Please! rootlinux Linux - General 2 12-16-2001 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration