Sponsored Content
Operating Systems AIX Ejecting tape on AIX & Some Tape commands Post 302650585 by bakunin on Sunday 3rd of June 2012 11:47:11 PM
Old 06-04-2012
Quote:
Originally Posted by filosophizer
Code:
#tctl -f /dev/rmt0.1 -b 1024 -n read

Reading tape and redirecting output to a file. In this case, the operating system showed that the tape itself is damaged.
This doesn't need to be the case. If the tape was written with another blocksize (default blocksize depend on hardware, so we do not know what yours is) then trying to read will result in a "tape damaged" - in fact it is, in a way, because it was formatted differently.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. AIX

Tape Library on Aix

I am having my 14 Aix 5.3 servers on bladecenters connected with my Tape Library. I had a backup scheduled on tape library but after taking backup successfully, Now, Question 1:- I wanted to restore backup but tape library could not recognize the tape and I get I/O error in TSM. I think it... (0 Replies)
Discussion started by: Shrek
0 Replies

4. 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

5. Solaris

Tar & Tape drive without media

Hi all, I would like to know what would happen if the tape (media) is not placed on the drive and a tar command is executed to backup on the tape. My problem is that tar command hanged for multiple days instead of throwing the error, Is it valid behaviour? I was unable to test the... (4 Replies)
Discussion started by: jmsathish
4 Replies

6. AIX

AIX 5.3 & Veritas Backup with Tape Library

hello, I am facing this problem when trying to prepare AIX 5.3 for Veritas Backup: Veritas Software is not able to communicate properly with our tape library When we tried to run these commands here's the output # cfgmgr -l fscsi0 # cfgmgr -l fscsi2 # cfgmgr -l fscsi1 cfgmgr:... (3 Replies)
Discussion started by: filosophizer
3 Replies

7. AIX

I could not delete the tape in AIX !

I could not delete the tape in AIX This is the steps which i used .. but still it did not deleted .. ! server/root>lscfg -l rmt0 rmt0 U789D.001.DQD298Y-P1-C5-T2-L6-L0 Other SCSI Tape Drive server/root> server/root> server/root>lsdev -l rmt0 -F parent scsi3... (3 Replies)
Discussion started by: Mr.AIX
3 Replies

8. AIX

How to make a copy of a tape to another tape?

Hello, We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it. my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies

9. UNIX for Dummies Questions & Answers

Copying tape-to-tape on UNIX

I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies
ANSITAPE(LOCAL) 														   ANSITAPE(LOCAL)

NAME
ansitape - ANSI standard tape handler SYNOPSIS
ansitape [key] [keyargs] [files] DESCRIPTION
Ansitape reads and writes magnetic tapes written in ANSI standard format (called ``Files-11'' by DEC). Tapes written by ansitape are labeled with the first 6 characters of the machine name by default. Actions are controlled by the key argument. The key is a string of characters containing at most one function letter. Other arguments to the command are a tape label and file names specifying which files are to be written onto or extracted from the tape. The function portion of the key is specified by one of the following letters: r The named files are written at the end of the tape. The c function implies this. x The named files are extracted from the tape. If no file argument is given, the entire contents of the tape is extracted. Note that if the tape has duplicated file names, only the last file of a given name can be extracted. t The names of the specified files are listed each time they occur on the tape. If no file argument is given, all files on the tape are listed. c Create a new tape; writing begins at the beginning of the tape instead of after the last file. This command implies r. The following characters may be used in addition to the letter which selects the function desired. f This argument allows the selection of a different tape device. The next word in the keyargs list is taken to be the full name of a device to write the tape on. The default is /dev/rmt12. n The n option allows the user to specify as the next argument in the keyargs list, a control file containing the names of files to put on the tape. If the file name is '-', the control file will, instead, be read from standard input. The control file contains one line for each file to be placed on the tape. Each line has two names, the name of the file on the local machine, and the name it is to have when placed on the tape. This allows for more convenient flattening of hierarchies when placing them on tape. If the second name is omitted, the UNIX file name will be used on the tape also. This argument can only be used with the r and c functions. l The l option allows the user to specify the label to be placed on the tape. The next argument in the keyargs list is taken as the tape label, which will be space padded or truncated to six characters. This option is meaningless unless c is also specified. v Normally ansitape works relatively silently. The v (verbose) option causes it to type information about each file as it processes it. b The b option allows the user to select the blocksize to be used for the tape. By default, ansitape uses the maximum block size permitted by the ANSI standard, 2048. Some systems will permit a much large block size, and if large files are being put on the tape it may be advantageous to do so. Ansitape will take the next argument of the keyargs list as the blocksize for the tape. Values below 18 or above 32k will be limited to that range. The standard scale factors b=512 and k=1024 are accepted. Ansitape will not copy directories, character or block special files, symbolic links, sockets, or binary executables. Attempts to put these on tape will result in warnings, and they will be skipped completely. FILES
/dev/rmt12 DIAGNOSTICS
A warning message will be generated when a record exceeds the maximum record length and the affected file will be truncated. BUGS
Ansitape quietly truncates names longer than 17 characters. ANSI 'f' format files can be read but not written. Multivolume tapes can not be handled. 4/10/85 UCB Local ANSITAPE(LOCAL)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy