Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Real time status of tape drive loaded for backup Post 302463419 by Reboot on Sunday 17th of October 2010 11:09:54 AM
Old 10-17-2010
you can check the activity on the TAPE DRIVE by following command :

Quote:
# iostat -xn 5|egrep '%|rmt'
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 6.5 0.0 1434.6 0.0 0.0 0.0 3.8 0 2 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 68.7 0.0 35186.9 0.0 0.5 0.0 6.8 0 47 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 60.0 0.0 30711.5 0.0 0.6 0.0 10.6 0 63 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 69.6 0.0 35638.3 0.0 0.5 0.0 6.8 0 48 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 79.8 0.0 40862.9 0.0 0.6 0.0 6.9 0 55 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 70.4 0.0 36029.8 0.0 0.6 0.0 8.9 0 63 rmt/0
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 80.8 0.0 41384.0 0.0 0.6 0.0 6.8 0 55 rmt/0

In above example 4th col. is the speed of the drive.

Thanks.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

Unix backup to tape drive

does anyone know how I can make an automatic backup of files to a tape drive under UNIX. I have so many commands, I don't know which goes where. I have commands for the task scheduler, Cron and other unix commands. Please help. Very Urgent. Thanks (3 Replies)
Discussion started by: Cute
3 Replies

2. UNIX for Dummies Questions & Answers

Replace the tape backup drive

Please help me!!!. I am new to Unix and I have to replace the tape backup drive. Originally the system had an IBM tape drive (Rhomat) that is damged. I changed it and installed a dat drive HP 5000+. The hardware recognize the drive, the diagnostics if OK. But when I try to install the operating... (3 Replies)
Discussion started by: allaite2
3 Replies

3. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies

4. HP-UX

tape drive access/backup

Need assistance: Have HP Visualize C3600 workstation, HP-UX 10.20, and HP C6364A 12GB DDS-3 SCSI DAT drive. I am not a UNIX programmer and did not configure/build workstation. Ran ioscan and shows up as HPC1537A, class tape, and 10/0/15/0.2.0. Switch on back of unit is denoted SCSI ID and is... (5 Replies)
Discussion started by: davel1000
5 Replies

5. UNIX for Dummies Questions & Answers

I cannot restore my backup from my exabyte tape drive

Hi All, I have an old Unix system used by a client as a backup server.I installed an Exabyte tape drive and on restarting the server and during POSTs, the system recognizes the tape drive with its scsi id. On running the command devstat -IAF, the system sees the tape drive quite well. When... (1 Reply)
Discussion started by: ezleone
1 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. Solaris

Backup files to tape drive on solaris

Hi, I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris. The files are of format abc-20100301000000.gz on my local machine. I know the below commands for searching files older than x days and command for backup procedure. solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies

8. UNIX for Dummies Questions & Answers

Check tape drive status on HP-UX

Hi all, We have an ESL tape library with legato networker software. From GUI - networker administrator, i can see that 3 of our tape drives are in service mode. How can i view the same thing by issuing commands in HP-UX. Thanks in advance! (1 Reply)
Discussion started by: *Jess*
1 Replies

9. Solaris

Backup to remote tape drive

Hello all, I'm trying to backup some files on a solaris 10 machine to the remote tape drive connected to another solaris 10 machine. I have set up rsh to allow for password-less connection between the servers, but I'm not able to write to the tape with the command: root@sdp4a>tar cvf... (1 Reply)
Discussion started by: kerrygold
1 Replies

10. Solaris

possible to do ufsdump backup without a tape drive ?

hi friends, i am trying to patch a solaris 9 server. However i need to do a ufsdump backup before any patching. There is no hardware port for connecting the tape drive. Any other ways to do a ufsdump ? :wall: (2 Replies)
Discussion started by: Exposure
2 Replies
mt(1)							      General Commands Manual							     mt(1)

Name
       mt - magnetic tape manipulating program

Syntax
       mt [-f tapename] command [count]

Description
       The command permits the operation of a magnetic tape drive.

Options
       The  -f	flag  option  uses  the specified tape device (next argument) in place of either that tape device defined by your TAPE environment
       variable (.login or .profile) or /dev/nrmt0h.

       Some operations may be performed multiple times by specifying count.  By default, performs the requested operation once.

       The command argument defines the operation to be performed.  Only as many characters as are required to uniquely identify a command need be
       specified.

       The following is a list of commands:

       bsf		   Backspace count files.

       bsr		   Backspace count records.

       cache		   Allows to use the cache buffer on a tape drive that has the cache buffer feature.

       clhrdsf		   Clear  hardware/software problem.  Works with tape drives which use the TMSCP tape controller interface This command is
			   restricted to root access only.

       clserex		   Clear serious exception.  Works with tape drives which use the TMSCP tape controller interface

       clsub		   Clear subsystem.  Works with tape drives which use the TMSCP tape controller interface This command	is  restricted	to
			   root access only.

       eof, weof	   Write count end-of-file marks at the current position on the tape.

       eotdis		   Disable  end-of-tape  detection.   When the end of tape is reached, the tape will run off the reel.	Only the superuser
			   can issue this command.  The command remains in effect for the device until end-of-tape detection is enabled  with  the
			   eoten command.

       eoten		   Enable  end-of-tape	detection.   When the end-of-tape markers are reached, the tape is halted on the reel, between the
			   two end-of-tape markers.  Only the superuser can issue this command.  The command remains  in  effect  for  the  device
			   until end-of-tape detection is disabled with the eotdis command.  This is the default mode after a system boot.

       fsf		   Forward-space count files.

       fsr		   Forward-space count records.

       nocache		   Disables the use of the cache buffer for any tape drive that has the cache buffer feature.

       offline, rewoffl    Rewind the tape and place the tape unit off-line.

       retension	   Retensions the tape.  Retension means moving the tape one complete pass between EOT and BOT.

       rewind		   Rewind the tape.

       status		   Print status information about the tape unit.

Examples
       This example shows how to rewind the tape
       mt -f /dev/rmt0l rewind
       This example shows how to backspace the tape nmt1h three files:
       mt -f /dev/nrmt1h bsf 3
       This example shows how to write two end-of-file marks at the current position on tape nmt6h:
       mt -f /dev/nrmt6h eof 2

Return Values
       In  shell  scripts, returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation
       failed.

Files
       /dev/rmt?h or /dev/rmt?l
		 Raw magnetic tape interface with rewind when closed

       /dev/nmt?h or /dev/nmt?l
		 Raw magnetic tape interface with no rewind when closed

See Also
       dd(1), tar(1), ioctl(2), mtio(4), tms(4), environ(7)

																	     mt(1)
All times are GMT -4. The time now is 06:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy