Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tar extraction problem tape
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
guid0
Guru
Guru


Joined: 06 Jul 2003
Posts: 370
Location: The Netherlands / Nederland

PostPosted: Thu Feb 10, 2005 11:25 am    Post subject: tar extraction problem tape Reply with quote

Hi! :D

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.
Code:
tar tvf /dev/st0

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
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Thu Feb 10, 2005 12:44 pm    Post subject: Reply with quote

can u please post the actual command and the error it gives?
Back to top
View user's profile Send private message
guid0
Guru
Guru


Joined: 06 Jul 2003
Posts: 370
Location: The Netherlands / Nederland

PostPosted: Thu Feb 10, 2005 1:04 pm    Post subject: Reply with quote

i did at the bottom of my post :wink:

and it doesnt really give an error. it just sits idle waiting for me to abort it manually.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum