Filesystem unable unmount


 
Thread Tools Search this Thread
Operating Systems AIX Filesystem unable unmount
# 1  
Old 01-31-2016
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
# 2  
Old 01-31-2016
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?
# 3  
Old 01-31-2016
Find other filesystems
Code:
mount | grep /oracle/SID

Find processes
Code:
fuser /oracle/SID
fuser -c /oracle/SID
lsof /oracle/SID

# 4  
Old 01-31-2016
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
# 5  
Old 01-31-2016
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?????

Last edited by hicksd8; 01-31-2016 at 01:21 PM..
# 6  
Old 01-31-2016
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:

Code:
# 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
# 7  
Old 02-03-2016
Hi
use the command
fuser -kcux ==> Kill all process in directory
than you can umount the filesystem
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Force unmount of a SWAP filesystem left over from bad Live Upgrade

Hello, Long story short, we built an alternate boot env. back in July and applied the latest CPU to about 15 servers. Of the 15 servers, 7 servers failed to start the zones after the luactivate / reboot. The zones failed to rename from <zone>-<boot_env> back to <zone>. This is fixed in patch... (16 Replies)
Discussion started by: mainegeek
16 Replies

2. Solaris

ZFS flash install "Unable to create Filesystem error"

Hi, I am trying to get an HPz420 workstation instaled (zfs root pool) via a jump-start server. I have a zfs image (from this workstation) the Solaris release is 10 1/13 update 11. I use a sparc U25 install server, upgraded to the same solaris build 10 1/13. This server is configured to install... (8 Replies)
Discussion started by: sc0rpie
8 Replies

3. Red Hat

Unable to write files on a filesystem

hi mounted filesystem is 50% and appropriate permissions were there but im still unable to write files ? (3 Replies)
Discussion started by: rajeshz
3 Replies

4. Solaris

Unable to mount ext4 filesystem (created from Ubuntu) in Solaris 11

Hello everyone, I am trying to mount an ext4 filesystem which I created from Ubuntu. But mount command fails saying: prakhar@Solaris:~$ sudo mount /dev/dsk/c10t0d0p1 /mnt Password: mount: /dev/dsk/c10t0d0p1 is not this fstype And I also tried this: prakhar@Solaris:~$ fstyp... (6 Replies)
Discussion started by: Prakhar Mishra
6 Replies

5. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

6. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

7. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

8. Solaris

Unable to check / filesystem

Hi buddies, I have T1000 and Solaris 10 installed on it. After a power failure system shut down improperly. Error Message is WARNING - Unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c0t0d0s0). Jul 18 10:16:09 svc.startd:... (6 Replies)
Discussion started by: ahsen
6 Replies

9. AIX

how do i unmount ?

hi all, I am new to AIX as well as UNIX also ,i have a question One of my program has created a new filesystem on the system..... df shows : /dev/fslv04 2031616 2030648 1% 3 1% /replicas/source when i tried to umount the above filesystem by umount... (3 Replies)
Discussion started by: vamshi_k
3 Replies

10. Filesystems, Disks and Memory

[FreeBSD] Unable to unmount

I have mounted an ISO-file to do a network install of Red Hat. Afterwards, I removed the ISO and forgot about the mount. Now, I am unable to unmount this mount, because the target no longer exists... Here's the error I get when I try to unmount: Even if I put all the files back and... (6 Replies)
Discussion started by: indo1144
6 Replies
Login or Register to Ask a Question