All of lore.kernel.org
 help / color / mirror / Atom feed
* LUKS2 - RAID0 - NVME : alignment issue
@ 2018-10-12 11:56 laurent cop
  2018-10-12 16:09 ` Ondrej Kozina
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: laurent cop @ 2018-10-12 11:56 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 1108 bytes --]

Hello,

I have trouble while in top of the stack :
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

I am using following scheme:

LUKS2           => created with cryptsetup -v luksFormat --type luks2
/dev/md127 --cipher aes-gcm-random --integrity aeae
RAID 0           => created with mdadm chunk=32
3 Disks *NVME* => partition with gdisk (fist sector : 2048)

I got this information with lsblk -t for each 3 disks, i got the same
information.
nvmeXn1
       -> NvmeXn1p1                                 ALIGN = 0
                  -> md127                               ALIGN = 0
                           -> raid0luks2_dif           ALIGN = 147456
                                       -> raid0luks2     ALIGN = 147456
1) How can I solve my alignment issue?
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?

Kind regards.

[-- Attachment #1.2: Type: text/html, Size: 1689 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-04 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 11:56 LUKS2 - RAID0 - NVME : alignment issue laurent cop
2018-10-12 16:09 ` Ondrej Kozina
2018-10-18 17:51 ` Mikulas Patocka
2018-10-19  6:47   ` Milan Broz
2018-10-27 23:05     ` laurent cop
2018-11-04 16:33       ` Milan Broz
2018-10-18 18:43 ` Mike Snitzer
2018-10-19  6:43   ` Milan Broz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.