ZfS & GEOM with many odd drive sizes

Doug Rabson dfr at rabson.org
Wed Jul 25 12:53:57 UTC 2007


On 25 Jul 2007, at 12:17, Mark Powell wrote:

> On Wed, 25 Jul 2007, Doug Rabson wrote:
>
>>> gmirror is only going to used for the ufs /boot parition and  
>>> block device swap. (I'll ignore the smallish space used by that  
>>> below.)
>>
>> Just to muddy the waters a little - I'm working on ZFS native boot  
>> code at the moment. It probably won't ship with 7.0 but should be  
>> available shortly after.
>
> Great work. That will be zfs mirror only right?

The code is close to being able to support collections of mirrors. No  
raidz or raidz2 for now though.

>
>>>  I believe my reasoning is correct here? Let me know if your  
>>> experience would suggest otherwise.
>>
>> Your reasoning sounds fine now that I have the bigger picture in  
>> my head. I don't have a lot of experience here - for my ZFS  
>> testing, I just bought a couple of cheap 300GB drives which I'm  
>> using as a simple mirror. From what I have read, mirrors and  
>> raidz2 are roughly equivalent in 'mean time to data loss' terms  
>> with raidz1 quite a bit less safe due to the extra vulnerability  
>> window between a drive failure and replacement.
>
> So back to my original question :)
>   If one drive in a gconcat gc1 (ad2s2+ad3s2), say ad3 fails, and  
> the broken gconcat is completely replaced with a new 500GB drive  
> ad2, is fixing that as simple as:
>
> zpool replace tank gc1 ad2

That sounds right.



More information about the freebsd-fs mailing list