Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Do I need to use resize2fs and --reduce-device-size together, or is --reduce-device-size an alternative to using resize2fs? Commented May 9, 2020 at 0:50
  • Also, is there a way I can move the headers out of the encrypted disk (so that if the HDD falls into the wrong drive they can't prove it is encrypted at all)? Commented May 9, 2020 at 1:39
  • cryptsetup does not do filesystem resize, you have to do that beforehand. migrating to an external luks header sounds like a separate question. you can do that as is (keeping the data offset, making the change reversible) or move all data (set data offset to 0, to reverse you'd have to move all data again) Commented May 9, 2020 at 9:17