Pseudobolt
Dabbler
- Joined
- Apr 16, 2014
- Messages
- 17
Hi,
I'm about to start playing around with a server which I eventually intend to set up as a home NAS file and media server. I plan to test it out a fair bit before I put any real data on it, because I have read more than enough warnings in these forums that if you set ZFS up wrong, you are basically screwed.
My server has 8 drives in it currently, plus I can add at least three, and I think probably four, more to it. (It hasn't actually arrived yet -- I will check all this out once it gets here in the next day or two.) Essentially, I am considering two options: 11 drives in 8+3 RAIDZ, or 12 drives in two vdevs of 4+2. I'm looking for advice from experienced people on the tradeoffs involved.
Firstly, upgrading: the drives it comes with are 500G, and I plan to slowly upgrade them as my budget allows. Doing 2x(4+2) means I can upgrade half of them and get an immediate size increase, whereas (8+3) will require upgrading all of them to expand the size. I also seem to recall reading in a thread here (which I now can't find) that two vdevs is generally faster than a single large vdev because the data is striped across them. (On the other hand, I expect a relatively light load on the server and am limited to gigabit ethernet or wireless-n speeds anyway, so the performance difference may be irrelevant.)
On the other hand, I also remember reading (and again I can't find it) that if you enlarge one vdev in a zpool, ZFS will start writing most(/all?) its new data in that vdev because most of the pool's free space is there. If so, this sounds like it might limit any potential performance benefit I could get from having two vdevs. But will this end up actually being slower than a single vdev (because the data's spread over only half the number of disks)?
I realise some or all of these questions might not have good answers apart from "try it and see". But if anyone with some knowledge of the subject can tell me that one's a better idea, it would be good to know.
Thanks!
~ a FreeNAS noob
(Although with a fair bit of general IT background)
I'm about to start playing around with a server which I eventually intend to set up as a home NAS file and media server. I plan to test it out a fair bit before I put any real data on it, because I have read more than enough warnings in these forums that if you set ZFS up wrong, you are basically screwed.
My server has 8 drives in it currently, plus I can add at least three, and I think probably four, more to it. (It hasn't actually arrived yet -- I will check all this out once it gets here in the next day or two.) Essentially, I am considering two options: 11 drives in 8+3 RAIDZ, or 12 drives in two vdevs of 4+2. I'm looking for advice from experienced people on the tradeoffs involved.
Firstly, upgrading: the drives it comes with are 500G, and I plan to slowly upgrade them as my budget allows. Doing 2x(4+2) means I can upgrade half of them and get an immediate size increase, whereas (8+3) will require upgrading all of them to expand the size. I also seem to recall reading in a thread here (which I now can't find) that two vdevs is generally faster than a single large vdev because the data is striped across them. (On the other hand, I expect a relatively light load on the server and am limited to gigabit ethernet or wireless-n speeds anyway, so the performance difference may be irrelevant.)
On the other hand, I also remember reading (and again I can't find it) that if you enlarge one vdev in a zpool, ZFS will start writing most(/all?) its new data in that vdev because most of the pool's free space is there. If so, this sounds like it might limit any potential performance benefit I could get from having two vdevs. But will this end up actually being slower than a single vdev (because the data's spread over only half the number of disks)?
I realise some or all of these questions might not have good answers apart from "try it and see". But if anyone with some knowledge of the subject can tell me that one's a better idea, it would be good to know.
Thanks!
~ a FreeNAS noob
(Although with a fair bit of general IT background)