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
Leave a Reply