[dm-crypt] LUKS is written to a device with no partition table. Is it possible to add a partition table?

Michael Kjörling michael at kjorling.se
Tue Apr 19 23:15:49 CEST 2016


On 19 Apr 2016 22:20 +0200, from ralf+dm at ramses-pyramidenbau.de (Ralf Ramsauer):
> On 04/19/2016 10:06 PM, Arno Wagner wrote:
>> Now, if you want to lose all data, here is what you can try:
>> 1. Resize filesystem in LUKS container to half device size.
> 
> Joe has 2.8/4 TiB in use. I think it only works in-situ which is at
> least as double as dangerous as your approach :-)

Joe also has 12 TB of storage space available, and has already shrunk
the btrfs file system to 4 TiB. I think a plausible argument can be
made that there is room for two copies of the data.

-- 
Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)


More information about the dm-crypt mailing list