Filesystem unable unmount

Hi all ,

I have issue oracle filesystem name /oracle/SID unable to unmount even though no any process are running mentioned fs .would appreciate anyone assist further high level .my system running aix 6.1

Can it be that there are other filesystems that are mounted on top of the system that will not unmount? How did you check for processes that use the filesystem?

Find other filesystems

mount | grep /oracle/SID

Find processes

fuser /oracle/SID
fuser -c /oracle/SID
lsof /oracle/SID

hi Scrutinizer,

On top fs /oracle/SID is fs /oracle without unmount /oracle/SID I cant unmount parent fs /oracle rest fs all unmounted.

Hi madeingermany,

i did check all yr cmd before i post.thanks

I'm not an AIX specialist so I'm only talking in generic Unix terms. I appreciate that some of the points I'm about to make are blindingly obviously but I'll mention them anyway just for completeness.

Points to check are:-

If there is an Oracle database or journal file on the filesystem, has the Oracle database been shutdown before the umount is tried?

Are there any shares published from that filesystem (eg, NFS handle) that a remote node has hold of?

Is it the server end of a client/server configuration running some other protocol that the remote client is holding open?

As already mentioned, are there any other filesystems mounted beneath directories on the filesystem?

Ensure that you yourself are not in any directory on the filesystem when you attempt the umount as that will make it 'busy'.

What error to do get when it refuses to umount the filesystem?????

hicksd8 has compiled a neat (check-)list and i suggest you follow his suggestions. If you have checked all these options and you are absolutely sure nothing applies to you but yyou still cannot unmount the filesystem: use the force-option of umount which AIX has:

# umount -f <fs>

Note that this is the very last option to take, not the shortcut for "i am too lazy to investigate". It is not without danger and you can cause considerable damage that way.

I hope this helps.

bakunin

Hi
use the command
fuser -kcux ==> Kill all process in directory
than you can umount the filesystem

@dix..........Thanks for your post, however, I think we've all been trying to avoid the use of brute force as this could cause damage (eg, if file(s) are being written to or, even worse, an Oracle dB is open and running on that filesystem).

As Bakunin said, the OP should be encouraged to find out what's going on if at all possible.

1 Like