The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


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

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-02-2008 10:41 PM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 02:11 AM
issue with unmount /hypercd on AIX 4.3.3.0 ripley AIX 0 03-08-2005 11:50 AM
[FreeBSD] Unable to unmount indo1144 Filesystems, Disks and Memory 6 12-11-2002 02:16 AM
unmount doesn't work DISTURBED UNIX for Dummies Questions & Answers 2 07-04-2002 03:14 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-28-2005
Registered User
 

Join Date: Aug 2005
Posts: 1
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
Reply With Quote
Forum Sponsor
  #2  
Old 08-29-2005
Registered User
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 186
If you have IBM support I would contact them. They have been very helpful to me in the past.
Reply With Quote
  #3  
Old 08-29-2005
andryk's Avatar
Registered User
 

Join Date: Sep 2003
Posts: 448
Have u tried fuser, see man fuser for example
Reply With Quote
  #4  
Old 08-29-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0