Interaction of geom_vinum & geom_eli

Ulf Lilleengen lulf at stud.ntnu.no
Mon Sep 8 13:58:21 UTC 2008


On Sun, Sep 07, 2008 at 06:07:28PM -0700, Daniel Scheibli wrote:
> 
> Hi all,
> 
> 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:
> 
[...]
> 
> 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
> data?
> 
Hi,

Gvinum will set the state of the drive to "down" (And you will get a
"GEOM_VINUM: lost drive XXX" message). It will then as you say reconstruct
the data if it's part of a RAID-5 plex. It will not however "salvage" the
data on the drive like for instance ZFS. 

-- 
Ulf Lilleengen


More information about the freebsd-geom mailing list