All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Question on Disk Layout (Stacking supported ?)
@ 2011-03-10 18:06 Robert.Heinzmann
  2011-03-10 18:57 ` Arno Wagner
  2011-03-10 19:09 ` Milan Broz
  0 siblings, 2 replies; 4+ messages in thread
From: Robert.Heinzmann @ 2011-03-10 18:06 UTC (permalink / raw)
  To: dm-crypt

Hello list, 
 
I have a more general question regarding dm_crypt. 
 
  Q: What is the best way to incorporate dm_crypt in a production ready device stack ? 

Summing I have multipathing (optional) and I want flexible storage management with pvresize, multiple filesystems and everything (e.g. in "the clouds") LVM is the way to go. So my ideal (and working) setup would look like this: 
 
Filesystem: [      /boot      ] [ /   ]  [ /var ]
LVM         [                 ] [ lv1 ]  [ lv2  ]
LVM         [                 ] [ vg (RootVG)   ]
LVM         [                 ] [ pv            ]
Crypt:      [                 ] [ DM_CRYPT      ] 
Partition:  [ part1 - (boot)  ] [    part2      ]
SCSI:       [            Block Device           ] 
DMMP:       [   Path1         ][    Path2       ]  (Optional Layer)
Disk:       [            LUN                    ] 
 
Do you see any problems (from the dm_crypt side) with this setup in terms of deadlocks, or unsupported stacking  or is this a "supposed to work" configuration ? 

I know that device mapper always causes performance penalty because of missing barrier support (earlier Kernels) and I/O splitting in 4k units, however I have a BBU, so not a problem really and performance penalty is allowed.

I have seen that the split to 4k causes latency to increase dramatically, however this seems to be a "minor" issue also (altought no solution so far).

Mit freundlichen Grüßen / Kind Regards
Robert Heinzmann

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

end of thread, other threads:[~2011-03-11  9:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 18:06 [dm-crypt] Question on Disk Layout (Stacking supported ?) Robert.Heinzmann
2011-03-10 18:57 ` Arno Wagner
2011-03-10 19:09 ` Milan Broz
2011-03-11  8:34   ` Robert.Heinzmann

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.