- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to umount CD mounted with pfs_mountd command.
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
11-13-2005 04:27 PM
11-13-2005 04:27 PM
How to umount CD mounted with pfs_mountd command.
On my HP-UX IA64 system I am mounting CD with following commands.
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
#/usr/sbin/pfs_mount -x unix /dev/dsk/c1t2d0 /cdrom
Can some one tell me how to unmount this CD with out rebooting the system.
Thanks & Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 04:34 PM
11-13-2005 04:34 PM
Re: How to umount CD mounted with pfs_mountd command.
man pfs_umount for details. Do you have any specific reason as "why you used pfs_mount and not plain mount??"
With all latest rock ridge pacthes, you are just fine with plain mounts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 04:48 PM
11-13-2005 04:48 PM
Re: How to umount CD mounted with pfs_mountd command.
#pfs_umount -c -v /cdrom
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 05:30 PM
11-13-2005 05:30 PM
Re: How to umount CD mounted with pfs_mountd command.
like what RAC mention, the rock ridge patches should have been installed, but if u really must:
1. create file, /etc/pfs_fstab
2. add entry to /etc/pfs_fstab
# "device name" /cdrom pfs-rrip xlat=unix 0 0
3. run pfs daemon at the background
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
4. start nfs server
# /sbin/init.d/nfs.server start
5. mount and unmount file system
# pfs_mount /cdrom
# pfs_umount /cdrom
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 05:36 PM
11-13-2005 05:36 PM
Re: How to umount CD mounted with pfs_mountd command.
I faced a similar problem while unmouting a pfs_mount (Oracle installation). The pfs_umount got hung, tried to kill the process and finally i was forced to reboot the server to take the cd out...!!!!
As per "Bill Hassel"
"PFS is NOT recommended at all. The hang you saw is very typical for PFS and the most common scenario is to start the two PFS processes in the wrong order. PFS is a true hack: in order to provide the needed functionality without writing a driver, Young Minds, Inc (the authors of PFS) wrote user code that reads the raw CDROM, performs the CD filesystem translations and then exports the results with rpc calls as an NFS filesystem.
Never use PFS if you are running 11.00 or higher (get the latest RockRidge patches). If you are running 10.20, you have no choice, but realize that PFS may eventually force you to reboot your machine again. Once PFS hangs, logins, bdf, all sorts of filesystem commands may also hang."
Pls check the below link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=959850
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 12:26 AM
11-21-2005 12:26 AM
Re: How to umount CD mounted with pfs_mountd command.
worst of all, oracle uses it, i still wonder why since no other vendors seems to need it...
install the latest patch and get rid of all that pfs junk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2005 12:29 AM
11-21-2005 12:29 AM
Re: How to umount CD mounted with pfs_mountd command.
If pfs_umount does not work.
Try killing all of the above processes.
If that does not work.
Reboot the box.
If its oracle there are alternatives to pfs_mount which should only be used if there is NO alternative.
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
12-13-2005 03:33 AM
12-13-2005 03:33 AM
Re: How to umount CD mounted with pfs_mountd command.
I was only using pfs_mount because a HP Storageworks Securepath 3.0f Install and Reference Guide (Part Number: AAâ RV17Câ TE - April 2005) advised to use pfs command to mount the Securepath 3.0f install CD !!
Why are HP still advising using a command that is so obviously flawed !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 04:03 AM
12-13-2005 04:03 AM
Re: How to umount CD mounted with pfs_mountd command.
First of all , the block device should not be used with pfs_mount . You should use character device ( i.e. /dev/rdsk/c?t?d?)
It is mentioned in the man page of pfs_mount.
I believe using block device with it create a problem at back end at "rpc", nfs core module subsystem level causing command like bdf , ls -al hang.
You can try unmounting the cdrom using
# pfs_umount /cdrom
If it doesn't work, kill those mentioned above and use
# fuser -ku /dev/dsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 04:32 AM
12-13-2005 04:32 AM
Re: How to umount CD mounted with pfs_mountd command.
It can be an Oracle CD-ROM, or a CD created on Windows, or where ever 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 to 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).
Installation of patches requires a reboot.
swinstall -x autoreboot=true -x autoselect_patches=TRUE -x patch_match_target=TRUE -x patch_filter=*
.* -s /path/to/rockridge/patch @`hostname`
To mount a Rockridge CD (instead of using pfs_mount):
mount -F cdfs -o ro,rr,noauto /dev/cdrom /cdrom
To unmount:
umount /cdrom
To share out the cd over NFS:
exportfs -i -o ro,anon=0 /cdrom
On remote:
mount -F nfs sha1:/cdrom /zmnt
Note: client server does NOT need to have Rock Ridge patches installed to access the cdrom remotely.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 04:39 AM
12-13-2005 04:39 AM
Re: How to umount CD mounted with pfs_mountd command.
PFS has been deprecated ever since the 3 patches for RockRidge were released several years ago.
Bill Hassell, sysadmin