16

When I ran the command

umount /dev/mapper/ubuntu--gnome--vg-root I I got :

umount: /: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)

I tried some different options with the command lsof and fuser, but it didn't work so far.

Does anyone have any idea how to resolve this issue?

2 Answers2

29

Please try this commands:

umount -l /PATH/OF/BUSY-DEVICE
umount -f /PATH/OF/BUSY-NFS(NETWORK-FILE-SYSTEM)

Reference: https://stackoverflow.com/questions/7878707/umount-a-busy-device

Lv1z
  • 331
0

try these:

dmsestup ls

if your output contain "ubuntu--gnome--vg-root" then try to deactivate lvm volume at first, then try to umount your volume:

lvchange -an "Path-to-Your-LVM-Volume (in this case: /dev/mapper/ubuntu--gnome--vg-root)"

umount /dev/mapper/ubuntu--gnome--vg-root