Operating System - HP-UX
1838670 Members
5800 Online
110128 Solutions
New Discussion

ioscan doesn't show tape device since reboot

 
TD Clark
Advisor

ioscan doesn't show tape device since reboot

My tape device (6 cart. DDS3 autochanger) was not connected when I rebooted the system last night (BIG mistake!). I've since connected the device; however, even after running insf -e I'm unable to communicate with the device. My device files are still there (/dev/rmt/0m and /dev/rmt/0pick); however, ioscan -fnC tape doesn't recognize the devices. I'm hoping someone has a work-around to recognize the device without rebooting (last resort). Thanks!
5 REPLIES 5
Sajid_1
Honored Contributor

Re: ioscan doesn't show tape device since reboot

hello,

Was this not connected or not powered on ? If it was not powered on when the system rebooted, then the system should find it after it is powered ON
learn unix ..
Martin Johnson
Honored Contributor

Re: ioscan doesn't show tape device since reboot

Verify the tape device is properly connected (check for bent pins, etc).

HTH
Marty
Kenneth_18
Frequent Advisor

Re: ioscan doesn't show tape device since reboot

Once I added an external tape drive and issued an insf -e. The tape drive was not responding also even after I issued the insf -e. When I check ioscan -funC tape, I could only see the hardware path listed but no drivers or device path.

I issued another insf -e -H and the tape drive worked immediately after that.

S.K. Chan
Honored Contributor

Re: ioscan doesn't show tape device since reboot

Rarely a reboot is require in order to recognize the connected tape drive. If "insf -e" does not work, try to be more specific (after running the 1st "insf -e") by running "insf -H ". You can even try to use SAM to see if it recognizes the drive (peripheral->tape-drives).
Kelli Ward
Trusted Contributor

Re: ioscan doesn't show tape device since reboot

Hi,
Once your tape driver is in the kernel, you shouldn't have a problem seeing it even if it was removed. I have a floater tape drive I use, since many of my systems do not have internals, and once I've configured them, I never have to do so again. (Assuming filesystem integrity of course.)
I would really check the hardware angle.
In emergency situations, I have placed my tape drive into a live system with no problems, although this is not my preference.
If you want to do so, always be sure the power is off to the drive when you add or remove any connections.
Power tape off, disconnect scsi and verify drive and connections are okay, plug tape back in and only then power it on.
(I make no guarantees, but I personally have not had issues.)
Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!