Encrypting raid5 volume with geli

Ivan Voras ivoras at freebsd.org
Fri Dec 12 02:07:55 PST 2008


Ulf Lilleengen wrote:
> On tor, des 11, 2008 at 10:01:37pm -0600, Rick C. Petty wrote:
> *snip*
>> There are a set of patches that lulf@ has which I believe put the volume in
>> "up" state initially instead of "down", but maybe it only works for
>> mirrors.  The code in current and RELENG_7 does initially put the volume in
>> "down" state.
>>
> Yes, it only works for mirrors, since I thought it doesn't really matter if a
> mirror is properly initialized, since the user need to put data into the
> mirror for it to be useful anyway. The same goes for RAID-5 I guess, but I
> was not sure if it might trigger some weird behaviour since parity would not
> match if reading the volume. I will test out a small modification I made,
> which removes the need to run 'gvinum start' on the raid5 plexes.

It doesn't have to be "weird" behaviour, depending on whether gvinum
checks parity on reads (does it?). If it does, it will only have to
ignore checksum errors in this case.

I suppose people will want to run utilities like diskinfo -vt on the
volume with invalid parities so it's not a theoretical scenario :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20081212/2808d169/signature.pgp


More information about the freebsd-geom mailing list