Hi All,
I have been thinking about expanding my home network by adding another storage device.
I started looking at QNAP rack NAS devices, but going from 4xHDD to 8xHDD the price is getting to a level that I'd like to avoid if possible.
So why not to build my own solution? It will be cheaper and I may learn something new :)
I'm not looking for a solution on a plate, but if I could get some steer within my questions - I would be more than happy!
Currently I have an old desktop with 4x3TB HDD (RAID10), QNAP with 4x8TB (RAID5) and I'm looking for something that could store 50TB with possible expansion in the future.
I don't need any bells and whistles, just a simple storage where I can have dedicated datasets for specific tasks and that I can control user permissions.
It will be primarily used as a backup for few machines, file sharing and maybe some movie/music library (more on that later).
It doesn't have to be a production solution, working 25hrs a day, running critical, life-supporting tasks.
I don't expect massive data transfers or hundred users at the same time - it will be just a home NAS. I also have an off-site backup, so I don't need super redundancy.
I read a lot of posts on this community forum, read the hardware guide, learnt about ZFS, issues with SATA expanders, etc.
I have a rough idea what I'm going to achieve, but I still have some items that I'd like to clarify with experts.
Case:
- 2U/3U case, with 12/16 bays. Leaning towards 3U as it will give me more space inside for any future work, bigger/quieter fans, etc. Something like IPC 3U-3416, it has 4 backplanes with SFF-8087.
HDDs:
- I'm thinking of 4x20TB SATA (RAIDZ1), later add another 4 (I understand issues with pool expansions, have no problems with a separate pool), maybe even move the 4x3TB from desktop after a PC upgrade.
- I was considering getting 6 or 8 of smaller drives to utilise RAIDZ2 or 3 but I ditched the idea.
Motherboard - here is something I need an advise on, should I get:
- good desktop motherboard with 8x SATA - pulled out from this idea, not expandable, most backplane support SFF8087 so looking for other cases or using adapters? nah
- good desktop motherboard with LSI 9207-8i HBA. The 8 channels will be ok now, I could could get another 8i later if needed, or even get 16 and rearrange the disks as TrueNAS doesn't care about disk location/controllers (I'm not talking about hardware RAID, just a passthrough) according to the documentation.
- cheap motherboard (but still branded, let's say ASUS or ASRock, not some super cheap knock-offs) and LSI 9207-8i HBA?
- I know, having intel desktop motherboard and i5/i7 won't get me the ECC, but do I really need it for home purposes?
- intel xeon board? supermicro?
CPU:
- PCI lanes - having 2 LSI cards and other stuff I can't go with some poor, slow, cheap CPU, so I thought i5/i7 would be a good choice. These are relatively not that expensive but they have their own limitations, agree
- Xeon? Ryzen? What other options I have? I can spend a little more to what a good desktop board + i7 would cost, but I don't want to go 2x or 3x the cost.
RAM:
- ECC or non-ECC (depending on the above) are roughly within similar brackets, so 64 or 128GB is what I'd aim for.
Services running on top of TrueNAS SCALE (I'm more familiar with Debian), such as Jellyfin or Syncthing (played with them a little using Oracle Virtual Box, pretending to be TrueNAS). Should I:
- use the Syncthing plugin? I've noticed limited configuration and everything was sitting in the same Jail. It is a quick and easy solution, but has its limitations.
- create a VM and install it there? Probably an overkill to run just one item. It will use more resources than the plugin/Jail but will offer more to tinker with.
- dedicated RaspberryPi running it and using the NAS as, well... a NAS :) It worked pretty well for few weeks, had great control about a dedicated network share just for this purpose, didn't touch anything on TrueNAS so it is still uncompromised. I understand aspects of additional configuration, network IP reservation, etc.
Finally, something I didn't explore yet. TrueNAS encryption. How should I split and encrypt datasets for:
1) shared folders with:
- 'public' stuff - downloaded files, etc.
- 'private' stuff - photos, etc.
- 'sensitive' stuff - scanned documents, emails, etc. (access for only 2-3 users, but I know how to setup TrueNAS permissions)
2) backup folders for 3 devices:
- new dataset for each device (eg. /pool/backup_pc1/, /pool/backup_pc2/, /pool/backup_pc3/)
- one dataset for backup with each device as sub-dataset (eg. /pool/backup/pc1/, /pool/backup/pc2/, /pool/backup/pc3/)
Should that be pool encryption? or dataset? or inherit? All separate keys?
The 2nd option - I could use iSCSI, have it mounted as a volume in Windows and encrypt using for example, a bit-locker.
Thanks in advance for any tips given!
Regards,
LJ
I have been thinking about expanding my home network by adding another storage device.
I started looking at QNAP rack NAS devices, but going from 4xHDD to 8xHDD the price is getting to a level that I'd like to avoid if possible.
So why not to build my own solution? It will be cheaper and I may learn something new :)
I'm not looking for a solution on a plate, but if I could get some steer within my questions - I would be more than happy!
Currently I have an old desktop with 4x3TB HDD (RAID10), QNAP with 4x8TB (RAID5) and I'm looking for something that could store 50TB with possible expansion in the future.
I don't need any bells and whistles, just a simple storage where I can have dedicated datasets for specific tasks and that I can control user permissions.
It will be primarily used as a backup for few machines, file sharing and maybe some movie/music library (more on that later).
It doesn't have to be a production solution, working 25hrs a day, running critical, life-supporting tasks.
I don't expect massive data transfers or hundred users at the same time - it will be just a home NAS. I also have an off-site backup, so I don't need super redundancy.
I read a lot of posts on this community forum, read the hardware guide, learnt about ZFS, issues with SATA expanders, etc.
I have a rough idea what I'm going to achieve, but I still have some items that I'd like to clarify with experts.
Case:
- 2U/3U case, with 12/16 bays. Leaning towards 3U as it will give me more space inside for any future work, bigger/quieter fans, etc. Something like IPC 3U-3416, it has 4 backplanes with SFF-8087.
HDDs:
- I'm thinking of 4x20TB SATA (RAIDZ1), later add another 4 (I understand issues with pool expansions, have no problems with a separate pool), maybe even move the 4x3TB from desktop after a PC upgrade.
- I was considering getting 6 or 8 of smaller drives to utilise RAIDZ2 or 3 but I ditched the idea.
Motherboard - here is something I need an advise on, should I get:
- good desktop motherboard with 8x SATA - pulled out from this idea, not expandable, most backplane support SFF8087 so looking for other cases or using adapters? nah
- good desktop motherboard with LSI 9207-8i HBA. The 8 channels will be ok now, I could could get another 8i later if needed, or even get 16 and rearrange the disks as TrueNAS doesn't care about disk location/controllers (I'm not talking about hardware RAID, just a passthrough) according to the documentation.
- cheap motherboard (but still branded, let's say ASUS or ASRock, not some super cheap knock-offs) and LSI 9207-8i HBA?
- I know, having intel desktop motherboard and i5/i7 won't get me the ECC, but do I really need it for home purposes?
- intel xeon board? supermicro?
CPU:
- PCI lanes - having 2 LSI cards and other stuff I can't go with some poor, slow, cheap CPU, so I thought i5/i7 would be a good choice. These are relatively not that expensive but they have their own limitations, agree
- Xeon? Ryzen? What other options I have? I can spend a little more to what a good desktop board + i7 would cost, but I don't want to go 2x or 3x the cost.
RAM:
- ECC or non-ECC (depending on the above) are roughly within similar brackets, so 64 or 128GB is what I'd aim for.
Services running on top of TrueNAS SCALE (I'm more familiar with Debian), such as Jellyfin or Syncthing (played with them a little using Oracle Virtual Box, pretending to be TrueNAS). Should I:
- use the Syncthing plugin? I've noticed limited configuration and everything was sitting in the same Jail. It is a quick and easy solution, but has its limitations.
- create a VM and install it there? Probably an overkill to run just one item. It will use more resources than the plugin/Jail but will offer more to tinker with.
- dedicated RaspberryPi running it and using the NAS as, well... a NAS :) It worked pretty well for few weeks, had great control about a dedicated network share just for this purpose, didn't touch anything on TrueNAS so it is still uncompromised. I understand aspects of additional configuration, network IP reservation, etc.
Finally, something I didn't explore yet. TrueNAS encryption. How should I split and encrypt datasets for:
1) shared folders with:
- 'public' stuff - downloaded files, etc.
- 'private' stuff - photos, etc.
- 'sensitive' stuff - scanned documents, emails, etc. (access for only 2-3 users, but I know how to setup TrueNAS permissions)
2) backup folders for 3 devices:
- new dataset for each device (eg. /pool/backup_pc1/, /pool/backup_pc2/, /pool/backup_pc3/)
- one dataset for backup with each device as sub-dataset (eg. /pool/backup/pc1/, /pool/backup/pc2/, /pool/backup/pc3/)
Should that be pool encryption? or dataset? or inherit? All separate keys?
The 2nd option - I could use iSCSI, have it mounted as a volume in Windows and encrypt using for example, a bit-locker.
Thanks in advance for any tips given!
Regards,
LJ