![LUKS2 - RAID0 - NVME:对齐问题](https://linux22.com/image/1572605/LUKS2%20-%20RAID0%20-%20NVME%EF%BC%9A%E5%AF%B9%E9%BD%90%E9%97%AE%E9%A2%98.png)
我在下面的堆栈顶部遇到了麻烦:
mkfs.ext4 /dev/mapper/raid0luks2
/dev/mapper/raid0luks2 alignement is offset by 147456 bytes
This may result in very poor performance (re-) partitioning is suggested.
I have the same pb with mkfs.xfs
我正在使用以下堆栈:
LUKS2 => created with cryptsetup -v luksFormat --type luks2 /dev/md127 --cipher aes-gcm-random --integrity aeae software RAID 0 => created with mdadm chunk=32 3 Disks NVME => partition with gdisk (fist sector : 2048)
我使用 lsblk -t 对每 3 个磁盘获取了此信息,我得到了相同的信息。
nvmeXn1
-> NvmeXn1p1 ALIGN = 0
-> md127 ALIGN = 0
-> raid0luks2_dif ALIGN = 147456
-> raid0luks2 ALIGN = 147456
我该如何解决我的对齐问题?
使用 dd 写入时性能低下是正常的吗?我之前使用 LUKS,只有一个 dev mapper 性能良好。现在我有了 2 个。它对性能有很大影响吗?
亲切的问候。