1753479 Members
4739 Online
108794 Solutions
New Discussion юеВ

Re: pfs_mountd

 
SOLVED
Go to solution
chad_c
Super Advisor

pfs_mountd

Hello fellow HP Colleagues.

Hopefully someone can shed some light.

Have an HPUX 11.11 server.

Copied an ISO image to /tmp/oradisk/

then attempted to mount the ISO image to directory /cdrom

pfs_mountd &
pfsd &
pfs_mount /tmp/oradisk/DISK1.ISO /cdrom

now when attempting to cd to /cdrom my session locks up

attempted to pfs_umount /cdrom and my session locks up.

does anyone know how to umount the /cdrom directory without having to reboot the server?

rgds,
chad

12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: pfs_mountd

Shalom,

pfs_mountd is an outdated format that is only needed for very specific application.

I would do one of the following things:

1) Take the iso file, burn a cd/dvd and try mounting that on the HP-UX server.

1) Mount the iso file on a linux system using the following command: mount -o loop filename.iso /folder
Copy the flies system to system using our protocol.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
chad_c
Super Advisor

Re: pfs_mountd

thanks for the response. was hoping someone could shed some light on how to unmount the /cdrom directory without having to reboot
James R. Ferguson
Acclaimed Contributor

Re: pfs_mountd

Hi Chad:

You must kill the processes in the _reverse_ order that you started them.

First kill 'pfsd' and then kill 'pfs_mountd'.

Of course, before you do the above, use 'pfs_umount' to unmount the mounted CD.

Now, if you have a system where the processor utilization is climbing, and/or 'bdf' is unresponsive, etc. you need to reboot to cure the problem.

Do _NOT_ use 'pfs_mount'. It leads to reboots; is deprecated; and is unnecessary!

There are patches for enable mounting RockRidge formats. Search the patch database for them is you need to apply them.

Regards!

...JRF...
chad_c
Super Advisor

Re: pfs_mountd

thanks for the response

there are no pfs or pfsd processes running

the only process running is an attempt to unmount the cdrom ... which does NOT allow me to kill

txnnm1# ps -ef | grep pfsd
root 17469 26990 0 15:02:12 pts/1 0:00 grep pfsd
txnnm1# ps -ef | grep pfs
root 2806 1 0 14:08:46 ? 0:00 pfs_umount /cdrom
root 17562 26990 0 15:02:16 pts/1 0:00 grep pfs
txnnm1#

sounds like a reboot is the only option

rgds

chad
James R. Ferguson
Acclaimed Contributor

Re: pfs_mountd

Hi (again) Chad:

Make sure that you are not 'cd'd into the filesystem that you are trying to unmount.

You can use:

# fuser -f /cdrom

...to see what/if any processes are using it.

Regards!

...JRF...
chad_c
Super Advisor

Re: pfs_mountd

Hello.

No am not cd'd into the directory

when attempting to cd into the /cdrom directory, it locks up my session and does NOT allow me to pfs_umount /cdrom

This is all that is displayed.

txnnm1# fuser -f /cdrom
/cdrom:

am in the process of scheduling a reboot ... however wanted to check first if there is any other way to unmount the /cdrom

rgds,chad
Bill Hassell
Honored Contributor

Re: pfs_mountd

Once you reboot, make sure you have added the 3 RockRidge patches and never use pfs again. It became unstable at 11.00 and should never be used on 11.11 or higher. Ignore outdated non-HP documents from Oracle, Sybase, etc regarding pfs. The patches for 11.11 are:

PHCO_25841
PHKL_26269
PHKL_37535

Once installed, you will use the supported method: mount -orr to mount non-HP-UX CDs.


Bill Hassell, sysadmin
chad_c
Super Advisor

Re: pfs_mountd

Thanks again for the responses.

When mounting a cd ... me myself always use mount.

the reason for me using pfs_mount is because am mounting an iso image

So my question is ... can an iso image be mounted using 'mount'?

if not, what is the best method to mount an iso image?

rgds,
chad

James R. Ferguson
Acclaimed Contributor

Re: pfs_mountd

Hi (again) Chad:

If you apply the requistite patches and dispose of PFS mounts, you can do things like:

# mount -F cdfs -e -o ro,cdcase /dev/dsk/cXtYdZ /cdrom

# /usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/cXtYdZ /cdrom

See the manpages for 'mount_cdfs(1M)'.

Regards!

...JRF...