Is growfs(8) safe?

Ivan Voras ivoras at freebsd.org
Wed Aug 24 09:24:23 UTC 2011


On 23/08/2011 22:23, Lev Serebryakov wrote:
> Hello, Freebsd-fs.
>
>   Is growfs(8) safe now? I remember, there were some problems with
> non-zeroed data, but it seems to be fixed.
>
>    But it HAS one bug for sure: "int p_size," which overflows on big
> FSes. It is in sectors, and 32 bit signed, so max value is only
> slightly less than 1Tb (!)

I use it approximately 1-2 times a year to resize virtual machines 
(though every time < 1 TB). It worked fine so far.

>   Does somebody use it? Or everybody migrate to ZFS already?

I'll reconsider moving to ZFS when there's a week without a critical bug 
being reported ;)




More information about the freebsd-fs mailing list