Skip to content

LuksClose does not always close the volume #9

@livier

Description

@livier

Hi pigmonkey,
I still have some issues and try to understand what happened.
At the end of the script the command luksClose does not take off the directory /dev/mapper/crypt-xxx corespondin to the device.
Then I try to do it manually
sudo cryptsetup luksClose crypt-xxx
Le périphérique crypt-xxx est toujours occupé.

And then, it can't be opened for the next backup :-(

I have to reboot the computer to make it work again.
I also tryed to run the script before lanching the graphical UI (kde here) and then it worked properly.

Seems like kde remember the device has been opened and keep it mapped for a next use (looking inside backup for exemple) and then disable next call off the script.
Is there a way to force luksClose at the end of the backup
or other ideas ?

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