Operating System - HP-UX
1834465 Members
2891 Online
110067 Solutions
New Discussion

Re: mt -f /dev/rmt/n status

 
SOLVED
Go to solution
sudheer228
Occasional Advisor

mt -f /dev/rmt/n status

Hi All,

when we excute "mt -f /dev/rmt/n status" command, how do we analyse the out put.
I mean coming to a conclustion that whether the problem is with the tape or tape drive?

please help me.


Rgds,
sudheer
6 REPLIES 6
unixguy_1
Regular Advisor

Re: mt -f /dev/rmt/n status


Hi Sudheer,

Above command will the show the output like the Tape Drive has a problem,

Kindly check and revert back.

Regards,
Unixguy.

Analyst
Trusted Contributor

Re: mt -f /dev/rmt/n status

hi sudeer,

from the command mt -f /dev/rmt/n status

if you get the output status 0, then the drive is fine.
Insert the tape go for rewind,status, eof , eod...etc options
Hence you can find the status about the tape whether is working or not.


unixguy_1
Regular Advisor

Re: mt -f /dev/rmt/n status


Hi sudheer,

what Happen is it closed.

Regards,
Unixguy.


Johnson Punniyalingam
Honored Contributor
Solution

Re: mt -f /dev/rmt/n status

Hi Sudheer,

>>when we excute "mt -f /dev/rmt/n status" command, how do we analyse the out put.
I mean coming to a conclustion that whether the problem is with the tape or tape drive?<<

my understanding for "mt -f /dev/rmt/0mn status" command

will show the tape drive status "Online" meaning tape loaded inside tape-drive with some info about the tape-drive,

>>>coming to a conclustion that whether the problem is with the tape or tape drive?<<

You should check as per below using cstm command

#cstm
cstm>map
(choose Dev Num which point the tape-drive)
cstm>sel dev 6
cstm>il
(output will show much information condition of the tape-drive)

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Bill Hassell
Honored Contributor

Re: mt -f /dev/rmt/n status

The mt command is not a diagnostic test other than reporting the current state of the tape drive. If there is a tape in the drive, it will report whether the tape is at the beginning (BOT). What problem do you have with the tape drive?


Bill Hassell, sysadmin
sudheer228
Occasional Advisor

Re: mt -f /dev/rmt/n status

Hi,

Thanks for your valuble information.


Sudheer