On Mon, May 17, 2010 at 6:25 AM, Andreas Gunnarsson <andr...@tiomat.net>wrote:

> I've got a home-storage-server setup with Opensolaris (currently dev build
> 134) that is quickly running out of storage space, and I'm looking through
> what kind of options I have for expanding it.
>
> I currently have my "storage-pool" in a 4x 1TB drive setup in RAIDZ1, and
> have room for 8-9 more drives in the case/controllers.
> Preferably I'd like to change it all to a RAIDZ2 with 12 drives, and 1
> hotspare, but that would require me to transfer out all the data to an
> external storage, and then recreating a new pool, which would require me
> buying some additional external storage that will not be used after I'm done
> with the transfer.
>
> I could also add 2 more 4 drive vdevs to the current pool, but then I would
> have 3 RAIDZ1 vdevs striped, and I'm not entirely sure that I'm comfortable
> with that level of protection on the data.
>
> Another version would be creating a 6 drive RAIDZ2 pool, moving the data to
> that one and the destroying the old pool and adding another 6 drive vdev to
> the new pool (striped).
>
> So the question is what would you recommend for growing my storage space:
> 1. Buying extra hardware to copy the data to, and rebuild the pool as a 12
> drive RAIDZ2.
> 2. Move data to a 6 drive RAIDZ2 and then destroy the old pool and stripe
> an additional RAIDZ2 vdevs.
> 3. Stripe 2 additional RAIDZ1 4 drive vdevs.
> 4. Something else.


I'd go with option 2.

Create a 6-drive raidz2 vdev in a separate pool.  Migrate the data from the
old pool to the new pool.  Destroy the old pool.  Create a second 6-drive
raidz2 vdev in the new pool.  Voila!  You'll have a lot of extra space, be
able to withstand up to 4 drive failures (2 per vdev), and it should be
faster as well (even with the added overhead of raidz2).

Option 3 would give the best performance, but you don't have much leeway in
terms of resilver time if using 1 TB+ drives, and if a second drive fails
while the first is resilvering ...

Option 1 would be horrible in terms of performance.  Especially resilver
times, as you'll be thrashing 12 drives.

-- 
Freddie Cash
fjwc...@gmail.com
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to