With Ubuntu 18.04.1 on a fresh install, I sometimes cannot unmount my data backup partition. I was dd'ing a Linux iso from the partition /dev/sdb4 to a USB drive. Later, I exited the terminal, and tried to unmount from the nautilus unmount option. The error message shows "Volume is busy".
Error unmounting block device 8:19: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdb4: target is busy
I ran lsof and this is the result:
:~$ sudo lsof |grep sdb3
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
jbd2/sdb3 4532 root cwd DIR 8,2 4096 2 /
jbd2/sdb3 4532 root rtd DIR 8,2 4096 2 /
jbd2/sdb3 4532 root txt unknown /proc/4532/exe
So, I have to do a lazy unmount to detach the partition. Is there any solution for this? Is this linked to systemd.