[Haifux] Nested disk encryption

Eli Billauer eli at billauer.co.il
Thu Sep 16 17:12:34 MSD 2010

Why does a benchmark tool help me here? I don't care about performance. 
I'm more worried about revealing a bug in the kernel, and finding myself 
with junk data written to my disk. Or something like that.

Since I have no idea about how things are organized in the kernel, I 
also have no clue on whether it's structured enough to stack one layer 
on another without anything happening.

For example, suppose I have 16 loop devices in my system, and created a 
loop device inside a loop device, and went on using up all 16 in a 
nested manner (loop device "babushka"). In theory, this should work. Now 
ladies and gentlemen, place your bets on if this works if I'll try this 
for real. (I'm not really going to try this, but that's the idea).


Zaar Hai wrote:

> Some time ago I did what you've done, but not for some real use - just
> for testing. I suggest you run iozone (or other io benchmark) on your
> loopback partition and see if anything goes wrong.
> On Thu, Sep 16, 2010 at 11:46 AM, Eli Billauer <eli at billauer.co.il> wrote:

Web: http://www.billauer.co.il

More information about the Haifux mailing list