Fix “Device Is Busy” Error When Unmounting a Filesystem in Linux
Problem Overview
While attempting to unmount a filesystem using the
umountcommand, Linux may return the following error:umount: /mount/point: device is busy
This happens when one or more processes are actively using the mounted filesystem. The system prevents unmounting to avoid data corruption or unexpected application failures.
This issue is commonly encountered during:
disk maintenance
filesystem checks
storage migration
system cleanup
server shutdown or reboot preparation
Prerequisites
Before starting, make sure the following conditions are met:
- Root or sudo privileges
- Basic understanding of Linux filesystems
lsofandfuserutilities installed (usually available by default)- The mount point you are trying to unmount
Solution
- Identify and confirm the exact mount point
[root@pythonlinuxhub /]# umount /data umount: /data: target is busy.[root@pythonlinuxhub /]# mount | grep /data /dev/mapper/rhel_10-data on /data type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
Use lsof command and find the processes using the filesystem
[root@pythonlinuxhub /]# lsof +D /data COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ping 3015 root 1w REG 253,3 22 131 /data/ping_result ping 3015 root 2w REG 253,3 22 131 /data/ping_result ping 3025 root cwd DIR 253,3 25 128 /data ping 3025 root 1w REG 253,3 22 131 /data/ping_result ping 3025 root 2w REG 253,3 22 131 /data/ping_result[root@pythonlinuxhub /]# lsof | grep /data ping 3015 root 1w REG 253,3 22 131 /data/ping_result ping 3015 root 2w REG 253,3 22 131 /data/ping_result ping 3025 root cwd DIR 253,3 25 128 /data ping 3025 root 1w REG 253,3 22 131 /data/ping_result ping 3025 root 2w REG 253,3 22 131 /data/ping_resultNote the PID and process name.
- Use fuser command and find the processes using the filesystem
[root@pythonlinuxhub /]# fuser -vm /data USER PID ACCESS COMMAND /data: root kernel mount /data root 3015 F.... ping root 3025 F.c.. ping
- Gracefully stop or kill the blocking process
[root@pythonlinuxhub /]# kill 3015 [root@pythonlinuxhub /]# lsof | grep /data ping 3025 root cwd DIR 253,3 25 128 /data ping 3025 root 1w REG 253,3 22 131 /data/ping_result ping 3025 root 2w REG 253,3 22 131 /data/ping_result [1]- Terminated nohup ping google.com >> /data/ping_result 2>&1 (wd: ~) (wd now: /) [root@pythonlinuxhub /]# kill -9 3025 [2]+ Killed ping google.com >> /data/ping_result 2>&1 (wd: /data) (wd now: /) [root@pythonlinuxhub /]# lsof +D /data
- Unmount the filesystem
[root@pythonlinuxhub /]# umount /data
- To unmount NFS or unreachable remote mounts
[root@pythonlinuxhub /]# umount -f /mount-point
Ensure the filesystem is unmounted
[root@pythonlinuxhub /]# mount | grep /data
To make the unmount permanent, comment or delete the filesystem entry in
/etc/fstabso it won’t be mounted after reboot.
Note:
Always identify processes before forcing unmount
Avoid
kill -9unless necessaryNever force-unmount critical system paths
For production servers, notify users before unmounting shared storage
Shaik Mohammed Faruk
Software Engineer sharing practical tutorials and insights on Linux, Python, SQL, and modern technologies.
Read more About Me

Hands down one of the most stable platforms I have used recently. The variety of games is impressive and the loading speed is great on vnshetbet.
Super reliable platform with a great selection of slots. I appreciate how transparent everything is with the withdrawals. Love phjili999
This site has a great vibe and the winning odds feel fair. I had a great run last night and the withdrawal was fast. Give brricowin a try
The app version is so much more convenient than the browser. I can play anywhere and anytime now. Get the jiliokloginapp today.
Found this place through a friend and it did not disappoint. The bonuses are actually fair and easy to claim on bdok999.
Super easy to get started. The registration was a breeze and the game selection is top notch. Go to jili66login
Had a great experience with the bonuses here. The registration process was a breeze and I started winning almost immediately. Check out win96jiliph if you want a fair game.
Had a bit of trouble with my old account but the support team fixed it instantly. The login process at kastil89login is very secure and fast.
Really impressed with the customer support here. They answered my questions in minutes and helped me get started with my first deposit. Great vibes at inyouwin.
Really impressed with the quality here. It is rare to find a site that is this stable and user friendly these days. Big thumbs up! bd09bt
Best app experience I’ve had in a while. Everything is organized and the graphics are top notch. If you are looking for a reliable app, try 77pinasapp.
The graphics are amazing and the gameplay is just addictive. I had a great time winning some decent amounts yesterday. Love q444game so much.
Fast deposits and even faster withdrawals. That is all I really care about and this site delivers perfectly. mustang303login is the real deal.
Quick access and no glitches. It is refreshing to find a site that actually works properly on mobile. Keep it up vcv999login.
The customer support is actually helpful and responsive which is rare these days. I felt safe depositing my money and the games are genuinely exciting. Love jiliuucasino!
Login is super quick and I love the bonuses they offer for new users. It makes the whole gaming session much more exciting. Check out winph55loginapp if you want some real action.
The VIP perks on this site are actually legit. I feel like a valued player here and the customer support is super helpful. You should give 96xbajeevip a shot!
pkgb777 is a gem. I appreciate how transparent they are with their rules and promotions. It makes the whole gaming experience much more relaxing and trustworthy.
The game selection is top notch and the graphics are crisp. It is honestly such a vibe playing on yoyoslot after a long day of work.
Finally found a reliable place to get the app. The installation was a breeze and everything works perfectly on my phone. Big thanks to pkx666gamedownload for the quick setup.
Safe, secure, and very efficient. I have had zero issues with my deposits and withdrawals here. puasbetlogin is the real deal.
If you are looking for a VIP experience with great rewards, this is the spot. Everything from registration to withdrawal was seamless. I’m really happy with f1688vip.
Quick deposits and even quicker withdrawals. That is all I really care about and they deliver every time. bd777u is honestly the most trustworthy site I have used recently.
Top notch service and a great selection of options. It is refreshing to find a site that is this stable and responsive. br7gbet is definitely worth a visit.
I’ve been looking for a reliable platform like this for a while. The interface is super smooth and everything works perfectly. Definitely giving phjilikkk a try today!
I was looking for a reliable place to play and this is it. Very secure and the bonuses are actually fair. Check out 17777betlogin
The app version is just fantastic. It makes playing on the go so much easier and the graphics are crisp. Try jljl16applogin
Installing the app made everything so much easier. No more refreshing the browser, just instant access to the games. Love using bdr777betapk on my phone.
The game selection is amazing and the bonuses are a huge plus for new players. I am having a blast on brb777games.
If you love slots then this is the place to be. The graphics are stunning and the wins feel rewarding. Log in at ggplay88slotlogin and see for yourself.
I’ve tried a few platforms, but the interface here is so smooth. Really enjoying my time on jili00game, definitely my new favorite spot!
Finding a reliable source for the app was hard until I found this site. Installation was a breeze. Go to aajilidownload to get started.
Fast registration and even faster withdrawals. It is refreshing to find a site that does not make you jump through hoops. Great job 288jililogin.
Best betting experience I’ve had in a long time. No lag and the odds are very competitive. Just used win444betlogin and won big.
The login process is seamless and I never have any issues with my account access. It is refreshing to find a site that actually works properly. Visit phpcomelogin for a hassle-free experience.
Was struggling to find the official download link but this site made it so easy. The app is lightweight and runs perfectly on my old phone. Visit ok777betappdownload to get started.
I have tried many sites but this one actually delivers on its promises. The withdrawal process is fast and transparent. I am really happy with the results. Join vnm99win today.
Finally found a platform that doesn’t complicate the deposit process. Everything is straightforward and transparent. I trust vngp88 with my gaming budget.
Great to see such a reliable login portal for the community here. Everything works as expected without any glitches. Visit bajiapppakistanlogin
The registration process was incredibly quick and I was playing my favorite games within five minutes. Simple, clean, and effective. You should check out br78win right now!
The app version is even better than the web site. It is so convenient to play on the go without any lag. Download kingjililoginapp now.
Finally found a place where the bonuses actually make sense. The registration process was a breeze and I was playing in minutes. vn888now
Best slot experience I’ve had in a while. The RTP seems decent and the animations are great. Check out bolaslot888 if you’re feeling lucky today.
I love how stable the connection is. No lagging even during peak hours which is rare for these kinds of sites. aajililogin is my new go-to spot for gaming.
Everything from registration to the first win was seamless. It’s a reliable spot for anyone looking for quality gaming. Highly recommend k444bet.
The app version is just fantastic. It makes betting on the go so much easier and the updates are frequent. Download 617betapp and start winning.
The registration was a breeze and I was playing within minutes. Everything feels very professional and secure. Visit jilipark22login for a great time.
Just had a massive win last night! The thrill on this site is unmatched and the graphics are top notch. phbigwinph is definitely my new favorite spot.
Finally found a place where the bonuses actually work. The game variety at pera789onlinecasino is amazing and I’ve had some great wins lately. Keep it up!
Finally found a place where the bonuses actually make sense. The registration process was a breeze and I was playing in minutes. vn888now