gbde data corruption?

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Apr 29 08:07:25 PDT 2003


In message <20030429162332.M20908 at daneel.foundation.hs>, Heiko Schaefer writes:
>...replying to myself,
>
>apparently updating g_bde_crypt.c from rev 1.12 to 1.13 has effects on the
>format of data or the layout of the encrypted filesystem. the stuff that
>was on that mount with the old kernel is gone now.

Yes, I fumbled a commit and slipped in some debugging code in 1.12.

I've had 1.13 running my toture-test here for 38 hours now with no
trouble.

>> PS: i also have some performance issues with gbde, about which i'll whine
>> some other time :) it seems to me that the transactions on the disc (the
>> way i use gbde at least) are too small to reach the theoretical speed of
>> the harddrive.

Much worse than that:  They get cut into smaller I/O requests and the
cpu has to chew on them a lot.  While GBDE is not directly slow, it
will never be as fast as an unencrypted partitition.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list