StoreEver Tape Storage
1753427 Members
4926 Online
108793 Solutions
New Discussion юеВ

Extracting files using DLT7000

 
SOLVED
Go to solution
Tiago Marques_2
Advisor

Extracting files using DLT7000

Hi!

I need to extract some files from a DLT tape (the files were wrote in the tape using the TAR unix command). So, I have a DLT7000, how do I proceed to select a especific slot and then extract my files from the tape??

Thanks!
eestimq
4 REPLIES 4
harry d brown jr
Honored Contributor
Solution

Re: Extracting files using DLT7000

The first thing to do is to determine what you mean by "slot". Is your DLT7000 a stacker (multiple tapes in the drive)?

The second thing is to produce a table of contents so that you can determine how the files where backed up, and where the file(s) that you need restored exist.

tar -tvf /dev/rmt/... (where ... is your tape device)

to restore the file, do

tar -xvf /dev/rmt/... filepath

hopefully the tar was a relative backup and not an absolute. A relative backup will start the file path with a period then a slash, like "./var/blah/blah", which will be restored "relative" to where you are currently "cd'ed" to. If it is absolute, then the file path will start with a slash "/", and it will be restored back to its original path. If it is absolute, and you need to restore it elsewhere, then we can give you the commands to "fake" tar out.

live free or die
harry
Live Free or Die
Tiago Marques_2
Advisor

Re: Extracting files using DLT7000

Yes, I have a stacker DLT library, with 8 tapes.

What do i need to know is how do i do to select one of the 8 tapes to read?

Thanks!

Tiago
eestimq
Michael Tully
Honored Contributor

Re: Extracting files using DLT7000

Hi,

You need to use the 'mc' command to move tapes
around. Before you can move any tapes you will
need to identify the device that actually does
the tape movements. Typically these are
/dev/robot or /dev/picker so look for these.

To move tapes, heres an example

# mc -p /dev/robot -sS1 -dD1
-p is the picker device being used
-s is the source where the tape is
-d is the destination where you want the tape
placed.

To view everything use this to show what is where, here is a sample from my server.
# mc -p /dev/robot -r IDSM
MT_slot_1 EMPTY
IE_slot NONE
DT_slot_1 EMPTY
ST_slot_1 FULL
ST_slot_2 EMPTY
ST_slot_3 EMPTY
ST_slot_4 EMPTY
ST_slot_5 EMPTY
ST_slot_6 FULL
ST_slot_7 FULL
ST_slot_8 FULL
ST_slot_9 FULL
ST_slot_10 FULL
ST_slot_11 FULL
ST_slot_12 EMPTY
ST_slot_13 EMPTY
ST_slot_14 EMPTY
ST_slot_15 FULL

Have a look at the man page for 'mc' for
more information.

HTH
-Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: Extracting files using DLT7000

Hi,

Can you attach your full ioscan output. "ioscan -fn"

Thanks