Hi, potentially you could 'keep' your old luks header and copy it over (backup+restore) to the new partition, if you plan on keeping masterkey, passwords, uuid. Is there a better way? Depends on what you call better? faster/safer? Imho your plan should be the safest version and that's probably what you want, esp. if part. 5 has enough space to hold what's on part 6 (So you would have your data twice just to make sure everythink is okay. If you want to be safer: Make another backup on an extra storage device before resizing part5. I am not sure how stable btrfs is. Regards -Sven On Thu, January 30, 2014 17:04, Louis-David Mitterrand wrote: > Hi, > > My linux system is on a dm-crypt volume with btrfs on /dev/sda6. As I > just recovered 100GB from windows (/dev/sda5) I'd like to merge 5 and 6 > to have a larger dm-crypt volume. Here is the disk layout: > > 1 2048 2050047 1000.0 MiB 2700 Basic data > partition > 2 2050048 2582527 260.0 MiB EF00 EFI system > partition > 3 2582528 4630527 1000.0 MiB 8300 Basic data > partition > 4 4630528 4892671 128.0 MiB 0C01 Microsoft > reserved part > 5 4892672 218167295 101.7 GiB 8300 Basic data > partition > 6 464865280 1000215182 255.3 GiB 8300 Linux filesystem > > What is the best strategy to acheive that? I'm thinking of booting a > live cd, creating a new dm-crypt volume on 5, copy the system from 6 to > 5, remove 6, resize partition 5, cryptfs resize 5, btrfs resize 5. > > Is there a better way? > > Thanks, > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > http://www.saout.de/mailman/listinfo/dm-crypt > _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt