ironicbadger
n00b
- Joined
- Nov 8, 2013
- Messages
- 28
Hi guys,
Looking for some advice on the optimal config for my home server, which I've decided to migrate from unRAID to ZFS due to performance and bitrot prevention. I have checked out and discounted snapraid and aufs as I want realtime parity computation, plus the performance figures I've seen posted online for ZFS are a real draw along with CoW AND snapshots! Another goal is learning for me, ready for some interviews I will be lining up later in the year.
Hardware
I will be running this with a Xeon 1245 v3, Supermicro X10SAT, 6 (or 7 depending on the advice following this post) 3TB drives, a Supermicro SAS-AOC-SASLP-MV8 card and 32GB RAM (non ECC as I'm a poor student!).
Software
For better or for worse I want this box to do a lot of stuff at once. I'm a big fan of virtualisation and will rely on it heavily to achieve everything I want to do. This one box will be my fileserver, my main XBMC instance and also my desktop PC in one.
The desktop portion will be probably a Windows VM with a GPU passed through via vt-d. The main XBMC instance will use the CPU graphics from the host OS, with ZFS running along side on the host.
I will be using Arch Linux as the host OS. That is not up for discussion in my mind!
What I really wanted advice on was the actual setup of the drives into pools.
RAID-Z2
I have 7 3TB drives in my possession right now, I want to be able to withstand a double failure and want an 'optimal' configuration. It is worth saying that my house is only wired to gigabit ethernet, though a few of the VMs I'll be running will have higher than that access via the bridge NIC provided by Xen or KVM. So my goal is to have a write speed in excess of 400MB/s, and read speeds hopefully even greater than that.
I have read in quite a few places, this being one, that for a double parity situation I want to use 6 drives in a RAID-Z2 configuration. I could I suppose add my 7th drive to this config, but what sort of performance penalty will I incur? Can I just have a 7 drive RAID-Z2 config?
Using this RAID calculator I've calculated with Z2 for 6 drives = 10.9TB space, 7 drives = 13.6TB usable space. The latter is a nice balance if you ask me between size / cost / reliability but what I can't answer is the performance hit.
Command to actually create the array
I've been playing around with a few of the drives (only 3 are clear of data right, I"m copying stuff around right now ready to migrate in a couple of days) and wanted to clear up the syntax for creating the actual array ahead of time.
Does this look correct? Source
Monitoring and management
One of the things I like most about unRAID is the crappy webGUI which gives me a quick overview of what's going quickly. With ZFS-on-Linux what tools are available to me which give a similar output to the
If you made it this far, I salute you. Thanks for your input in advance!
Looking for some advice on the optimal config for my home server, which I've decided to migrate from unRAID to ZFS due to performance and bitrot prevention. I have checked out and discounted snapraid and aufs as I want realtime parity computation, plus the performance figures I've seen posted online for ZFS are a real draw along with CoW AND snapshots! Another goal is learning for me, ready for some interviews I will be lining up later in the year.
Hardware
I will be running this with a Xeon 1245 v3, Supermicro X10SAT, 6 (or 7 depending on the advice following this post) 3TB drives, a Supermicro SAS-AOC-SASLP-MV8 card and 32GB RAM (non ECC as I'm a poor student!).
Software
For better or for worse I want this box to do a lot of stuff at once. I'm a big fan of virtualisation and will rely on it heavily to achieve everything I want to do. This one box will be my fileserver, my main XBMC instance and also my desktop PC in one.
The desktop portion will be probably a Windows VM with a GPU passed through via vt-d. The main XBMC instance will use the CPU graphics from the host OS, with ZFS running along side on the host.
I will be using Arch Linux as the host OS. That is not up for discussion in my mind!
What I really wanted advice on was the actual setup of the drives into pools.
RAID-Z2
I have 7 3TB drives in my possession right now, I want to be able to withstand a double failure and want an 'optimal' configuration. It is worth saying that my house is only wired to gigabit ethernet, though a few of the VMs I'll be running will have higher than that access via the bridge NIC provided by Xen or KVM. So my goal is to have a write speed in excess of 400MB/s, and read speeds hopefully even greater than that.
I have read in quite a few places, this being one, that for a double parity situation I want to use 6 drives in a RAID-Z2 configuration. I could I suppose add my 7th drive to this config, but what sort of performance penalty will I incur? Can I just have a 7 drive RAID-Z2 config?
Using this RAID calculator I've calculated with Z2 for 6 drives = 10.9TB space, 7 drives = 13.6TB usable space. The latter is a nice balance if you ask me between size / cost / reliability but what I can't answer is the performance hit.
Command to actually create the array
I've been playing around with a few of the drives (only 3 are clear of data right, I"m copying stuff around right now ready to migrate in a couple of days) and wanted to clear up the syntax for creating the actual array ahead of time.
Does this look correct? Source
Code:
zpool create myraidz2 raidz2 /dev/disk1 /dev/disk2 /dev/disk3 /dev/disk4 /dev/disk5 /dev/disk6 /dev/disk7
Monitoring and management
One of the things I like most about unRAID is the crappy webGUI which gives me a quick overview of what's going quickly. With ZFS-on-Linux what tools are available to me which give a similar output to the
Code:
zpool status myraidz2
If you made it this far, I salute you. Thanks for your input in advance!