Sponsored Content
Full Discussion: Magnetic Tape
Operating Systems Solaris Magnetic Tape Post 302203195 by sparcguy on Friday 6th of June 2008 11:07:00 PM
Old 06-07-2008
source: docs.sun.com: Solaris Handbook for SMCC Peripherals


* Your system is able to access the tape drive and a tape cartridge is present, if the following status is displayed:


Archive QIC-150 tape drive:
sense key(0x0)= nosense residual= 0 retries= 0
file no= 0 block no= 0

sense key= nosense indicates that your system was able to access the tape and there were no errors. You can then use any of the backup commands described in the following sections.

* The following information tells you that the tape drive was just reset, powered on, or a tape cartridge was recently installed.


Archive QIC-150 tape drive:
sense key(0x6)= unit attention residual= 0 retries= 0
file no= 0 block no=0

In this case, execute the mt -f /dev/rmt/0 status command again until the sense key(0x6)= unit attention advisory message is replaced with the sense key(0x0)= nosense message.

* If the following status is displayed, your system is unable to access the tape.


/dev/rmt/0: no tape loaded or drive offline

In this case, insert a tape and execute the mt -f /dev/rmt/0 status command again.




Also, to further test have you tried doing a lowlevel tar and restore? I think the device for low level tar should be /dev/rmt/0l or 1l (L)
 

8 More Discussions You Might Find Interesting

1. Programming

Magnetic card readers

i can't find any info on developing for magnetic card readers in the unix environment. I'm developing a POS system and i want it to include credit card verification. Any direction would be hot... (6 Replies)
Discussion started by: Gekko
6 Replies

2. UNIX for Dummies Questions & Answers

MSR magnetic stripe card reader

Hi all I am working on MSR110 ...Can anyone plz tell me how to use the configuration commands with magnetic reader???. Please help me out as i have to develop API in C on linux platform.MSR110 is not responding to the configuration commands. Please help... Regards Mahima (0 Replies)
Discussion started by: mahima_er
0 Replies

3. UNIX for Advanced & Expert Users

Space free on tape /delete a single file on tape

Hi, I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape. Thanks DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies

4. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

5. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

6. UNIX for Advanced & Expert Users

Listing/copying files from magnetic optical disk

I am trying to list the name of files on an MOD - I use the command tar vtf /MOD_DRIVE|more and I get a nice list of filenames/directories on this particular MOD. When I put in another MOD that contains software options I get the error "directory checksum error". I would like to be able to... (2 Replies)
Discussion started by: drew_holm
2 Replies

7. AIX

Ejecting tape on AIX & Some Tape commands

I am trying to use this command to eject the tape mt -f /dev/rmt/0 unload but it gives me error mt -f /dev/rmt/0 unload mt: 0511-575 unload is not a recognized subcommand. Usage: mt Subcommand Valid subcommands are: weof eof fsf bsf ... (5 Replies)
Discussion started by: filosophizer
5 Replies

8. UNIX for Dummies Questions & Answers

How to decrypt audio data from magnetic tapes?

Hi Everyone, Apologise if this is not the right section where to post the following: I have worked for some weeks on a system which records audio calls coming from various channels of a TDM network. The voice logger once the disk was full of audio data, backed it up on magnetic tapes... (2 Replies)
Discussion started by: NICEPeppino
2 Replies
tcopy(1)							   User Commands							  tcopy(1)

NAME
tcopy - copy a magnetic tape SYNOPSIS
tcopy source [destination] DESCRIPTION
The tcopy utility copies the magnetic tape mounted on the tape drive specified by the source argument. The only assumption made about the contents of a tape is that there are two tape marks at the end. When only a source drive is specified, tcopy scans the tape, and displays information about the sizes of records and tape files. If a des- tination is specified, tcopy makes a copies the source tape onto the destination tape, with blocking preserved. As it copies, tcopy pro- duces the same output as it does when only scanning a tape. The tcopy utility requires the use of Berkeley-compatible device names. For example, example% tcopy /dev/rmt/1b /dev/rmt/2b ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ SEE ALSO
mt(1), ioctl(2), attributes(5) NOTES
tcopy will only run on systems supporting an associated set of ioctl(2) requests. SunOS 5.10 10 Mar 2000 tcopy(1)
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy