On Thu, Dec 16, 2010 at 12:59 AM, Lanky Doodle <lanky_doo...@hotmail.com> wrote:
> I have been playing with ZFS for a few days now on a test PC, and I plan to 
> use if for my home media server after being very impressed!

Works great for that.  Have a similar setup at home, using FreeBSD.

> Also, at present I have 5x 1TB drives to use in my home server so I plan to 
> create a RAID-Z1 pool which will have my shares on it (Movies, Music, 
> Pictures etc). I then plan to increase this in sets of 5 (so another 5x 1TB 
> drives in Jan and nother 5 in Feb/March so that I can avoid all disks being 
> from the same batch). I did plan on creating seperate zpoolz with each set of 
> 5 drives;

No no no.  Create 1 pool.

Create the pool initially with a single 5-drive raidz vdev.

Later, add the next five drives to the system, and create a new raidz
vdev *in the same pool*.  Voila.  You now have the equivalent of a
RAID50, as ZFS will stripe writes to both vdevs, increaseing the
overall size *and* speed of the pool.

Later, add the next five drives to the system, and create a new raidz
vdev in the same pool.  Voila.  You now have a pool with 3 vdevs, with
read/writes being striped across all three.

You can still lose 3 drives (1 per vdev) before losing the pool.

The commands to do this are along the lines of:

# zpool create mypool raidz disk1 disk2 disk3 disk4 disk5

# zpool add mypool raidz disk6 disk7 disk8 disk9 disk10

# zpool add mypool raidz disk11 disk12 disk13 disk14 disk15

Creating 1 pool gives you the best performance and the most
flexibility.  Use separate filesystems on top of that pool if you want
to tweak all the different properties.

Going with 1 pool also increases your chances for dedupe, as dedupe is
done at the pool level.

-- 
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