Operating System - HP-UX
1752511 Members
4894 Online
108788 Solutions
New Discussion юеВ

Re: Switching cd's in multi-CD Oracle install

 
SOLVED
Go to solution
John Love_3
Regular Advisor

Switching cd's in multi-CD Oracle install

After Disk 1 is done, I'm supposed to pfs_umount /SD_CDROM, but I can't. It says the device is busy (the oracle install is using it?)
How do I get around that? I've tried many things. Any help would be appreciated.

Thanks,

John
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: Switching cd's in multi-CD Oracle install

John, this is a neat one since generally you are instructed to cd to /cdrom/orainst and then
do an ./orainst. I can think of 3 possible workarounds. 1) You could probably first install the oracle installer in ${ORACLE_HOME}/orainst and execute from there
for later installs; 2) pfs_mount and pfs_export
CD no. 2 on another machine then pfs_mount the remote cd on your local machine (e.g. /cdrom_net); or 3) copy the entire CD's to local directories.

Hope some of this helps, Clay
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Switching cd's in multi-CD Oracle install

Hi John

In the 2 CD version ( 8.1.7) after the first CD is completed you have to go back to root directory in the oracle GUI installer .This would free the mount point then you can umount it . At any point of time run fuser -c /cdrom to know who is using it.

Manoj Srivastava
John Love_3
Regular Advisor

Re: Switching cd's in multi-CD Oracle install

I've done the pfs_exportfs thing from another server before. It's a huge pain in the (|).
There has to be a better way to do it.
I don't know if I have enough space anywhere to copy the contents of all 4 CD's.
Thanks, but I'm hoping for a better way..... If not, I'll just have to go with the slow pfs_exportfs solution.
John Love_3
Regular Advisor

Re: Switching cd's in multi-CD Oracle install

Manoj,
I'm not sure what you mean by "going back to the root in the gui installer".
Can you be more specific?
The box pops up asking for the path to the 2nd disk. Do you mean to change this path to / then unmount, remount disk 2 and then change the path back to /SD_CDROM?
Please explain more.
Thanks!
A. Clay Stephenson
Acclaimed Contributor

Re: Switching cd's in multi-CD Oracle install

Okay John, Plan B. If you are running orainst from /cdrom I don't see how you can unmount.
Can you copy the first CD to a local directory
and then run from there. It's usually not possible to copy just the /cdrom/orainst directory because of shared library linkages.

I agree the remote pfs_mounts are no fun.

If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: Switching cd's in multi-CD Oracle install

John

The shell from you started runInstaller , please press a return and then cd / , this will not clear the GUI but will take you out from /cdrom directory.


Manoj
Roger Baptiste
Honored Contributor

Re: Switching cd's in multi-CD Oracle install

John,

How about copying the
contents of both the CDs
on a System with enough
storage space and then
doing an NFS export to
all systems? Then, you can
install Oracle on any system
without all this CD swapping
business. Also, PFS can
act weird at times, so you
can avoid that headache too.

Oracle install on NFS over 100BT is neat and transparent

If you are doing this on
a one-time basis, one option
is to copy atleast ONE CD
on to a temporary mountpoint
on the system and use the
other CD through CDROM.

HTH
raj
Take it easy.
Haitham Hamad
Regular Advisor

Re: Switching cd's in multi-CD Oracle install

Since you are installing Oracle 8i then you running from an X-windows environment. To avoid device busy when changing the CD.
1- Go to the terminal session you started the installer from (Where you logged as Oracle).
2- Click to get back to your prompt,
3- cd to anyother directory say /opt
4- Open another session as root
5- run
/usr/sbin/pfs_umount /SD_CDROM
This will unmount CD-ROM .
Change the CD's , mount the new one, and click OK on the ORacle GUI installer.

If this didn't work then you have to kill the process hanging on /SD_CDROM by
fuser -ku /SD_CDROM.

Hope this helps, haitham
Osa Jousou
Occasional Advisor

Re: Switching cd's in multi-CD Oracle install

This is what Oracle Documentation says:
You may get "Device busy" messages when attempting to unmount/eject
the 1st cdrom of the product set, because on the session that started
the installer the current working directory is the cdrom mount point.

To overcome this problem:
. Return to the session/window where the installer was launched.
. Press the Return key once or twice to get the unix prompt.
. Change directory to a location other than the cdrom mount point,
for example 'cd /tmp'.
. You should now be able to 'umount' or 'eject' the 1st cd-rom.