check which processes are accessing a partition:
[sourcecode language=“python”]lsof | grep ‘/opt’[/sourcecode]
kill all the processes accessing the partition (check what you’re killing, you could loose data):
[sourcecode language=“python”]fuser -km /mnt[/sourcecode]
try to unmount now:
[sourcecode language=“python”]umount /opt[/sourcecode]