Operating System - HP-UX
1752584 Members
4656 Online
108788 Solutions
New Discussion юеВ

Re: How to check the tape drive status in HPUX 10.2?

 
Sathesh Kumar_1
New Member

How to check the tape drive status in HPUX 10.2?

How to check the tape drive status in HPUX 10.2? I want to check my tape drive status as online/offline.
12 REPLIES 12
Andrew Rutter
Honored Contributor

Re: How to check the tape drive status in HPUX 10.2?

hi,

not very easily in 10.20

in 11. and up we have the status option for the mt command but not in 10.20

there are a few options you can try with the mt command, see the man pages

http://www.cs.bgu.ac.il/~arik/usail/man/hpux/mt.1.html

Andy
AINMS
Respected Contributor

Re: How to check the tape drive status in HPUX 10.2?

try to use this command
#ioscan -funC tape

HTH
AINMS
If it were all easy, we would not have anything to do.
V. Nyga
Honored Contributor

Re: How to check the tape drive status in HPUX 10.2?

Hi Sathesh,

you're using a second account?

Have you tried to check the status with SAM?
For example with 'Backup and Recovery' the system is searching for a available tape drive - so if it's not available I believe it's offline.


HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Suraj K Sankari
Honored Contributor

Re: How to check the tape drive status in HPUX 10.2?

HI,

ioscan -fnC tape

Status should come as CLAIMED

Suraj
T G Manikandan
Honored Contributor

Re: How to check the tape drive status in HPUX 10.2?

if the drive is CLAIMED, you can also use

mt -t /dev/rmt/?? status
V. Nyga
Honored Contributor

Re: How to check the tape drive status in HPUX 10.2?

wow - what happened with Sathesh's comment just before mine?
Admins, please more comments if you change threads ...

V.
*** Say 'Thanks' with Kudos ***
Sathesh Kumar T
New Member

Re: How to check the tape drive status in HPUX 10.2?

Hello,

the status is said is CLAIMED, but is don't show anything in SAM, like it online or offline

#mt -t /dev/rmt/0m stat .. is not able show the status output.. reason in 10.2 don't have option like "stat"

thanks

sathesh
Sp4admin
Trusted Contributor

Re: How to check the tape drive status in HPUX 10.2?

Can you tar a file to the drive? try a tar -t /dev/rmt/0m if that's you tape device. You can check with "ioscan -fnC tape"

sp,
Taifur
Respected Contributor

Re: How to check the tape drive status in HPUX 10.2?

Hi Sathesh,

For checking tape drive

#ioscan -funC tape

Try to backup after above command by
#tar -cvf /dev/rmt/0m

Rgds//
Taifur