ZFS the perfect FS? if only...

Bakul Shah bakul at bitblocks.com
Thu May 10 22:46:06 UTC 2007


> If you could start with a 3 drive zraid2 as the underlying pool
> storage and later add drives to the existing zraid2 as space was
> needed, then ZFS would be the ultimate FS (at least for me).
> 
> Any takers?  How hard would this be?

You can do something like this:

zpool create foo raidz2 dev0 dev1 dev2 dev3
zpool add    foo raidz2 dev4 dev5 dev6 dev7

The new devices are in a different raidz2 group but but *all
of the space* will be used for any filesystem on this pool --
isn't this good enough and if not, why?  If you add a new
disk to the same raid, you have to redistirbute most data.
Not worth it

Note you need at least 3 disks for raidz and 4 disks for raidz2.

In general you want to put almost all your disks in a single
pool but not in a single mirror, raidz or raidz2.  Root zfs
should be in its own pool and perhaps databases.  See
http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide


More information about the freebsd-current mailing list