Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Check tape drive status on HP-UX Post 302438846 by ./hari.sh on Wednesday 21st of July 2010 02:54:48 AM
Old 07-21-2010
mt - magnetic tape manipulating program
Code:
# mt status
Drive:  HP C1234A
Format: DDS-3 format
Status: [81112500] EOF online compression immediate-report-mode
File:   2
Block:  -1

 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

check the status and send an email with status

Hi, We have a text file which has the following data. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002 ST~997~0001 AK1~SH~247 AK2~856~2470001 AK5~A AK2~856~2470002 AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies

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

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

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

Tape status command

We sometime run backups to tape in the background using the cron. Is there a command that will show me how fast the information is being written and or how much data has been written? I know if we enter the information via the command prompt or smit it shows the speed and amount written. (2 Replies)
Discussion started by: daveisme
2 Replies

6. AIX

Tape drive write status

Is there a command on AIX that will show the write status of a tape? We have sysback running via a cron job backing up to a tape. I want to be able to check the progress of the backup. I need a command that will show ne the progress of the backup or the speed of the backup while it is taking... (5 Replies)
Discussion started by: daveisme
5 Replies

7. UNIX for Dummies Questions & Answers

Real time status of tape drive loaded for backup

Do we have a way in solaris to actuallyu check in real time the activity of a tape when it is loaded for backup? I know mt -f /dev/rmt/0n stat will provide the status. If it's busy, meaning it's currrently on backup mode or someone is using it (fuser -u /dev/rmt/0n) I wanted to check if the... (3 Replies)
Discussion started by: lhareigh890
3 Replies

8. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies
rmt(1M) 																   rmt(1M)

NAME
rmt - remote magnetic-tape protocol module SYNOPSIS
DESCRIPTION
is a program used by the remote dump and restore programs for manipulating a magnetic tape drive through an interprocess communication (IPC) connection. The and commands also use to achieve remote backup capability (see fbackup(1M) and frecover(1M)). is normally started up with an or call (see rexec(3N) and rcmd(3N)). accepts requests specific to the manipulation of magnetic tapes, performs the commands, then responds with a status indication. DDS devices that emulate magnetic tapes are also supported. All responses are in ASCII and in one of two forms. Successful commands have responses of where number is an ASCII representation of a decimal number. Unsuccessful commands are responded to with where error-number is one of the possible error numbers described in errno(2) and error-message is the corresponding error string as printed from a call to (see perror(3C)). The protocol is comprised of the following commands: Open the specified device using the indicated mode. device is a full pathname and mode is an ASCII representation of a decimal number suitable for passing to (see open(2)). If a device is already open, it is closed before a new open is performed. Open the specified device using the indicated mode. device is a full pathname and mode is an ASCII representation of an octal number suitable for passing to If a device is already open, it is closed before a new open is performed. Close the currently open device. The device specified is ignored. Perform an operation using the specified parameters (see lseek(2)). The response value is that returned from by Write data onto the open device. reads count bytes from the connection, aborting if a premature end-of-file is encountered. The response value is that returned from by (see write(2)). Read count bytes of data from the open device. If count exceeds the size of the data buffer (10 Kbytes), it is truncated to the data buffer size. then performs the requested and responds with if the read was successful. Otherwise an error is returned in the standard format. If the read was successful, the data read is then sent. Perform a command using the specified parameters. Parameters are interpreted as ASCII representations of the decimal values to be placed in the and fields of the structure used in the call. The return value is the count parame- ter when the operation is successful. Return the status of the open device, as obtained with a call. If the operation was successful, an ACK is sent with the size of the status buffer, then the status buf- fer is sent (in binary). Return the status of the open device, as obtained with a call. If the operation was successful, an ACK is sent with the size of the status buffer, then the status buf- fer is sent (in binary). Return the status of the open device, as obtained with a call. If the operation was successful, an ACK is sent with the size of the status buffer, then the status buffer is sent in the following ASCII format: machine<blank>value<newline> stat_struct_member_name<blank>value<newline> The end of the data is indicated by an ASCII NULL character. See for the definition. In addition to the struct stat information, there is an entry in the buffer describing the machine type as returned from a call (see uname(2)). In the above format ``machine'' is a key word. All fields except of the are returned. Return the status of the open device, as obtained with a call. If the operation was successful, an is sent with the size of the status buffer, then the status buffer is sent in the following ASCII format: machine<blank>value<newline> mtget_struct_member_name<blank>value<newline> The end of the data is indicated by an ASCII NULL character. See for the definition. In addition to the struct mtget information there is an entry in the buffer describing the machine type as returned from a call. In the above format "machine" is a keyword. Any other command causes to exit. RETURN VALUE
Device status is returned in the field contains defined macros for checking the status bits. DIAGNOSTICS
All responses are of the form described above. WARNINGS
Use of this command for remote file access protocol is discouraged. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
ftio(1), fbackup(1M), frecover(1M), dump(1M), restore(1M), rcmd(3N), rexec(3N). rmt(1M)
All times are GMT -4. The time now is 04:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy