[dm-crypt] Need help with sync'ing dmsetup info to disk

Bryan Kadzban cryptsetup at kdzbn.homelinux.net
Fri Jul 15 05:13:48 CEST 2011


Johann Burkard wrote:
> Hello,
> 
> Am 14.07.2011, 05:36 Uhr, schrieb Bryan Kadzban 
> <cryptsetup at kdzbn.homelinux.net>:
>> That's not how it works.  dmsetup does not save tables to disk.
>> 
>> cryptsetup reads the LUKS header off disk (if you use LUKS).  See
>> the FAQ for the layout of this header (and where the key slots go).
> 
> thanks Bryan. Would you say that I should restore the LUKS header
> from the old backup? Would that work?

Depends on what changed.  If you have a backup, it may help.  I'd grab a
backup of the current bits on disk before changing anything permanent,
though.


More information about the dm-crypt mailing list