Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Search Forums:




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
    #4  
Old 08-29-2005
bakunin bakunin is online now Forum Staff  
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 2,272
Thanks: 9
Thanked 121 Times in 92 Posts
You are doing the "umount" part correctly. The problem is (and this is indicated by the error message) that you can't umount a filesystem (on every UNIX, this is nothing special to AIX) as long as there is a process using a file in it or there is a user session with the PWD somewhere in the filesystem.

Therefore a "mount /myfs" followed by a "umount /myfs" will work, but if you do a "cd /myfs" in between it won't. Change your working directory to some other place and it will work again.

With "fuser" you can (this is why andryk gave you the hint) find out processes which use files in the FS.

As this is a beginners question you should ask it there and ask a moderator to move this thread there.

bakunin