Operating System - HP-UX
1745793 Members
4170 Online
108722 Solutions
New Discussion юеВ

Re: how to check the Tape drives working condition by using command.

 
SOLVED
Go to solution
Sajjad Sahir
Honored Contributor

Re: how to check the Tape drives working condition by using command.


Dear Senthil

If u would like to know tape is working or not u should have to take a test backup on tape. This is way to check the tape working condition.

thanks and regards

Sajjad Sahir
Kranti Mahmud
Honored Contributor

Re: how to check the Tape drives working condition by using command.

Hi Senthil,

tape 1 0/4/1/1.1.0.255.0.0.1 stape NO_HW DEVICE HP Ultrium 3-SCSI
tape 2 0/4/1/1.1.0.255.0.0.2 stape NO_HW DEVICE HP Ultrium 3-SCSI

means...there is no HW attahced through SCSI in this server.
If it is connected, the status will be CLAIMED.

For more info for your thread, check the following threads:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1128494

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1324378

Rgds-Kranti


Dont look BACK as U will miss something INFRONT!
Jitesh purohit_1
Regular Advisor

Re: how to check the Tape drives working condition by using command.

Hi Senthil

Are you using any Backup Software like

1) HPDP
2) veritas

You can check uma command in HPDP to check the status of the tape drive..

Thanks
Jitesh
subodhbagade
Regular Advisor

Re: how to check the Tape drives working condition by using command.

Hi,

please try following steps:--

(1)ioscan -fnC tape to check the tape path .. (..it should be /dev/rmt/xmn)

(2)# mt -f /dev/rmt/0mn status ( to check the status of tape)

(3)#mt -f /dev/rmt/xmn rewind ( To rewind the tape )

(4) Try to take the test backup using fbackup as

fbackup -i /tmp/test -f /dev/rmt/0mn ( Taking the bkp of /tmp/test on tape

(5)frecover -f /dev/rmt/0mn -x -v -i /usr ( Restore on /usr and verify the data )

(6) if you are able to recover the backed up data then tape is proper.

Regards,
Subodh.
Michael Steele_2
Honored Contributor

Re: how to check the Tape drives working condition by using command.

Bill is right, subdoh is right, the rest don't always give enough.

mt -t /dev/rmt/0m stat
Support Fatherhood - Stop Family Law