Interaction of geom_vinum & geom_eli
daniel.scheibli at edelbyte.org
Sun Sep 7 16:37:54 UTC 2008
I'am currently considering setting up a FreeBSD based file server
using geom_vinum and geom_eli.
The stackable approach of GEOM sounds very powerful, so I would
like to better understand (a) if the planned setup is sound and
(b) how the classes would interact in case of an error.
The configuration I'am looking for is the following stack:
o UFS2 on top of the crypted RAID volume
o geom_eli on top of the RAID volume
(encrytion only, no data authentication)
o geom_vinum on top - spanning all 4 disks
o geom_eli on top - separate for each disk
(no encryption, only data authentication)
o 4x 750 GB HDD
(2x PATA, 2x SATA)
So the intention is to use geom_eli on the device level to detect
bit rot like errors. On the SW RAID level it is used to encrypt
Reading geli(8), the data authentication section at the end states
that "When data corruption/modification is detected, geli will not
return any data, but instead will return an error (EINVAL)."
My question is how does geom_vinum react on this?
I suspect it will reconstruct the data from the parity written
to the other disks to service the request.
But how is the disk - with the corrupt block - handled? Is the
entire disk marked as bad? Or does it only mark that single block?
Does it attempt to rewrite the corrupt data with the reconstructed
Thank you very much
More information about the freebsd-geom