10

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
  • What issue, exactly? are you really trying to unmount the root filesystem of your running OS? – steeldriver Jan 4 '17 at 1:30
  • This is a LVM partiton. I'm not an expert, but I should be able to resize this partition, but it is not the case actually. – user636872 Jan 4 '17 at 1:31
19

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

4
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy