Hide Forgot
Description of problem: cryptsetup-reencrypt (just the utility) is not aware of non-512 sector size block devices Version-Release number of selected component (if applicable): cryptsetup-reencrypt-1.6.2-2.el7 (even upstream 1.6.2) How reproducible: Steps to Reproduce: 1. create 4K physical sector size block device (modprobe scsi_debug sector_size=4096 dev_size_mb=100) 2. echo aaa | cryptsetup --force-password luksFormat /dev/sdd (/dev/sdd being 4K sector blockdev) 3. cryptsetup-reencrypt --debug /dev/sdd Actual results: cryptsetup-reencrypt fails w/ message "Cannot read /dev/sdd" Expected results: /dev/sdd is reencrypted
Fix is already on it's way to upstream cryptsetup
fixed in upstream: http://code.google.com/p/cryptsetup/source/detail?r=957201e7586f16f11106d7cde23289401d14d47b (comment in git wrongly references different bug)
verified cryptsetup-reencrypt-1.6.3-1.el7.x86_64 works
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.