Operating System - HP-UX
1840213 Members
3567 Online
110162 Solutions
New Discussion

Mount/Umount problem Problem

 
Binubaby
Frequent Advisor

Mount/Umount problem Problem

Hi

I am facing a problem when trying to install oracle Application server from multiple CD's,I am using pfs_mount command to mount the CD's
1. Do we need to run/start any deamons before using pfs_mount command ?
2. Do we need to kill that deamons to pfs_umount unmount the CD's ?
3. Is there is any workaround for this problem
4. if the working directory is set to the CDROM cannot unmount it
Any solutions....

Binu
BB
9 REPLIES 9
Abdul Rahiman
Esteemed Contributor

Re: Mount/Umount problem Problem

I think if you use Oracle installer tool, you won't need to mount/unmount CD's separately. That would be the easiest way to go about Oracle installation.
No unix, no fun
Bharat Katkar
Honored Contributor

Re: Mount/Umount problem Problem

Binubaby,
I think you are executing the ./runinstaller program using relative path. Since you are there already in the directory of mounted filesystem, it won't allow you to unmount it or change to another CD.
Go into Orcale Home directory and from there try executing "runinstaller" program using obsolute path.
Hope that is the problem.

Regards,
You need to know a lot to actually know how little you know
Rajesh D L
Frequent Advisor

Re: Mount/Umount problem Problem

Hi Binu,

pfs_mountd and pfsd daemons should be running for pfs_mounting the CD.
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &

Remember, this has to be started in this order only. These daemons have to be killed manually for unmounting the CD which is mounted in pfs format. And the CDROM directory should not be the working directory.

regards,
RDL.
Suresh Patoria
Super Advisor

Re: Mount/Umount problem Problem

Hi

try this

#fuser -cu /cdrom
#fuser -ku /cdrom

Thanx
Joseph Loo
Honored Contributor

Re: Mount/Umount problem Problem

hi,

follow this steps:

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

i use the above steps for the Oracle iAS to copy to a staging mount point.

regards.
(p.s. remember to assign points.)
what you do not see does not mean you should not believe
Binubaby
Frequent Advisor

Re: Mount/Umount problem Problem

Hi all

Better way to mount/unmount multiple oracle CD's by using the following command, and it worked.

#mount -F cdfs -ro rr mount point

Thanks everybody for the help, I am assigning points for everybody

Binu
BB
malay boy
Trusted Contributor

Re: Mount/Umount problem Problem

Yap-yap-yap this is a rockridge.I used this also for installing Oracle database.
But you need to put in a patch inorder for this to work.


regards
mB
There are three person in my team-Me ,myself and I.
Jose Mosquera
Honored Contributor

Re: Mount/Umount problem Problem

Hi,

We solved that problem in Oracle 8.1.7 by the following way:

To mount CD:
nohup /usr/sbin/pfs_mountd &
hohup /usr/sbin/pfsd &
nohup /usr/sbin/pfs_mount -x unix /dev/dsk/[c?t?d?] /cdrom &

(*) Try man pfs_mount to get details about.

To umount CD:
nohup /usr/sbin/pfs_umount /dev/dsk/[c?t?d?] &

(*) nohup executes command with hangups and quits ignored, both standard output and standard error are sent to nohup.out.

Rgds.
Fred Ruffet
Honored Contributor

Re: Mount/Umount problem Problem

Be carreful about Rock Ridge. there may be CDs that did not mount correctly whith Rock Ridge.

You don't need to kill the daemons for unmounting pfs_mounted FS. You need to use pfs_umount.

As long as pfs is based upon NFS, you will need to start Rpcd and nfs.server from /sbin/init.d before using PFS (if they are not already running).

A last point : be sure you don't have automount runing. When you insert your media, the CD will mount using standard mount. When you'll do pfs_mount, you'll be in a situation where neither umount or pfs_umount will be able to umount.

regards,

Fred
--

"Reality is just a point of view." (P. K. D.)