Skip to content

Cannot unmount with ldmc -r #59

@kaarelmand

Description

@kaarelmand

I must apologise for being a Linux noob, but this is a nice program I would really like to use, if only I could get it working somehow. The problem is that I cannot seem to unmount my flash drive with ldmc -r. I have installed ldm from the AUR, I have enabled ldm.service and have set the required options in /etc/ldm.conf.

Here is what I tried:

  1. My usb flash drive gets automounted nicely when I plug it in.
  2. I run ldmc -l, the drive is listed (/dev/sdb1).
  3. I run ldmc -r /dev/sdb1, and get the message "Operation completed successfully".
  4. I run ldmc -l again, the drive is not listed any more.
  5. However, when I run lsblk, the drive is still shown as mounted.
  6. Thinking that there is another service somewhere that is automounting the drive, I run 'sudo systemctl stop ldm.service && sudo umount /dev/sdb1.
  7. This seems to unmount the drive, as lsblk is not showing it as mounted any more.
  8. I reinsert the flash drive, but it does not get mounted, so I guess there isn't another program trying to automount the drive (successfully, at least).
  9. I run 'sudo systemctl start ldm' and the drive gets automounted quickly, it shows up in both lsblk and ldmc -l.
  10. When I run ldmc -r /dev/sdb1 again, I get the message "Operation completed successfully" again.
  11. Now, however, even ldmc -l shows it still as mounted, not only lsblk.

So, I don't know what to do any more. Might it be a problem with udev configuration? Unfortunately I am quite the noob and I don't know where to start troubleshooting it. My Arch Linux install is also quite old now and I don't remember all the things I did in /etc/ several months ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions