mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
110 lines
5.2 KiB
Markdown
110 lines
5.2 KiB
Markdown
# DIY NAS v1
|
|
|
|
## Table of contents <!-- omit in toc -->
|
|
|
|
1. [Hardware](#hardware)
|
|
1. [BIOS](#bios)
|
|
1. [Software](#software)
|
|
1. [Configuration](#configuration)
|
|
1. [Folder structure](#folder-structure)
|
|
1. [Further readings](#further-readings)
|
|
1. [Sources](#sources)
|
|
|
|
## Hardware
|
|
|
|
| Component | Choice | Price |
|
|
| ------------ | ----------------------------------------------------------------------- | ------------------------------------------------------------------ |
|
|
| Case | [Fractal Design Node 304] | [€99][amazon fractal design node 304] |
|
|
| CPU | [Intel Celeron N5105] | Included in the motherboard |
|
|
| Hard disks | [Seagate IronWolf ST4000VN008 4TB] | €556,00 (4x [€139,00][coolblue seagate ironwolf st4000vn008 4tb]) |
|
|
| Motherboard | Mini ITX NAS motherboard with Intel N5105 CPU and I226-V network chip | [€175,28][amazon nas motherboard] |
|
|
| Power supply | [Corsair RM850e] fully modular | [€117,90][amazon corsair rm850e 2023] |
|
|
| RAM | [Crucial CT2K16G4SFRA32A] 32GB kit (2x16GB) | [€67,95][amazon crucial ct2k16g4sfra32a] |
|
|
| SATA cables | Cable Matters 6.0Gbps SATA III cable with 90 degrees angle, black, 45cm | €11,98 (2x [€5,99][amazon cable matters sata cables]) |
|
|
|
|
## BIOS
|
|
|
|
| Option | Requirement | Notes |
|
|
| --------------- | ----------- | -------------------------------- |
|
|
| Network support | Enabled | Enables wake-on-LAN capabilities |
|
|
|
|
## Software
|
|
|
|
| Component | Choice | Notes |
|
|
| ---------------- | ---------------- | ----------------------------------------------------- |
|
|
| Operating system | [OpenMediaVault] | With [OMV-Extras](../openmediavault.md#omv-extras) |
|
|
| Kernel | Default (Debian) | |
|
|
| OS file system | Default (ext4) | |
|
|
| Data file system | ZFS | See [ZFS on OpenMediaVault](../openmediavault.md#zfs) |
|
|
|
|
## Configuration
|
|
|
|
| Network interface | Usage | Options |
|
|
| ----------------- | ------------- | ------------------ |
|
|
| `enp3s0` | Management | WoL enabled |
|
|
| `enp4s0` | Bond | `balance-alb` mode |
|
|
| `enp5s0` | Bond | `balance-alb` mode |
|
|
| `enp6s0` | Bond | `balance-alb` mode |
|
|
| `bond0` | Data transfer | |
|
|
|
|
The ZFS pool and datasets used as shared folders shall have the following properties:
|
|
|
|
- `aclinherit:restricted`;
|
|
- `aclmode:groupmask`;
|
|
- `acltype:posix` + `xattr:sa` until `nfsv4` is supported on Linux.
|
|
|
|
## Folder structure
|
|
|
|
```sh
|
|
/tank/ <-- pool
|
|
├── shared/ <-- shared datasets root, 'nobody:users', 'rwsrwsr-x' + 'd:u::rwX,g::rwX,o::rX'
|
|
│ ├── media/
|
|
│ └── oam/
|
|
└── user/ <-- private datasets root, 'user:user', 'rwsr-s---' + 'd:u::rwX,g::rX,o::-'
|
|
├── archive/
|
|
├── docs/
|
|
├── oam/
|
|
└── work/
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [OpenMediaVault]
|
|
|
|
## Sources
|
|
|
|
- [The Perfect Home Server 2023]
|
|
- [What's the best PSU for your low idle home server?]
|
|
- [TrueNAS core]
|
|
- [Proxmox]
|
|
- [How to run TrueNAS on Proxmox?]
|
|
|
|
<!--
|
|
Reference
|
|
═╬═Time══
|
|
-->
|
|
|
|
<!-- In-article sections -->
|
|
<!-- Knowledge base -->
|
|
[openmediavault]: ../openmediavault.md
|
|
[proxmox]: ../proxmox.md
|
|
[truenas core]: ../truenas%20core.md
|
|
|
|
<!-- Upstream -->
|
|
[corsair rm850e]: https://www.corsair.com/ww/en/p/psu/cp-9020249-ww/rme-series-rm850e-fully-modular-low-noise-atx-power-supply-cp-9020249-ww
|
|
[crucial ct2k16g4sfra32a]: https://eu.crucial.com/memory/ddr4/ct2k16g4sfra32a
|
|
[fractal design node 304]: https://www.fractal-design.com/products/cases/node/node-304/black/
|
|
[how to run truenas on proxmox?]: https://www.youtube.com/watch?v=M3pKprTdNqQ
|
|
[intel celeron n5105]: https://www.intel.com/content/www/us/en/products/sku/212328/intel-celeron-processor-n5105-4m-cache-up-to-2-90-ghz/specifications.html
|
|
[seagate ironwolf st4000vn008 4tb]: https://www.seagate.com/products/nas-drives/ironwolf-hard-drive/
|
|
|
|
<!-- Others -->
|
|
[amazon cable matters sata cables]: https://www.amazon.nl/dp/B018Y2LEBE/
|
|
[amazon corsair rm850e 2023]: https://www.amazon.nl/dp/B0BVL17341/
|
|
[amazon crucial ct2k16g4sfra32a]: https://www.amazon.nl/dp/B08C4X9VR5/
|
|
[amazon fractal design node 304]: https://www.amazon.nl/dp/B009PIEMUC/
|
|
[amazon nas motherboard]: https://www.amazon.nl/dp/B0BYVNZDGS/
|
|
[coolblue seagate ironwolf st4000vn008 4tb]: https://www.coolblue.nl/en/product/750006/seagate-ironwolf-st4000vn008-4tb.html
|
|
[the perfect home server 2023]: https://www.youtube.com/watch?v=vjDoQA4C22c
|
|
[what's the best psu for your low idle home server?]: https://www.youtube.com/watch?v=TPSuCbS-4P0
|