Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.

David LaPoint
Occasional Advisor

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

This might be belaboring the point, but I also make a point of not running the installer from mount point directory. I will give a FQPN instead. Then when I shell out of the Oracle Universal Installer, I've never had a problem cd'ing to another file system and unmounting the CD rom.

Dave
You want to ask me a quick question? Sure! You can have the quick answer too, 42!
John Love_3
Regular Advisor

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

David,
You're not belaboring the point at all.
Point of fact, I used the FQPN when I did it the second time.
Thank you.