Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot unmount filesystem

Status
Not open for further replies.

KOG

MIS
Jan 31, 2002
303
GB
Hi

I created this filesystem using the wrong user so wish to remove it but for some reason I cannot unmount it before removing it. There is no contents within this /opt filesystem so I am rather puzzled by the error message I recieved.

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

Any idea what it means?

Thanking you all in advance.

Katherine [pumpkin]
 
Katherine, I assume you're not within the filesystem when trying to unmount it? That's a common cause amd just requires a cd out of there. It's also possible that some other process is accessing the filesystem too. Can you do a fuser /opt to find out whether this is the case. You can then kill the process and should be able to unmount the filesystem. HTH.
 
Hi KEn,

You are so right, it is another common mistake of mine now ..

Cheers

K
 
When you can't unmount a filesystem, you probably have some process accessing it.
If you don't know what process access this filesystems, you can use the following command :
fuser $filesystems
or
fuser $mounted_point
Ex :
fuser /dev/cd0
or
fuser /cdrom

It returns list of process id accessing the filesystems.
With the "ps -ef |grep $pid" command you can identify and kill them if needed...
 
Hi Katherine

Do you run AIX 5.1 ???
In AIX 5.1 the /opt is a Filesystem of the Base Operating System
You can check the PID with fuser -c the ps -ef | grep this PID ( without the c )

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top