Sponsored Content
Full Discussion: TAPE drive
Operating Systems HP-UX TAPE drive Post 302911409 by Corona688 on Thursday 31st of July 2014 01:31:18 PM
Old 07-31-2014
You can consider a tape as a single giant file of fixed size and unknown type, which can only be read beginning-to-end. You can't mount it, and how to use its contents depends on what it actually holds.

"tar" is a good guess -- that's short for "tape archive", a standard UNIX utility which gets used for a lot more than tapes but is still relevant here. If the tape holds a tar, then rbatte1's first instruction should help you, as "tar -tvf /path/to/device" is about as close as you can get to "ls" for a tarball.

It will have to read the entire tape to list all the contents, though! tar is not a filesystem, and a tape drive can't seek in the middle.

Last edited by Corona688; 07-31-2014 at 02:58 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tape drive install

I'm trying to install a tape drive on a compaq SCO OS 505. well I have gone through the mkdev tape comands and what have you yet no luck. when I reboot and do a simple tape rewind it gives me an error no such device etc.etc. IS there a diference in the xct0 and rct0 a the default? help.. (2 Replies)
Discussion started by: kikkin
2 Replies

2. Linux

Installing tape drive?

Hello. I have Redhat 8.0 on a laptop. Working good. I wanted to install the tape drive that is physically attached to it. The tape drive worked fine under Windows98SE. It's one of those parallel QIC-80 drives and I confirmed that it is supported by FTape. It appears that FTape might already... (0 Replies)
Discussion started by: RuralTurtle
0 Replies

3. UNIX for Dummies Questions & Answers

tape drive

Hi, I need to restore my tape backup, when I type "tape status" it gives; status : ready beginning-of-tape write-protected soft errors : 0 hard errors : 0 underruns : 3 but... (4 Replies)
Discussion started by: alisevA3
4 Replies

4. AIX

Tape Drive

I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies

5. SCO

Tape Drive Configuration

Dear All, I have a tape drive which has worked for offer 3yrs properly on SCO Openserver Release = 3.2v5.0.5. I tried to clean it all invain. I did a fresh installation of unix of the same OS and did the configuration still didn't bear fruits. The tape is a scsi and the configuration is as... (4 Replies)
Discussion started by: njoroge
4 Replies

6. Solaris

Help with tape drive

Hey folks, Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes. I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V. As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly. ... (2 Replies)
Discussion started by: eddy_sysad
2 Replies

7. SCO

Tape Drive Logs?

I've recently been tasked with "refurbishing" an HP Proliant ML370 running SCO 5.0...something. This is primarily used for legacy support and is kept on a shelf for safe keeping. The scope of work includes hardware diagnostics and blowing the dust out. I have run HP diagnostics on the array,... (1 Reply)
Discussion started by: v1corp
1 Replies

8. UNIX for Dummies Questions & Answers

Quantum tape drive

Hi, Using Redhat 5.7. I have Quantum tape drive connected to the server. I am trying to install the Netbackup software. Just wondering how can I see the Quantum is connected to the server. is any command I run to see the tape drive is connected? I used to work on Solaris, I used to do... (1 Reply)
Discussion started by: samnyc
1 Replies
dds2index(1)						      General Commands Manual						      dds2index(1)

NAME
dds2index - tool to create an indexfile for the use of SYNOPSIS
dds2index [options] DESCRIPTION
dds2index creates an index file that is required by the file extraction utility dds2tar(1). It works on tar archives stored on dds tape devices (DAT). Since the file structure of the tape archives is used to extract the files, the archive must be an uncompressed tar ar- chive. But compression by the transparent signal processor of the tape device is allowed. The index created by dds2index is written to stdout by default and should normally be stored on hard disk as indexfile for later use by dds2tar(1). The default tape device to read from is /dev/nst0, which may be overridden with the environment variable TAPE, which in turn may be over- ridden with the -f device option. The device must be a SCSI tape device. OPTIONS
-f devicefile device of the tape archive. Must be a character special file. -t indexfile write the index to indexfile, not to stdout. -z,--compress write the index in (gzip) compressed mode. --help print some screens of online help with examples through a pager and exit immediatley. OPTIONS you didn't really need -b, --block-size Set the maximal blocksize, dds2index can handle. --z, --no-compress Don't filter the archive file through gzip. -v,--verbose verbose mode. Print to stderr what is going on. -h,--hash-mode Print a hash sign '#' to stderr for each MB read from tape. -V,--version Print the version number of dds2index to stderr and exit immediately. EXAMPLES
Example of getting the index from the default tape /dev/nst0 and storing it in file archive.idx: dds2index -v -t archive.idx WARNING
This program can only read records (tar is calling them tape blocks) up to 32 kbytes. A bigger buffer will cause problems with the Linux device driver. ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/nst0. FILES
/dev/nst0 default tape device file. Must be a character special file. SEE ALSO
dds2tar(1), mt(1), mt-dds(1), tar(1), gzip(1) HISTORY
This program was created as a tool for dds2tar(1). AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 dds2index(1)
All times are GMT -4. The time now is 07:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy