1834130 Members
3087 Online
110064 Solutions
New Discussion

Add tape device

 
SOLVED
Go to solution
juno2
Super Advisor

Add tape device

We are running HP UX 10.2 , I have a tape device /dev/rmt/0m , I tried to connect it by SAM , Action --> Add , then it scan the system's hardware , but nothing was found , could suggest how to add it in my system ? Thx.
10 REPLIES 10
Natasha L.
Advisor
Solution

Re: Add tape device

Hi Juno,
does anything show up when you type at the command prompt:

ioscan -funC tape

- If not, this is probably overkill, but I would physically power down the HP box; resocket the tape drive cable on both ends; make sure the tape drive is plugged in and turned on; and then restart the box and retry the ioscan.

- If you do see a tape drive listed, but no /dev/rmt address mapped to it, you can fix this with the command: insf -e

- Once you see a drive listed with a /dev/rmt address, you could mkdir /tapedrive and
mount -r /dev/rmt/1m /tapedrive.

Hope that helps,
Natasha
Steven E. Protter
Exalted Contributor

Re: Add tape device

sam
kernel configuration
drivers

add the driver stape

actions process new kernel

take the boot

Steve "I'll work for points" Protter
Note: I never did that much 10.20 admin, but this is pretty general stuff.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
juno2
Super Advisor

Re: Add tape device

Thx Litt and Steven ,

For Steven's method , is there any other method that are no need to reboot the system ? thx.
Rajeev  Shukla
Honored Contributor

Re: Add tape device

If the system has not identified the tape drive because the drivers are missing in the kernel, a reboot is required to add the driver in the kernel and make it active.
juno2
Super Advisor

Re: Add tape device

The tape device was working properly previosly, it became not work after we have re-plug the cable , do i need to follow steven's method to rebuild kernel ? thx.
juno2
Super Advisor

Re: Add tape device

The device can't detect by ioscan now , do i need to re-build the kernel ? Thx.
Pete Randall
Outstanding Contributor

Re: Add tape device

If it was working properly before, and you changed the cable, rebuilding the kernel and rebooting is going to have absolutely no effect. You need to re-check your cabling, termination, etc.


Pete


Pete
juno2
Super Advisor

Re: Add tape device

I sure the cable is work properly , it is a external device , how can I detect it and connect it ? thx.
Pete Randall
Outstanding Contributor

Re: Add tape device

Try a different cable then. If the only thing you did was replug the cable, then that's the only thing that's changed!

You may have bent a pin in the connector. Examine it closely, try a different cable, make sure any terminators are properly connected.


Pete


Pete
Rajeev  Shukla
Honored Contributor

Re: Add tape device

If its an external tape drive.
1.Check both the ends of the cable to see no pins are bent (coz you unpluged and plugged back which might have ...)

2. Check that you haven't changed the ID of the tape drive.

and ofcourse the tape drive must be ON before you do ioscan