Hi there,
first of all, this tutorial is mainly addressed to beginners. As usual with Linux based OS, you can do nearly anything you want. This is only one solution and it does not claim to be the best. There are thousands of others ways, that might bring the same result or even a better. So maybe it could be a good idea to use other hardware or disks, etc..
Sometimes it's an easy way to use NAS boxes for backup because they are small, can be moved to other places and should not be located at the server room in case of fire. Also, they do not have to be mounted in 19" racks and can be placed everywhere, for example on a shelf. And finally, a NAS device is usually way cheaper than a rack mounted server. But as you maybe know, it's not a perfect solution to run a PBS as VM on your PVE and mount external NFS or CIFS shares as backup storage. So my solution is to run the PBS on the NAS itself. Therefore a suitable NAS device will be needed, and I found something that fits pretty good: The TerraMaster 423-series.
Advantage of these devices:
- They have no locked operating system, so you can install whatever you want
- Standard x86 hardware with Intel quad core CPU, not designed for pocket calculators...
- Can be equipped with internal M2 NVMe (2 slots) for the PBS OS
- Can be upgraded with DDR4 memory, which is important for the use with ZFS
- Two network connectors can run up to 2,5 Gbit/s or acting as bond with 5Gbit/s (10G LAN on other models)
- last but not least there is a HDMI connector for the display
These are my suggestions:
- TerraMaster NAS device 423 series (for example F4-423 / 4 bays)
- TerraMaster 16GB DDR4 RAM module (one = 20GB / two = 32GB)
- NAS NVMe SSD M.2 (you can use 2 pieces, so OS is running on RAID)
- SATA 6Gbit SSD/HDD (how much you like, depending on the free bays)
Memory for ZFS: The calculation is 2GB base memory + 1GB/1TB. Example: 16TB = 18GB memory.
SATA Disks: I would recommend to use SSDs. In my experience, verify jobs on large data stores can need several hours on spinning disks instead of minutes on SSD.
How to assemble:
- remove all cables and put the device with front side down on the desk
- remove the back cover with the fan (4 screws)
- unplug the fan from the mainboard (be careful to not damage the cable)
- remove the metal case and slide it in upper direction
- remove the USB dome with the factory OS (on the edge of the inner side of the mainboard)
- plug in the memory module (easily reachable on the back plane)
- plug in one or two of the NVMe M.2 disks (easily reachable on the back plane)
- put metal case back in place and reassemble the back cover
- remove the HDD frames on the front and mount the storage disks
- plug in USB stick with PBS ISO image (can be easily flashed with balenaEtcher)
- plug in power and connect USB keyboard + HDMI to display
- after power on go to BIOS and set up the boot order (I disabled all except the NVMe devices and USB port for installation)
- install PBS on the internal NVMe disk(s)
- reboot the PBS and set up your ZFS RAID on the HDDs
Please take note, this setup is basically working, but I will do some testing during the next weeks to get experiences in terms of speed & reliability. I will post my results as soon as I have new knowledge.
Please feel free to leave your comments or recommendations. If you have suggestions how to improve this setup, I would be happy to know it.
Best Regards,
Martin
first of all, this tutorial is mainly addressed to beginners. As usual with Linux based OS, you can do nearly anything you want. This is only one solution and it does not claim to be the best. There are thousands of others ways, that might bring the same result or even a better. So maybe it could be a good idea to use other hardware or disks, etc..
Sometimes it's an easy way to use NAS boxes for backup because they are small, can be moved to other places and should not be located at the server room in case of fire. Also, they do not have to be mounted in 19" racks and can be placed everywhere, for example on a shelf. And finally, a NAS device is usually way cheaper than a rack mounted server. But as you maybe know, it's not a perfect solution to run a PBS as VM on your PVE and mount external NFS or CIFS shares as backup storage. So my solution is to run the PBS on the NAS itself. Therefore a suitable NAS device will be needed, and I found something that fits pretty good: The TerraMaster 423-series.
Advantage of these devices:
- They have no locked operating system, so you can install whatever you want
- Standard x86 hardware with Intel quad core CPU, not designed for pocket calculators...
- Can be equipped with internal M2 NVMe (2 slots) for the PBS OS
- Can be upgraded with DDR4 memory, which is important for the use with ZFS
- Two network connectors can run up to 2,5 Gbit/s or acting as bond with 5Gbit/s (10G LAN on other models)
- last but not least there is a HDMI connector for the display
These are my suggestions:
- TerraMaster NAS device 423 series (for example F4-423 / 4 bays)
- TerraMaster 16GB DDR4 RAM module (one = 20GB / two = 32GB)
- NAS NVMe SSD M.2 (you can use 2 pieces, so OS is running on RAID)
- SATA 6Gbit SSD/HDD (how much you like, depending on the free bays)
Memory for ZFS: The calculation is 2GB base memory + 1GB/1TB. Example: 16TB = 18GB memory.
SATA Disks: I would recommend to use SSDs. In my experience, verify jobs on large data stores can need several hours on spinning disks instead of minutes on SSD.
How to assemble:
- remove all cables and put the device with front side down on the desk
- remove the back cover with the fan (4 screws)
- unplug the fan from the mainboard (be careful to not damage the cable)
- remove the metal case and slide it in upper direction
- remove the USB dome with the factory OS (on the edge of the inner side of the mainboard)
- plug in the memory module (easily reachable on the back plane)
- plug in one or two of the NVMe M.2 disks (easily reachable on the back plane)
- put metal case back in place and reassemble the back cover
- remove the HDD frames on the front and mount the storage disks
- plug in USB stick with PBS ISO image (can be easily flashed with balenaEtcher)
- plug in power and connect USB keyboard + HDMI to display
- after power on go to BIOS and set up the boot order (I disabled all except the NVMe devices and USB port for installation)
- install PBS on the internal NVMe disk(s)
- reboot the PBS and set up your ZFS RAID on the HDDs
Please take note, this setup is basically working, but I will do some testing during the next weeks to get experiences in terms of speed & reliability. I will post my results as soon as I have new knowledge.
Please feel free to leave your comments or recommendations. If you have suggestions how to improve this setup, I would be happy to know it.
Best Regards,
Martin