Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to umount a path , I have removed it from /etc/mtab , I tried use umount , it pop the below error
#umount /tmp/ora1
umount: /tmp/ora1: device is busy
I also tried fuser /tmp/ora1and lsof /tmp/ora1, it did not show anything is opering ( the command is stopped on the command prompt ) , can advise how to un-mount a path ?
just found that when I use the command lsof , it did not show anything , I tried to run lsof in other server , it should show all server processes , but this server did not have any output ,
I have a problem now , when I cd to this path /tmp/ora1 , the server will hang up , besides , I can not do backup now .
Can advise how to fix it ?
thanks.
It is unlikely that kernel was blocked because of cd to unstable path. Try to log on from a different virtual terminal. There is a problem that I suppose you have a process that had created file and unlinked it, but it still holds it open. (MS Windows bans this and you will get error message if you try to delete a file that is in use, causing need to reboot in case if a process or service hanged.)
This procedure creates anonymous inode. The inode will remain invisible and in use until process closes it or, more likely, when the process finishes.
You have posted no data as to even guess which process might be responsible.
it is strange that that I type "cd /or" , then the screen is hang , so I think the file system has problem , can help to advise what is wrong ?
Can you post a list of processes from ``ps -ef''? You gave insufficient information for me to help you. Some services use anonymous (unlinked) temp files, that could cause described symptoms. You will not be able to unmount until last such process is terminated and unnamed inodes free'd.
Attempt to unmount such file system could cause described instability and hang terminals. This is my guess of what could be troubling you, but without a list of processes you run it is impossible to tell.
You can use the "-l" option to force unclean umount. This is not advsed, but buggy devices/filesystem can hang the shell for a new second. This is because it try to generate the autocomplete list. The device do not respond so it wait until the kernel I/O timeout trigger. It is in no wait hanging the server, but in some case, it may slow it down. Linux does not scale very well under I/O pressure.
thank all ,
As this is very urgent , I have reboot the server per the approval from management , it works now .
thanks.
Since you keep posting things about Red Hat ENTERPRISE Linux, we will AGAIN tell you to contact RHEL support...if it's 'urgent' that's why you pay them. Also, this hints at being a filesystem with an Oracle database on it...unmounting it while in use is NOT a good thing.
You're paying for support from both Oracle and Red Hat, yet you have never acknowledged that you have contacted them, or that people have given you that advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.