Real time status of tape drive loaded for backup


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Real time status of tape drive loaded for backup
# 1  
Old 10-17-2010
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 backup is ongoing or if there's an error because there are times when my backup is super long which I assumed that there's something happening on the tape (maybe hanging oe something else)

thank you
# 2  
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.
# 3  
Old 10-18-2010
if the device is on /0n, still the same? because when i tried /0n it doenst return nay result. thank you
# 4  
Old 10-19-2010
Yaa its same for "/0n" as well.It should give you the out put.

Well what command syntex are you using...????


Thanks.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question