Online resizing LUKS? / cannot access volume

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

 



Hi,

I'm seeking expert help/opinion on my current problem: I cannot access a
LUKS encrypted volume anymore. There are 2 possibilities I currently
think of:
1) different keymap when creating the LUKS volume (unlikely, this system
   runs since a long time without changing sth. there), or major brain
   damage/confusion when creating the volume.
2) online resizing of LUKS volumes somehow corrupts it.

I have a second volume data1 with same passphrase, therefore I don't
think I've lost it.

To judge if 2) is also unlikely, I need experts with deeper insight into
the LUKS/encryption mechanism.

>From my bash history, the relevant commands were:

 867  cryptsetup luksFormat /dev/vg0/data
 868  cryptsetup luksOpen /dev/vg0/data data0
 869  mke2fs -j -E resize=88888888 -T largefile /dev/mapper/data0
 870  tune2fs -c0 -i0 -m2 /dev/mapper/data0
 871  tune2fs -c0 -i0 -m2 -L data0 /dev/mapper/data0
 872  tune2fs -c0 -i0 -m2 -L data0 -M /data /dev/mapper/data0

 1377  lvresize -L +10g /dev/vg0/data
 1378  cryptsetup luksResize
 1379  man cryptsetup
 1380  cryptsetup resize /dev/mapper/data0
 1381  ext2online /data

Then I rebooted some time, and now I can't get the volume mounted
anymore ("Command failed: No key available with this passphrase.").

Has someone hints if the online resizing could be the reason for that?

Best regards,
  Uwe
-- 
Uwe Menges, PGP Key ID 0x29F2841F
Encrypted e-mail preferred, see [http://gnupg.org] or [http://pgpi.org].

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx



[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