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
1 |
lsof /home |
Or
1 |
fuser -mv /home |
This list all process, stop the process or kill it. Now you should be able to unmount the partition with
1 |
umount /home |