View previous topic :: View next topic |
Author |
Message |
guid0 Guru
Joined: 06 Jul 2003 Posts: 370 Location: The Netherlands / Nederland
|
Posted: Thu Feb 10, 2005 11:25 am Post subject: tar extraction problem tape |
|
|
Hi!
I am having issues recovering files from tape.
The tape (an HP DAT-72 model):
Code: | (scsi0:A:3): 40.000MB/s transfers (20.000MHz, offset 32, 16bit)
Vendor: HP Model: C7438A Rev: V312
Type: Sequential-Access ANSI SCSI revision: 03
|
seems to be working fine-ish.
Code: | mt -f /dev/st0 rewind
mt -f /dev/st0 setblk 65536
mt -f /dev/st0 compression
mt -f /dev/st0 rewoffl
|
is all fine, so the tapedrive seems to work.
When i use tar to copy my precious files onto the tape:
Code: | tar -c -p -b 65536 --exclude-from /etc/tape.exclude -f /dev/st0 / 2>/dev/null |
things seem to work. the tape is making noise and when i add the -v option i see the files scrolling over my screen.
(i use the "2>/dev/null" part to ignore socket warnings)
Listing the files on the tape seems to work too.
shows all the files.
My problem is with restoring the files from tape. Tar seems to hang after it has succesfully restored a file from tape. I do have the file i want, but i need to ctrl-c my tar command to return to shell
Does any of you fellow gentooalists have an idea?
The command i use to restore a file from tape is the following:
Code: | tar xvf /dev/st0 path/to/my/precious/file.conf |
Cheers,
guid0 |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Thu Feb 10, 2005 12:44 pm Post subject: |
|
|
can u please post the actual command and the error it gives? |
|
Back to top |
|
|
guid0 Guru
Joined: 06 Jul 2003 Posts: 370 Location: The Netherlands / Nederland
|
Posted: Thu Feb 10, 2005 1:04 pm Post subject: |
|
|
i did at the bottom of my post
and it doesnt really give an error. it just sits idle waiting for me to abort it manually. |
|
Back to top |
|
|
|