Operating System - HP-UX
1748198 Members
2620 Online
108759 Solutions
New Discussion юеВ

Re: mounting usb pen drive on Hp-ux

 
SOLVED
Go to solution
kilau
New Member

mounting usb pen drive on Hp-ux

Hi,
this topic has come up a few times on this forum and the web. Many have replied that the usb port on HP-UX is used only for keyboard and mouse. Seems very much the case as the usb drivers are classified as character periphrals in SAM.
However, other than the usb mouse and keyboard port, there're 2 other usb ports. i'm thinking there must be a way to mount the drive still.
Running ioscan -fn, the software class, h/w path are detected and even the device is claimed. A usbd, usbdev record pops up when i plug in the pen drive. I ran insf -e -H 0/0/0/1 ... to reinstall the device successfully. Also ran mksf -d -D -c -i -H successfully to create a character file /dev/hub. Stuck here. Cannot mount character file...
I'm thinking the soln might involve using dd, losetup, or mknod to create a block device or loop device that can then be mounted.
Can anyone help?
6 REPLIES 6
AVV
Super Advisor

Re: mounting usb pen drive on Hp-ux

Hi,


I think I did not understand you well but as far as I got, assume that you want to mount a usb drive which shows as claimed in ioscan.In that case, please try to create a link file to the device file shows in ioscan using

#ln -s /dev/usbdev ioscan path

#mount /dev/usbdev /usb

Forgive me if this is not your case :)
Durvesh Mendhekar
Regular Advisor

Re: mounting usb pen drive on Hp-ux

Hi,

plug the thing in
ioscan -fnC disk
# see if there is a disk device associated with the thing.
# If a new device is present, it can be mounted with a mount command. HP-UX doesn't ship with a vfs or fat filesystem built in.

Durvesh
Torsten.
Acclaimed Contributor
Solution

Re: mounting usb pen drive on Hp-ux

There was a procedure (like a proof of concept) posted in ignite area of docs.hp.com about booting the ignite installer on an Integrity:

# ioscan ├в C disk | grep 255/
255/1/0.0.0 disk TEAC DV-28E-N
255/1/0.1.0 disk HP USBKey4GB

# ioscan -nfH 255/1/0.1.0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 5 255/1/0.1.0 sdisk CLAIMED DEVICE HP USBKey4GB
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2




Caution: I have seen servers chrashing when connecting an unsupported stick or when not all requirements are met.


Test only on test machines!

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!   
Dennis Handly
Acclaimed Contributor

Re: mounting usb pen drive on Hp-ux

>I'm thinking there must be a way to mount the drive still.

Well they can be used for DVD drives.
smatador
Honored Contributor

Re: mounting usb pen drive on Hp-ux

Hi,
Like Torsten say, there is a doc
http://docs.hp.com/en/oshpux11iv3.html#Ignite-UX
Ignite-UX USB Memory Stick Boot

I have test it and I modify the script to mount a usb flash drive on my boxes.
I test on 11.23, it's ok, and for 11.31 I just make and mount the key on vxfs type.
And it's ok too. I'm not planning to use it to ignite my box, just to made some little backup.
HTH
kilau
New Member

Re: mounting usb pen drive on Hp-ux

Hi all, thanks for your replies. I've installed ignite-ux successfully and gotten it to work. Nevertheless, i was hoping the soln would not involve installing a software. you know .. company policy and all..Still, many thanks for getting it to work...