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



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-29-2005
Registered User
 

Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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 -f /replicas/source

it says :

umount: 0506-349 Cannot unmount /dev/fslv04: The requested resource is busy.

I rebooted the system , then also problem still persists ...

what i want , is to remove the filesystem completely from the system

one option i tried is i commented out the corresponding entry in /etc/filesystems and given reboot , i guess , i have not seen the filesystem.

so my question is , is this way of doing is correct ? is there any otherway , i am totally confusing in how to remove this filesystem...

please help me
Sponsored Links
    #2  
Old 08-29-2005
Registered User
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
If you have IBM support I would contact them. They have been very helpful to me in the past.
Sponsored Links
    #3  
Old 08-29-2005
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
 

Join Date: Sep 2003
Posts: 448
Thanks: 0
Thanked 0 Times in 0 Posts
Have u tried fuser, see man fuser for example
    #4  
Old 08-29-2005
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 2,217
Thanks: 9
Thanked 92 Times in 77 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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNMOUNT a windows file system big123456 Linux 4 03-03-2008 01:41 AM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 05:11 AM
issue with unmount /hypercd on AIX 4.3.3.0 ripley AIX 0 03-08-2005 02:50 PM
[FreeBSD] Unable to unmount indo1144 Filesystems, Disks and Memory 6 12-11-2002 05:16 AM
unmount doesn't work DISTURBED UNIX for Dummies Questions & Answers 2 07-04-2002 07:14 PM



All times are GMT -4. The time now is 02:50 PM.