<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div>Hello, <br><br></div><div>I have trouble while in top of the stack :<br>mkfs.ext4 /dev/mapper/raid0luks2 <br><div>/dev/mapper/raid0luks2 alignement is offset by 147456 bytes<br></div>This may result in very poor performance (re-) partitioning is suggested.<br></div><div>I have the same pb with mkfs.xfs<br></div><div><br></div>I am using following scheme:</div><div><br></div>LUKS2           => created with cryptsetup -v luksFormat --type luks2 /dev/md127 --cipher aes-gcm-random --integrity aeae<br></div><div>RAID 0           => created with mdadm chunk=32<br></div>3 Disks <b>NVME</b> => partition with gdisk (fist sector : 2048)<br><br></div><div>I got this information with lsblk -t for each 3 disks, i got the same information.<br></div><div>nvmeXn1<br></div><div>       -> NvmeXn1p1                                 ALIGN = 0</div><div>                  -> md127                               ALIGN = 0<br></div><div>                           -> raid0luks2_dif           ALIGN = 147456<br></div><div>                                       -> raid0luks2     ALIGN = 147456<br></div><div>1) How can I solve my alignment issue? <br></div><div>2) Is it normal to have low performances while writing with dd. I was using LUKS previously and I got only one dev mapper. Now I got 2. Does it have a big impact on performances?<br><br></div><div>Kind regards.<br></div></div></div></div></div>