We want to copy the contents of one disk to another, but with the complication that the source disk has the data in a LUKS encrypted partition, and the destination disk will not use LUKS.
Normally we would use "dd" to copy the contents of a disk, but will dd read the encrypted or decrypted data from the source disk? If it "sees" the encrypted data and copies that to the destination disk then it won't work, because the destination will not use LUKS. I guess in that case we'll have to use a higher level tool like rsync to copy the data.
Just to elaborate, our source disk is sdb, which has a partition sdb2, which is LUKS encrypted and presented as /dev/mapper/bricks. An XFS filesystem has then been created on top of /dev/mapper/bricks. Thanks in advance.