Cyknight
Dabbler
- Joined
- May 2, 2015
- Messages
- 19
Hello everyone,
This post will be a bit long in the tooth, but I'm trying to get all the information in, so hopefully you'll bear with me.
First, a short background.
I've been running FREENAS servers for years, back to early 9 days, for my own home use, adding servers as the need arose.
A little while ago a power surge wrecked two of my three running servers and I decided to take the opportunity to consolidate everything after all these years.
I'm certainly not claiming to be an expert in FREENAS though. I've re-read the latest recommendations etc. and browsed the forums, but it still leaves me with a few questions.
Second, I'll make the intended use clear first.
The server as I intend to run it will have two distinct functions.
1) One ZPool will be used as an additional (and more importantly local) back-up location of two portions of data that reside on my main office desktop. One is pictures (on a mirrored drive set and backed up to the cloud), the other is personal data (also on a mirrored drive, and weekly back-ups are brought to a remote vault. The intend here is as such not as a true safety feature, but more a convenience factor should anything go amiss with my main computer (ie retain access using laptops should the need arise)
2) The second ZPOOL will be as a storage location for movies (and some music) for media players. No, not plex, the server will not be doing the encoding, it's just a place for the media players to load the data from. Every last one of these are from my own discs, so no, mirroring is not required, as the data is stored on disks (that get stored off site again once they are loaded up.). While it would be a pain to reload everything (again), no data would be lost.
The obvious point of the above list is to underline that I do NOT need cries of 'raid is not an alternative for back-up'. I'm well aware of it, and that's not the intend of the setup.
Heck half of the intend is just the fun of building it in the first place!
Alright, let's get to the hardware setup I have shall we?
This is indeed a DIY setup, re purposing existing older gear, including existing HDD drives.
Motherboard: TYAN S5397AG2NRF Tempest i5400PW
CPU: Dual Xeon X5260
RAM: 16x 4GB ECC DDR2 for a total of 64 GB
HBAs, all running their respective P20 IT firmware
1: LSI 9201-16e
2: LSI 9200-16e
3: LSI 9200-8i
Additional cards:
1: USB 2.0 PCI card
2: SIL 3112 running base firmware (non-raid) - Yes not recommended, stay with me I'll get to it.
FREENAS OS will run on an SSD directly connected to the motherboard.
All other drives are standard HDD (NAS) drives.
Yes, it's older hardware. Yes I know it'll be a powerhog. Again, all these components are existing, so there's zero upfront cost.
The thought is that the first ZPOOL (for the data) will run on the 9200-8i with 8 drives and one from the motherboard for a total of 9 drives (mainly 1TB, with a stray 2Tb)
The second ZPOOL (for the movie storage) will run on the 9200-16e and 9201-16e, totaling 30 drives (mix of 2,3 and 4 Tb).
The idea of the mixed drives is the following. As drives fail (or I find a good deal here and there), they will be replaced with 4TB or larger drives. Should a drive fail in the data ZPOOL, I'll replace one of the smaller drives in the movie ZPOOL with a 4TB, and move the 2 or 3 TB that is freed up to the data one, thus eventually increasing the capacity for future need as it arises.
It'll be running on the latest stable release once it goes 'live' (might see if 12 is worth it if out by then or if I stick to 11 for now)
Just to touch on the SIL card - it will NOT have any drives connected. It's all going to esata ports (with an extra two that connect to the motherboard sata ports) so that I have the ability to add a few temporary drives easily to create a temporary pool to transfer files over in case I need to (ie there's a risky resilver due to more than one drive failure on the 'data' pool).
The USB card is there as an alternate/additional quick temporary connection.
So here is where I'd love to get some thoughts and advise:
For the first ZPOOL, I'm looking at 9 drives in a single RAIDZ3 vdev. That'll leave me with plenty of storage. My one question however is, would it make more sense to use 8 drives, and take one of the 1Tb drives, combine it with a 10th drive (500Gb) in a mirror instead, to run as a jail/plugin pool? The only one I'm thinking of at this point in time is ClamAV though, I've limited to no use for any of the others that I'm aware of. This is one of the items where I'm not sure I'm not overthinking the situation. If I do want ClamAV, should I just create a jail location on the first Zpool?
For the second ZPOOL, I'm thinking 3 vdevs of 10 drives in RAIDZ2. This is the other items I'm not sure on.
I am operating under the assumption that 11 is still the recommended max drives per vdev, but I'm not certain that is still accurate (latest info I've been able to find is pre 11 if not pre-coral). So does this still hold true? Would it be better to go all 30 drives in a RAIDZ3 vdev if the 11 drive recommendation is no longer valid? Or something else entirely?
Assuming the 11 drive max is still in place, is RAIDZ2 good enough, or should I move to Z3 on the 3 vdevs? That would mean storage is going to be close to 75% right from the start, and don't see a major concern for data loss. Again, this is not intended as a back-up, just adding redundancy as a minor measure to help prevent me from having to redo things.
Last direct question: based on the usage scenario (no high read/write demand) am I correct in assuming that a slog and l2arc are not useful?
If there's anything else I'm missing, don't hesitate to call me out on it!
Thanks for reading this long tale if nothing else!
This post will be a bit long in the tooth, but I'm trying to get all the information in, so hopefully you'll bear with me.
First, a short background.
I've been running FREENAS servers for years, back to early 9 days, for my own home use, adding servers as the need arose.
A little while ago a power surge wrecked two of my three running servers and I decided to take the opportunity to consolidate everything after all these years.
I'm certainly not claiming to be an expert in FREENAS though. I've re-read the latest recommendations etc. and browsed the forums, but it still leaves me with a few questions.
Second, I'll make the intended use clear first.
The server as I intend to run it will have two distinct functions.
1) One ZPool will be used as an additional (and more importantly local) back-up location of two portions of data that reside on my main office desktop. One is pictures (on a mirrored drive set and backed up to the cloud), the other is personal data (also on a mirrored drive, and weekly back-ups are brought to a remote vault. The intend here is as such not as a true safety feature, but more a convenience factor should anything go amiss with my main computer (ie retain access using laptops should the need arise)
2) The second ZPOOL will be as a storage location for movies (and some music) for media players. No, not plex, the server will not be doing the encoding, it's just a place for the media players to load the data from. Every last one of these are from my own discs, so no, mirroring is not required, as the data is stored on disks (that get stored off site again once they are loaded up.). While it would be a pain to reload everything (again), no data would be lost.
The obvious point of the above list is to underline that I do NOT need cries of 'raid is not an alternative for back-up'. I'm well aware of it, and that's not the intend of the setup.
Heck half of the intend is just the fun of building it in the first place!
Alright, let's get to the hardware setup I have shall we?
This is indeed a DIY setup, re purposing existing older gear, including existing HDD drives.
Motherboard: TYAN S5397AG2NRF Tempest i5400PW
CPU: Dual Xeon X5260
RAM: 16x 4GB ECC DDR2 for a total of 64 GB
HBAs, all running their respective P20 IT firmware
1: LSI 9201-16e
2: LSI 9200-16e
3: LSI 9200-8i
Additional cards:
1: USB 2.0 PCI card
2: SIL 3112 running base firmware (non-raid) - Yes not recommended, stay with me I'll get to it.
FREENAS OS will run on an SSD directly connected to the motherboard.
All other drives are standard HDD (NAS) drives.
Yes, it's older hardware. Yes I know it'll be a powerhog. Again, all these components are existing, so there's zero upfront cost.
The thought is that the first ZPOOL (for the data) will run on the 9200-8i with 8 drives and one from the motherboard for a total of 9 drives (mainly 1TB, with a stray 2Tb)
The second ZPOOL (for the movie storage) will run on the 9200-16e and 9201-16e, totaling 30 drives (mix of 2,3 and 4 Tb).
The idea of the mixed drives is the following. As drives fail (or I find a good deal here and there), they will be replaced with 4TB or larger drives. Should a drive fail in the data ZPOOL, I'll replace one of the smaller drives in the movie ZPOOL with a 4TB, and move the 2 or 3 TB that is freed up to the data one, thus eventually increasing the capacity for future need as it arises.
It'll be running on the latest stable release once it goes 'live' (might see if 12 is worth it if out by then or if I stick to 11 for now)
Just to touch on the SIL card - it will NOT have any drives connected. It's all going to esata ports (with an extra two that connect to the motherboard sata ports) so that I have the ability to add a few temporary drives easily to create a temporary pool to transfer files over in case I need to (ie there's a risky resilver due to more than one drive failure on the 'data' pool).
The USB card is there as an alternate/additional quick temporary connection.
So here is where I'd love to get some thoughts and advise:
For the first ZPOOL, I'm looking at 9 drives in a single RAIDZ3 vdev. That'll leave me with plenty of storage. My one question however is, would it make more sense to use 8 drives, and take one of the 1Tb drives, combine it with a 10th drive (500Gb) in a mirror instead, to run as a jail/plugin pool? The only one I'm thinking of at this point in time is ClamAV though, I've limited to no use for any of the others that I'm aware of. This is one of the items where I'm not sure I'm not overthinking the situation. If I do want ClamAV, should I just create a jail location on the first Zpool?
For the second ZPOOL, I'm thinking 3 vdevs of 10 drives in RAIDZ2. This is the other items I'm not sure on.
I am operating under the assumption that 11 is still the recommended max drives per vdev, but I'm not certain that is still accurate (latest info I've been able to find is pre 11 if not pre-coral). So does this still hold true? Would it be better to go all 30 drives in a RAIDZ3 vdev if the 11 drive recommendation is no longer valid? Or something else entirely?
Assuming the 11 drive max is still in place, is RAIDZ2 good enough, or should I move to Z3 on the 3 vdevs? That would mean storage is going to be close to 75% right from the start, and don't see a major concern for data loss. Again, this is not intended as a back-up, just adding redundancy as a minor measure to help prevent me from having to redo things.
Last direct question: based on the usage scenario (no high read/write demand) am I correct in assuming that a slog and l2arc are not useful?
If there's anything else I'm missing, don't hesitate to call me out on it!
Thanks for reading this long tale if nothing else!