- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with unmounting cdrom (pfs_mount)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
06-28-2004 10:19 PM
06-28-2004 10:19 PM
problem with unmounting cdrom (pfs_mount)
problem with unmounting cdrom mounted by pfs_mount.
i am installing oracle on my servers.
the procedure i have done is as follows.
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
the commands start the processes
/usr/sbin/pfs_mountd
pfs_mountd.rpc
/usr/sbin/pfsd
pfsd.rpc
#pfs_mount /dev/rdsk/c1t1d0 /cdrom
then i started oracle installation.after first
CD i gave
#pfs_umount /cdrom
it is giving /cdrom busy. but the same procedure is working with another server.what may be the problem.
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 10:21 PM
06-28-2004 10:21 PM
Re: problem with unmounting cdrom (pfs_mount)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 10:31 PM
06-28-2004 10:31 PM
Re: problem with unmounting cdrom (pfs_mount)
but the 'pfsd.rpc' process is not getting killed.
after rebooting i repeated the same procedure but the problem remains.
because of oracle installion requires insertion of cd's one by one and other instances are running on server i can't reboot the server everytime
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 10:32 PM
06-28-2004 10:32 PM
Re: problem with unmounting cdrom (pfs_mount)
http://mirrors.develooper.com/hpux/
My CD-ROM doesn't show what I expect
It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.
Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).
No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:
/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 10:34 PM
06-28-2004 10:34 PM
Re: problem with unmounting cdrom (pfs_mount)
kill all pfs processes (no by nohup but by kill)! And then relaunch them in this way:
# pfs_mountd &
# pfsd &
After that try
# pfs_mount -o xlat=unix /dev/rdsk/c1t1d0 /cdrom
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 10:37 PM
06-28-2004 10:37 PM
Re: problem with unmounting cdrom (pfs_mount)
My guess is that you're launching runInstaller or whatever whilst you're cd'd to /cdrom, therefore your shell process is locking the cd device.
When you start the install, make sure you're in another directory (/tmp, /, /home or whatever), then run /cdrom/runInstaller from there. Your shell will then not lock the filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 01:41 AM
06-30-2004 01:41 AM
Re: problem with unmounting cdrom (pfs_mount)
Now that the rant is over.....
I don't think fuser will tell you anything for the pfs (one of the reasons pfs is a bad idea), but make sure no one has /cdrom as their working directory. Lot's of folks cd /cdrom and runInstaller. Then they discover that they can't change CDs without killing the installer and starting over.
However, pfs can still dismount the cd and not let you eject it. If you've killed the pfs daemons you are probably in this boat now.
Short of re-booting the machine, I've killed the daemons and mounted the cd using the regular mount command and then dismounted it.
Once again make sure that no one has /cdrom as their current directory.
-Good Luck