Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape drive under linux question

Status
Not open for further replies.

noisecode

Technical User
Joined
Jan 7, 2005
Messages
147
Location
US
I have some sequential access SCSI tape drives that are supported in Linux. I can access the devices and everything seems to work fine. My question is, is there a way to copy the tape without actually mounting the file system on the tape? When I do a dd on the device it just outputs the first 512 bytes, what looks like a tape header. How would I access the raw data beyond this point? Is there a utility that could do it for me? Any help would be greatly appreciated. Thanks!
 
What are you trying to copy to?

Normally you use tar. So you tar from tape to somewhere.
 
Well I'd like to be able to access the raw data on a tape. I have software on tapes I'd like to be able to make backup copies of. I am not sure what format they are stored in.
 
How did the data get onto the tape? That will depend on the format the data is stored in. Was it tar? or a backup package. If it was a backup package it could be tar, cpio, or some proprietary format.

To be able to get the data, you need to know how it got on there.

You can try this.

tar -vtf /dev/nst0. See if anything happens.

That will do a verbose test, to see if tar can see any data. If you get output like a filesystem. Then you can use tar to retrieve the data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top