Operating System - HP-UX
1830779 Members
11571 Online
110016 Solutions
New Discussion

Having Trouble Re-mounting CD-ROM

 
SOLVED
Go to solution
Daniel Navarro
Occasional Contributor

Having Trouble Re-mounting CD-ROM


I am currently using HP-UX 11.0 with a builtin CD-ROM Drive on our server. I am also trying to Install Oracle 8.1.7 on the server, the software comes with two discs. The Oracle installation instructions suggest using the following commands as root to mount the CD-ROM drive to begin the installation:

1. nohup /usr/sbin/pfs_mountd &
2. nohup /usr/sbin/pfsd &
3. /usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c0t3d0 /SD_CDROM.

I have created a directory SD_CDROM and have given it write permission.

Everything works fine up until I have to insert the next CD to continue the installation. I use the following command to umount the CD and exit any sessions that are logged into the /SD_CDROM directory;

/usr/sbin/pfs_umount /SD_CDROM

The command prompt returns, but the CD-ROM won't eject. I then manually open the CD-ROM with a paper clip to switch out the CD knowing that there are no sessions logged into the /SD_CDROM directory. I try once again to mount the CD-ROM with the same commands listed above, but I get the folowing error message:

# /usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c1t2d0 /SD_CDROM

/usr/sbin/pfs_mount: pfs_mountd at doghouse:/dev/dsk/c1t2d0 not responding: : RPC: Timed out
/usr/sbin/pfs_mount: retrying /SD_CDROM
/usr/sbin/pfs_mount: giving up on /SD_CDROM

What gives? Why cannot I not remount the CD-ROM drive again, after I 'gracefully' unmounted it using the pfs_umount command with no error messages?

Any help would be appreciated,
Daniel
5 REPLIES 5
Deshpande Prashant
Honored Contributor

Re: Having Trouble Re-mounting CD-ROM

Sridhar Bhaskarla
Honored Contributor

Re: Having Trouble Re-mounting CD-ROM

1. After unmounting the cdrom try to see if it is still mounted by giving pfs_mount command
2. If it still exists, then you need to retry pfs_unmount again. You may want to do a fuser on the device file and kill if there are any processes

fuser -k /dev/dsk/c1t2d0

It is obvious that pfs_umount is not really unmouting the CD because you have to manually eject the CD.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Thorsteinson
Honored Contributor

Re: Having Trouble Re-mounting CD-ROM

I ran into the same problem on a SUN server. There
were files open on the first cd-rom, so we couldn't eject.
If you can, nfs mount the second cd-rom and tell
the installer to continue from the second drive.
Otherwise kill the install and copy all the files, or at
least the few from the second cd onto a
filesystem while you do the installation.
Gregorio Valencia
New Member
Solution

Re: Having Trouble Re-mounting CD-ROM

I had the same problem installing Oracle 8i, an this could not be the best solution but it works. I had to identify the pfs_mount processes and send them a 15 signal:
#kill [process id]
try to kill the older process first.
I also could umount the CDROM killing the jobs that you ran, you can identify the jobs with the command:
#jobs.

As an advice im recommend to copy both disk 1 and disk 2 to a file system with enough avaliable space and install Oracle from there.

I hope this could be useful.
Magdi KAMAL
Respected Contributor

Re: Having Trouble Re-mounting CD-ROM

Hi Daniel,

Sorry, but you will need to restart your server to solve this problem. This NFS RPC timeout will continue giving these messages and you will see it whenever you issue anything in relation with NFS.

Hope that oracle could allowing access their CDs without this pfs i don't no what !!!

Magdi