umount /home device is busy

I wanted to unmount /home drive on a server.

If any program is accessing the drive, you won’t be able to unmount the disk. You need stop stop all process that use the drive.

To find the programs that use the /home partition, run

lsof /home

Or

fuser -mv /home

This list all process, stop the process or kill it. Now you should be able to unmount the partition with

umount /home
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *