- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mounting a cdrom on a HP 11.11 box
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:33 AM
11-23-2004 02:33 AM
Mounting a cdrom on a HP 11.11 box
HP-UX raven B.11.11 U 9000/800 519710578 unlimited-user license
Model
9000/800/A500-44
I tried using the psf_mount and whatnot it says the device is busy, I do have a cd in there, but I'm not positive how to mount the thing, I forgot.
thanks, Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:40 AM
11-23-2004 02:40 AM
Re: Mounting a cdrom on a HP 11.11 box
or
mount -r /dev/dsk/c?t?d? /cdrom
you have to make the directory cdrom under root.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:40 AM
11-23-2004 02:40 AM
Re: Mounting a cdrom on a HP 11.11 box
pfs_mount is bad
obsolete,
PITA
locks systems up.
Try this script for rock ridge cd's
attached.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:43 AM
11-23-2004 02:43 AM
Re: Mounting a cdrom on a HP 11.11 box
What's on the CD? If it's a HP produced Application or install CD, you shouldn't have to use psf_mount . In fact, with a couple of patches, you should never have to use pfs_mount again ( see the "My CD-ROM doesn't show what I expect" section here - http://mirrors.develooper.com/hpux/ ). See if you can find what's holding the CD active using fuser or lsof. If all else fails, you may end up having to reboot to free up the drive.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:45 AM
11-23-2004 02:45 AM
Re: Mounting a cdrom on a HP 11.11 box
Are you sure it has not been mounted already. Do a bdf to verify. At times the pfs_mount complains that the drive is busy, but it still mounts the cd.
You can mount these cds without using pfs_mount, you need to get the rock-ridge extension patches for mount / cdrom on your box. If you do that, you don't have to use pfs_mount.
pfs_mount is not always a good choice to mount the CDs.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:46 AM
11-23-2004 02:46 AM
Re: Mounting a cdrom on a HP 11.11 box
#/usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/c3t2d0 /cdrom
mount: /cdrom: No such file or directory
root(raven)/root:
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:47 AM
11-23-2004 02:47 AM
Re: Mounting a cdrom on a HP 11.11 box
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 39676 97266 29% /
/dev/vg00/lvol1 83733 45266 30093 60% /stand
/dev/vg00/lvol8 1024000 162919 812346 17% /var
/dev/vg00/lvol7 1228800 847095 357872 70% /usr
/dev/vg00/lvol6 1024000 14371 946547 1% /tmp
/dev/vg00/lvol5 1024000 670264 331655 67% /opt
/dev/vg00/lvol4 102400 5164 91211 5% /home
/dev/vg00/lvo19 20480000 523172 19645452 3% /d01
root(raven)/root:
not mounted. What's on the cd is oracle 9i database install, 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:51 AM
11-23-2004 02:51 AM
Re: Mounting a cdrom on a HP 11.11 box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 02:54 AM
11-23-2004 02:54 AM
Re: Mounting a cdrom on a HP 11.11 box
The first thing we need to determine is whether the cd-rom is working.
ioscan -fnC disk
You should see a cd or dvd-rom, probably made by Toshiba.
If its not there, you need to find out why not. It may be dead and require replacement.
If it is there, the device driver for the unit will be listed in the ioscan output.
Thats what you want to use in the mount command given above.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:01 AM
11-23-2004 03:01 AM
Re: Mounting a cdrom on a HP 11.11 box
1. Kill any active pfs daemons.
2. Re-start the pfs daemons:
pfs_mountd &
pfsd &
3. create a mountpoint
# mkdir /cdrom
3. Mount the CD:
# pfs_mount -o xlat=unix /dev/rdsk/cXtXdX /cdrom
Use ioscan -fnkCdisk to replace the X above.
Note: 'pfs' uses the raw (rdsk) device. Replace the 'X' entries (in the pfs_mount command) with the appropriate numbers, typically, C1t2d0
Best regards,
Robert-Jan
Ps
You need to use pfs_umount to unmout the cdroms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:10 AM
11-23-2004 03:10 AM
Re: Mounting a cdrom on a HP 11.11 box
If you enter such a collision where mount or pfs always says CD is busy, you can have two solutions :
1. stop all the PFS stack, up to RPC. Stopping RPC may need to stop all depending services (and they are numerous). then restart.
2. reboot.
Thats why so many will tell you not to use PFS.
Using rock ridge extensions will require latest patches.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:13 AM
11-23-2004 03:13 AM
Re: Mounting a cdrom on a HP 11.11 box
#/usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/c3t2d0 /cdrom
mount: /cdrom: No such file or directory
That means that the mountpoint directory doesn't exist so create it:
mkdir /cdrom
Then mount your CD. Now the devicefile must match what you have on your system. If you are not sure, use this command:
ioscan -knfC disk
and you'll the devicefiles for each disk. Look for the CDROM, usually spotted by the manufacturer name. Then use that devicefile (/dev/dsk/...) in your mount command. As mentioned, if the CD is not an HP-UX CD but comes from a PC, you may need to use the -o cdcase option. HOWEVER, -o cdcase simply translates the CD's base directory (which is all UPPERCASE letters) to lowercase. HP's basic CDROM code cannot handle long filenames. You have to install the 3 RockRidge patches to see full filenames if they are longer than 8.3 characters.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:18 AM
11-23-2004 03:18 AM
Re: Mounting a cdrom on a HP 11.11 box
======================================================================
disk 0 0/0/1/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c0t1d0
I killed the daemons, restarted them and tried the command
#pfs_mount -o xlat=unix /dev/rdsk/c0t1d0 /cdrom
pfs_mount: giving up on /cdrom
root(raven)/root:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:26 AM
11-23-2004 03:26 AM
Re: Mounting a cdrom on a HP 11.11 box
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:40 AM
11-23-2004 03:40 AM
Re: Mounting a cdrom on a HP 11.11 box
root(raven)/root:
#mount
/ on /dev/vg00/lvol3 log on Thu Nov 18 10:16:42 2004
/stand on /dev/vg00/lvol1 defaults on Thu Nov 18 10:16:43 2004
/var on /dev/vg00/lvol8 delaylog,nodatainlog on Thu Nov 18 10:16:48 2004
/usr on /dev/vg00/lvol7 delaylog,nodatainlog on Thu Nov 18 10:16:48 2004
/tmp on /dev/vg00/lvol6 delaylog,nodatainlog on Thu Nov 18 10:16:48 2004
/opt on /dev/vg00/lvol5 delaylog,nodatainlog on Thu Nov 18 10:16:49 2004
/home on /dev/vg00/lvol4 delaylog,nodatainlog on Thu Nov 18 10:16:49 2004
/d01 on /dev/vg00/lvo19 delaylog,nodatainlog,nolargefiles on Thu Nov 18 10:16:49 2004
root(raven)/root:
#pfs_mount
root(raven)/root:
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:42 AM
11-23-2004 03:42 AM
Re: Mounting a cdrom on a HP 11.11 box
#pfs_mount -o xlat=unix /dev/rdsk/c0t1d0 /cdrom
pfs_mount: giving up on /cdrom
root(raven)/root:
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:48 AM
11-23-2004 03:48 AM
Re: Mounting a cdrom on a HP 11.11 box
now that you had a reboot on your system and created /cdrom, what's up if you try to use the commands Deoncia gave you in her first reply ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:55 AM
11-23-2004 03:55 AM
Re: Mounting a cdrom on a HP 11.11 box
# NFS configuration. See nfsd(1m), mount(1m), pcnfsd(1m)
#
# NFS_CLIENT: 1 if this node is an NFS client, 0 if not
# NFS_SERVER: 1 if this node is an NFS server, 0 if not
# Note: it is possible for one host to be a client, a server,
# both or neither! This system is an NFS client if you will
# be NFS mounting remote file systems; this system is a server
# if you will be exporting file systems to remote hosts.
# See Also: nfsd(1M), mount(1M).
# NUM_NFSD: Number of NFS deamons (nfsd) to start on an NFS server. Four
# has been chosen as optimal.
# NUM_NFSIOD: Number of NFS BIO daemons (biod) to start on an NFS client.
# Four has been chosen as optimal.
# PCNFS_SERVER: 1 if this node is a server for PC-NFS requests. This
# variable controls the startup of the pcnfsd(1M) server.
# See Also: pcnfsd(1M).
#
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0
# export feature does not work in this file since files are being
"nfsconf" [Read only] 83 lines, 2978 characters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:57 AM
11-23-2004 03:57 AM
Re: Mounting a cdrom on a HP 11.11 box
/dev/dsk/c0t1d0: Device busy
#mount -o cdcase /dev/dsk/c0t1d0
/dev/dsk/c0t1d0: Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 04:24 AM
11-23-2004 04:24 AM
Re: Mounting a cdrom on a HP 11.11 box
I would have like to see automount options, not only first page of vi :)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 04:31 AM
11-23-2004 04:31 AM
Re: Mounting a cdrom on a HP 11.11 box
START_MOUNTD=1
#
#autofs configuration. See autofs(1m)
#
#For the 11.0 Release line both AUTOFS and the old Automount
#are delivered. In order to invoke the AUTOFS instead of
#you must set the AUTOFS flag to 1.
#
#/usr/sbin/automount is now a script that sources in this file
#Depending on the variable AUTOFS, either AUTOFS or the old
#automount process will execute. The nfs.client start script
#will also use this variable to start the appropriate process
#during the boot sequence.
#AUTOFS= 0 - use the old automount process.
# 1 - use the new AutoFS.
#AUTOMOUNT_OPTIONS= - options to the AutoFS automount command
#AUTOMOUNTD_OPTIONS= - options to the AutoFS automountd daemon
#
#The AUTOMOUNT flag still needs to be set for either the old
#automount or new AutoFS to be started by the nfs.client script.
#
AUTOFS=0
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 02:56 AM
11-30-2004 02:56 AM
Re: Mounting a cdrom on a HP 11.11 box
I hope this helps. I had the same problem and this site worked for me.
Joe
http://publib.boulder.ibm.com/infocenter/ws51help/topic/com.ibm.websphere.nd.doc/info/ae/ae/tins_hpuxmount.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:07 AM
11-30-2004 03:07 AM
Re: Mounting a cdrom on a HP 11.11 box
the first is that the dbas like to cd to the directory to do an ls. this locks the directory if the cd wasn't mounted. "device busy" usually means that someone is in the directory
> fuser -cu /cdrom
the second is that you never exit the window that you mounted the cd in. you must unmount the cd before you type "exit". remember the "you have running jobs' quote? if you close the window and don't have the right patchs, good luck getting the cd out without rebooting the system. hope this helps too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:11 AM
11-30-2004 03:11 AM
Re: Mounting a cdrom on a HP 11.11 box
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:13 AM
11-30-2004 03:13 AM
Re: Mounting a cdrom on a HP 11.11 box
could you post output for
grep AUTOMOUNT /etc/rc.config.d/nfsconf
other point : is your CD readable in other machine/OS (your PC for example) ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)