Menu

Linux unmount problem

2025-05-15
2025-05-18
  • Excelis Four

    Excelis Four - 2025-05-15

    Kubuntu 25.04 Veracrypt 1.26.20

    IS there a FORCE unmount on the linux version (That's the main question)

    Successfully mounted drive from sdhc card.
    Unable to unmount.
    Warnings "Device or resource busy" or "target is busy"

    Tried shutting down programs. No effect. Even shut down computer removed drive and rebooted and Media still noted the veracrypt and the filenames present.
    Serious security issue (Hence is there a QUICK shut down NOW function?

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2025-05-18

    For the first part of your issue: technically we cannot force unmount on Linux if the volume is being used. This is not a limitation of VeraCrypt but rather a Linux kernel behavior that we cannot control. That's why there is no force unmount on VeraCrypt.

    You can always know which process is blocking the volume from being unmounted using the command lsof. For example, if your volume mount directory is /media/veracrypt4, you can get the list of process that have open handle on the volume by typing: sudo lsof /media/volume4

    An example output is as follows:

    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
          Output information may be incomplete.
    COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
    bash    7048 vera  cwd    DIR  253,0    16384    1 /media/veracrypt4
    

    From there, you can kill the culprit process(es) and unmount your volume.

    Regarding the second part of your issue where you mention that the VeraCrypt volume persists after shutdown, this should not be possible. The decrypted contents of a VeraCrypt volume reside only in memory and are exposed to user-space applications through FUSE. After a shutdown and reboot, nothing remains in memory and no data should be visible.

    This suggests that something else is occurring beyond the typical behavior of VeraCrypt. I recommend carefully reviewing your system setup and configuration. If you can provide additional details about your volumes, such as where and how you mount them, along with relevant screenshots, we can analyze the situation further and offer a more precise explanation.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.