Bug#409875: [Pkg-cryptsetup-devel] Bug#409875: cannot setup device-mapper mapping ontop of /dev/md* device

Henrique de Moraes Holschuh hmh at debian.org
Fri Feb 9 15:33:36 CET 2007


On Fri, 09 Feb 2007, David Härdeman wrote:
> > On Thu, Feb 08, 2007, David Härdeman wrote:
> >> dmsetup / cryptsetup both fail to create a mapping on top of a raid
> >> device (/dev/md0 in this case).
> >
> >  I don't know where the error lies, but I created two loop devices loop0
> >  and loop1, added them to a new RAID 1 md0 device, and ran cryptsetup on
> >  the resulting md0 successfully.
> 
> Ditto. I've succesfully setup a crypto mapping on a raid1 device under
> qemu, which leads me to believe that it is something specific to Johannes
> setup.

Warning: It is not safe on all kernels out there, due to kernel bugs.  See
recent flow of patches from the md maintainer in LKML.  I don't know if they
all landed on 2.6.16.y and 2.6.19.y and 2.6.20 yet.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




More information about the Pkg-cryptsetup-devel mailing list