Operating System - HP-UX
1753631 Members
5701 Online
108798 Solutions
New Discussion юеВ

Oracle CD_ROM umount problem

 
Kenn Chen
Advisor

Oracle CD_ROM umount problem

I inserted one oracle CD into DVD-ROM in my new L2000 server. I used pfs_mount to mount the CD and after installed, i cannot unmount the CD. How and what command to get the CD or need to reboot server ?
Cyber Zen
6 REPLIES 6
Denver Osborn
Honored Contributor

Re: Oracle CD_ROM umount problem

Are the pfs deamons still running or did they get killed? When you umounted did you use pfs_umount? At this point if you are unable to pfs_umount because the deamons died and you start to experience hangs w/ bdf, etc... you may need a reboot to clean up the pfs deamons.
James R. Ferguson
Acclaimed Contributor

Re: Oracle CD_ROM umount problem

Hi:

At the least, you need to do a pfs_umount (step-5). Do a ps -ef|grep pfs first to make sure the pfs daemons are running. If not, start with step-1 else skip to step-5.

1. # nohup pfs_mountd &

2. # nohup pfsd &

3. # cat /etc/pfs_fstab

/dev/rdsk/c3t2d0 /cdrom pfs-iso9660 soft,xlat=unix 0 0

4. # pfs_mount /cdrom

5. # pfs_umount -c /cdrom

...JRF...
rajsri
Frequent Advisor

Re: Oracle CD_ROM umount problem

dont mind for giving this solution

hope you are not in mounted directory ,
do fuser -u /"cd mount point" look for any process is using mounted dir , stop those process and try umount or pfsumount .

good luck
Andrew Luis Arruza
Frequent Advisor

Re: Oracle CD_ROM umount problem

Idris,
Please assign points to these replies. They have been extremely helpful to me and I would gladly assign the points if I could.
Thanks,
Andy
It is, after all, a matter of survival!!
Deshpande Prashant
Honored Contributor

Re: Oracle CD_ROM umount problem

HI
To unmount the pfs_mounted CD do
pfs_umount -v /SD_CDROM

Check for all pfs daemons (ps -eaf |grep pfs)and kill them to eject the CD.

Thanks.
Prashant.
Take it as it comes.
MANOJ SRIVASTAVA
Honored Contributor

Re: Oracle CD_ROM umount problem

Hi Chen

No u dont have to reboot the server. Do a ps -aef | grep on pfs and then kill processes with the lowest no first . Like if the o/p for example is

root 1 pfs_mountd
root 2 pfs_mountd rpc
root 3 pfsd
root 4 pfsd_rpc
root 5 grep pfs

then kill -9 1 2 3 4 5 in that oreder only .
This will eject the CD after the CD is unmounted.


Manoj Srivastava