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

2007-02-09 Thread David Härdeman
On Fri, February 9, 2007 11:45, Loic Minier said:
 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.

So I'm hoping that someone will come up with some suggestions on how to
troubleshoot it further on his machine.

(This is my last cross-post on this subject, I promise, please keep
further discussions to the bug report address only -
[EMAIL PROTECTED])

-- 
David Härdeman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-02-09 Thread Johannes Schlumberger
Hi,

   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.

I have tried and I can successfully run cryptsetup on another raiddevice (md1)
made from loopdevices without any problems.
best regars,
Johannes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-02-09 Thread Henrique de Moraes Holschuh
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