Operating System - HP-UX
1753784 Members
7396 Online
108799 Solutions
New Discussion юеВ

Troubleshooting a Date 4/8 Tape on Hp-Unix

 
Sherif_3
New Member

Troubleshooting a Date 4/8 Tape on Hp-Unix

Dear ALL:
i replaced a Tape 2/4 dat with 4/8 dat on the HP-UNix server,
anyone have an idea of how i can Troubleshoot the tape as it's not working.

i am prof. with SCO Unix.

but i found it a little bit different with the HP_Unix

i want to know how to read the configuration, ID, and if the driver are loaded or not !!!

after that i want to create a backup script for the backup

Thanks,
Eng.Sherif Mattar

 

 

 

P.S. This thread has been moved from HP-UX > HP-UX Technical Documentation to HP-UX > System Administration - HP Forums Moderator

5 REPLIES 5
Fabio Ettore
Honored Contributor

Re: Troubleshooting a Date 4/8 Tape on Hp-Unix

Hi Sharif,

you can begin by classic HP-UX commands

tar, dd, fbackup, cpio: an example for the first 2 commands.

To write on tape:
tar cvf /dev/rmt/0m /var/adm/syslog

To read from taoe:
tar tvf /dev/rmt/0m


dd if=/dev/rmt/0m of=/dev/null

Otherwise there is L&TT tool that you can find here:

http://h18006.www1.hp.com/products/storageworks/ltt/qa.html

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Devender Khatana
Honored Contributor

Re: Troubleshooting a Date 4/8 Tape on Hp-Unix

Hi,

You can find out the status of device attached by ioscan command.

#ioscan -fnC tape

Will list all the tape devices and there device files. If the status of the device shown is NO_HW then it means it was attached earlier but is not present at same path now.

Once sure with the available device file you can use normal backup commands as indicated earlier.

If device file does not exist then use insf command to create same.

HTH,
Devender
Impossible itself mentions "I m possible"
Torsten.
Acclaimed Contributor

Re: Troubleshooting a Date 4/8 Tape on Hp-Unix

First please do an

ioscan -fnCtape

If the status is CLAIMED, the device is "claimed" by the driver. If you're using the same SCSI ID but a different model, the status may be "DIFF_HW". In this case, use SAM to re-create the device files.
Try to post the "ioscan -fnCtape" output.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bharat Katkar
Honored Contributor

Re: Troubleshooting a Date 4/8 Tape on Hp-Unix

Hi,

You can check the Tape Device Status using:

# ioscan -fnC tape

This should display your tape decive file and whether is CLAIMED by the System or not.
It will also let you know the device file associated with it.

If it is UNCLAIMED then probably there is a driver issue and you can check using what drivers are configured/loaded/availble in kernel with:

# lsdev

Hope that helps.
Regards,

You need to know a lot to actually know how little you know
Rodney Hills
Honored Contributor

Re: Troubleshooting a Date 4/8 Tape on Hp-Unix

HP has an unsupported tool called tapeinfo that can be used to interrogate your dat tape drive. Get firmware, tape usage, capacity, etc.

You can find it at-
ftp://hprc.external.hp.com/sysadmin/programs/tapeinfo

HTH

-- Rod Hills
There be dragons...