Very slow Tar extraction from tape


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Very slow Tar extraction from tape
# 1  
Old 10-20-2005
Very slow Tar extraction from tape

I'm pulling a 1MB file from tape using tar. It's a 300GB DLT tape and it does have a lot of files on it because it's go the entire OS and Oracle RMAN files and 3000 table exports, but it's taking 2-3 hours to pull this file off of it. Is this type of performance what I should expect?

The command I'm running is this:
tar xvf /dev/rmt/0 /data/exports/files/C_XMDL.dmp.Z

Is there a faster way to do this?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Speed up extraction od tar.bz2 files using bash

The below bash will untar each tar.bz2 folder in the directory, then remove the tar.bz2. Each of the tar.bz2 folders ranges from 40-75GB and currently takes ~2 hours to extract. Is there a way to speed up the extraction process? I am using a xeon processor with 12 cores. Thank you :). ... (7 Replies)
Discussion started by: cmccabe
7 Replies

2. AIX

Slow listing of LTo5 tape contents

Hi, We are taking our filesystem backup having size of 1.3 TB on LTO5 catridges using the following command find * -print|backup -ivf '/dev/rmt0' '-U' i.e backup byname and it took about 6.5 Hours to complete When we are listing same tape contents using the following command restore... (1 Reply)
Discussion started by: m_raheelahmed
1 Replies

3. Shell Programming and Scripting

Extraction of .tar.gz creates additional unwanted directories

I'm working on a project that requires me to compress then relocate directories to a different location based on their last date of modification. After running the script I check to see if it worked, and upon unzipping the tar.gz using I created everything that should be there is. I then performed... (4 Replies)
Discussion started by: jrymer
4 Replies

4. AIX

mksysb to tape too slow...

had this p520 server connected to a DDS-3 4mm tape drive... running AIX 7.1 TL01 -- the latest release. mksysb -i -e /dev/rmt/1 ..tells me only 1% is done after over an hour ... I had no problems with th hardware and other connections... tar command to /dev/rmt/1 runs very fast ....... (3 Replies)
Discussion started by: ppchu99
3 Replies

5. Emergency UNIX and Linux Support

extraction of directory and below using gnu tar

i need to restore everything in a certain directory and lower. I have a tgz archive of all of the files, and i need to restore everything in /user/home/xxxx/ and below. this is a users home directory. this is a dumb question and i know when i see the answer i am going to say DUH, but i am... (2 Replies)
Discussion started by: frankkahle
2 Replies

6. UNIX for Advanced & Expert Users

tar and gzip extraction issues

Not sure if this is really in the right forum but here goes.... Looking for a way to extract individual compressed files from a compressed tarball WITHOUT tar -zxvf and then recompressing. Basically we need to be able to chunk out an individual compressed file while it still remains... (6 Replies)
Discussion started by: athos
6 Replies

7. AIX

Tar extraction error in aix 5.3

Hi root@appdr01 #ls -latr total 2887400 drwxr-xr-x 2 root system 256 May 06 11:34 lost+found drwxr-xr-x 34 root system 4096 May 06 11:34 .. drwxr-xr-x 3 root system 256 May 06 12:20 . -rw-r----- 1 root system 1478338560 May 06... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

8. UNIX for Advanced & Expert Users

Does tar do crc checking on a tape or tar file?

Trying to answer a question about whether tar table-of-contents is a good tool for verifying tape data. (1 Reply)
Discussion started by: tjlst15
1 Replies

9. Shell Programming and Scripting

Help with tar extraction!

I have this tar file which has files of (.ksh, .ini &.sql) and their hard and soft links. Later when the original files and their directories are deleted (or rather lost as in a system crash), I have this tar file as the only source to restore all of them. In such a case when I do, tar... (4 Replies)
Discussion started by: manthasirisha
4 Replies

10. UNIX for Advanced & Expert Users

extraction from a tape

Hi, I have a backup on tape which was done by tar by someone else. How can I extract it now ? I know tar -xf for the tar file on disk but for the tar file on a tape, how should I do ? Many thanks before. PS : uname -a AIX server12 5 00545FFA4C00 (4 Replies)
Discussion started by: big123456
4 Replies
Login or Register to Ask a Question
TP(1)							      General Commands Manual							     TP(1)

NAME
tp - manipulate tape archive SYNOPSIS
tp [ key ] [ name ... ] DESCRIPTION
Tp saves and restores files on DECtape or magtape. Its actions are controlled by the key argument. The key is a string of characters con- taining at most one function letter and possibly one or more function modifiers. Other arguments to the command are file or directory names specifying which files are to be dumped, restored, or listed. In all cases, appearance of a directory name refers to the files and (recursively) subdirectories of that directory. The function portion of the key is specified by one of the following letters: r The named files are written on the tape. If files with the same names already exist, they are replaced. `Same' is determined by string comparison, so `./abc' can never be the same as `/usr/dmr/abc' even if `/usr/dmr' is the current directory. If no file argument is given, `.' is the default. u updates the tape. u is like r, but a file is replaced only if its modification date is later than the date stored on the tape; that is to say, if it has changed since it was dumped. u is the default command if none is given. d deletes the named files from the tape. At least one name argument must be given. This function is not permitted on magtapes. x extracts the named files from the tape to the file system. The owner and mode are restored. If no file argument is given, the entire contents of the tape are extracted. t lists the names of the specified files. If no file argument is given, the entire contents of the tape is listed. The following characters may be used in addition to the letter which selects the function desired. m Specifies magtape as opposed to DECtape. 0,...,7 This modifier selects the drive on which the tape is mounted. For DECtape, x is default; for magtape `0' is the default. v Normally tp does its work silently. The v (verbose) option causes it to type the name of each file it treats preceded by the function letter. With the t function, v gives more information about the tape entries than just the name. c means a fresh dump is being created; the tape directory is cleared before beginning. Usable only with r and u. This option is assumed with magtape since it is impossible to selectively overwrite magtape. i Errors reading and writing the tape are noted, but no action is taken. Normally, errors cause a return to the command level. f Use the first named file, rather than a tape, as the archive. This option is known to work only with x. w causes tp to pause before treating each file, type the indicative letter and the file name (as with v) and await the user's response. Response y means `yes', so the file is treated. Null response means `no', and the file does not take part in whatever is being done. Response x means `exit'; the tp command terminates immediately. In the x function, files previously asked about have been extracted already. With r, u, and d no change has been made to the tape. FILES
/dev/tap? /dev/mt? SEE ALSO
ar(1), tar(1) DIAGNOSTICS
Several; the non-obvious one is `Phase error', which means the file changed after it was selected for dumping but before it was dumped. BUGS
A single file with several links to it is treated like several files. Binary-coded control information makes magnetic tapes written by tp difficult to carry to other machines; tar(1) avoids the problem. deprecated TP(1)