raid of a concat in gvinum

Ulf Lilleengen lulf at stud.ntnu.no
Tue Feb 5 07:58:39 PST 2008


On tir, feb 05, 2008 at 04:08:07pm +0100, Paolo Tealdi wrote:
> At 15.36 05/02/2008 +0100, Ulf Lilleengen wrote:
>> . By your calculation I assume you
>> want to do raid5 on the data. (Getting 300 + 300 + 300 where 1/3 is used for
> 
> Yes i would like to create a raid 5 disk of 600GB
> 
>> perform the following operations:
>> 
>> 1. Use the current concatenated volume you already have,
>> 2. Create three new disks, one of them pointing to the volume and the two
>> other pointing to you new disks.
>> 3. Create a raid5 plex and volume.
>> 
>> The additional configuration would be something like:
>> 
>> drive r1 device /dev/gvinum/<yourconcatvolume>
>> drive r2 device /dev/<newdisk1>
>> drive r3 device /dev/<newdisk2>
> 
> I thought that it was a conf like that, but i wasn't sure that the 
> configuration program accept a gvinum device instead of a real device.
> 
It should work, but there will be some overhead since a request to that
provider will have to pass through gvinum twice. And, since your version of
gvinum is quite different from my patched version, it might work in just one
of them.
> 
>> I have not tried this myself, so I can't guarantee that it works.  I'd
>> appreciate if you send your current configuration so I can make sure my tips
>> here will be correct to your wishes.
> 
> I will do a good backup and i'll try in the next few days.
> 
> 
>> As a last note, I recommend trying out my patches for gvinum in case you run
>> into any problems. It also contains the mentioned manpage-update. They can be
>> found here:
>> http://people.freebsd.org/~lulf/patches/gvinum/
>> Currently I only have >= RELENG_7 patches though. I can generate
>> RELENG_6-patches if you really want :)
> 
> when will you commit that patches in the release ?
These patches will not be committed to the 7.0-RELEASE since it need
sufficient review first, and since we're almost at RC2 it's way to late to
put it in now :) However, I'll be working on getting it in for 7.1.
> 
> In any case i'll try the configuration and tell you the result.
> 
Great. Good luck :)

-- 
Ulf Lilleengen


More information about the freebsd-geom mailing list