luks container write-protected and read-only, can't be mounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I hope you can help me.

I have a LUKS Container file called didi with files in it and mounted it (as didiOpen). While opening one file in the Container my Raspberry Pi crashed and made a reboot without closing and unmounting the Container.

Now I can open the Container but everytime when I want to mount the Container I get an Error, that the Container is read-only and cannot be mounted.

I use sudo mount -t ext4 /dev/mapper/didiOpen /mnt everytime.
Error: 
mount: /dev/mapper/didiOpen is write-protected, mounting read-only
mount: cannot mount /dev/mapper/didiOpen read-only

When I check cryptsetup status OpenContainer it said:
type:    LUKS1
  cipher:  aes-xts-plain64
  keysize: 512 bits
  device:  /dev/loop0
  loop:    /media/user/vid/didi
  mode:    readonly

Closing and opening the Container does not help. There I get no Error, so opening/closing is not the problem, only the mounting of the opened container.

How can I get my write permissions back or copy all stuff without mounting in a new container?
I've read luks write some special datas by closing the volume regulary? That is maybe the failure at the moment.

Thanks a lot,
didi


Sent with ProtonMail Secure Email.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux