Operating System - HP-UX
1819901 Members
2606 Online
109607 Solutions
New Discussion юеВ

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

 
SOLVED
Go to solution
Brando Sumayao
Advisor

Cannot do UMOUNT command when installing Oracle 8.1.7

I am trying to unmount CD #1 of the Oracle 8.1.7 installation pack so that I can insert CD #2, and I cannot do the UMOUNT command (umount /cdrom) since I am getting the ff error message:

nfs umount: nfs_unmount: /cdrom: is busy

What are my options? Help and thanks!

Brando

10 REPLIES 10
G. Vrijhoeven
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Hi,

1. Unmount the nfs mount first.
2. Make shure you ore any other user are not standing in the /cdrom dir if you are trying to umount it (check fuser commmand)

Hope this will help.

Gideon
Craig Rants
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Brando,
Usually oracle cds use pfs mount. Below is the format I usually use for mounting and unmounting Oracle cd's

vi /etc/pfs_fstab and verify:
/dev/dsk/cntndn /cdrom pfs-rrip xlat=unix 0 0
(or put these options on command line)
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom
/usr/sbin/pfs_umount /cdrom
ps ???ef|grep pfs
kill ???9 (pfsd)
kill ???9 (pfs_mountd)

pfs_umount ???c (cleanup files if have trouble pfs mounting)

If this is not the case in your situation just disregard my comments.

Good Luck.
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Roger Baptiste
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

IF you started the oracle installation from the /cdrom mount directory, then you
cannot unmount it mid-way!.
You would need to cancel the
install and start it from
outside the mountpoint.

HTH
raj
Take it easy.
Brando Sumayao
Advisor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Rajman,

What is the command to copy the contents of the 2 CDs into a disk on my server so that I can install from the disk and not from /cdrom instead?

Thanks (and thanks to all who have replied so far!).

Brando
Roger Baptiste
Honored Contributor
Solution

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

<>

# Create two filesystems
of around 600MB each.

#Mount them with names
like /oracle_817/CD1
/oracle/_817/CD2

# Mount the first CD (as per the PFS mount instructions).

# Cp from first CD to CD1 mount point using a
cp -R Src dest
OR
cd /cdrom
find . -print -depth | cpio -pdmuvl $DESTDIR

#unmount first cd; (remember
it is pfs cd!)
#mount second cd and repeat
the same process.

Now, you can use these two
filesystems as NFS filesystems
by exporting it read-only.
This way, you can install
oracle on other systems without bothering about CD's.

-raj
Take it easy.
James R. Ferguson
Acclaimed Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Sanjay_6
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Hi Brando,

Are you using pfs_mount. You have to use pfs_mount to mount the CD and pfs_umount to unmount the CD.

If you started the oracle installation after CD'ing into /cdrom, you cannot umount it. If nothing helps, you have to reboot the box to solve this issue and restart the installation.

The pfs_mount procedure has already been advised above by craig, so that should help if you are not already aware of that.

You can try the doc site at oracle "docs.oracle.com" and downlaod the documentation from here which might help you.

Hope this helps.

Regds
Carlos Fernandez Riera
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

If i recall well, running cd / and umount is enough.

Some time ago there was lots of threads refering to oracle install and pfs_mount ( that reports lots of points to someone).
unsupported
Brando Sumayao
Advisor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

Now, I can't even unmount my mount point for the CD-ROM (which is /cdrom)

Here is what I am getting ...

# cd /
# pfs_umount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
umount: /cdrom: Block device required

I have rebooted the server twice but getting the same results.

Any other suggestions ...

Thanks.
Roger Baptiste
Honored Contributor

Re: Cannot do UMOUNT command when installing Oracle 8.1.7

<<# pfs_umount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
umount: /cdrom: Block device required >>

Hi, this error occurs if
umount was tried before pfs_umount! (a commonly made mistake). Your only option is
a reboot!

<>

Ok, since you rebooted, you
don't need to do pfs_umount.
Simply, eject the CD. It will
come out.

BTW, remember assigning points is a way of giving your feedback to the solution suggested.

-raj
Take it easy.