I build my (almost) fanless home server.
00:00 Intro
00:34 Build
23:45 Stuck button breaks BMC
27:05 BMC and BIOS settings
33:30 Proxmox Install with network ISO
37:40 Proxmox network config
40:40 Temperatures
41:01 SR-IOV for PCI passthrough
41:23 Hot temperatures with rsync + ZFS
43:36 Chipset fan
46:21 Fan speed settings
47:41 TrueNAS: transfer files from old RAID array
50:03 Stress testing for temperatures
Parts list:
* Nofan CS-70 case
* Nofan P-400A PSU
* Ryzen 5600 CPU
* Noctua NH-P1 cooler
* ASRock Rack X570D4U motherboard
* Micron 2x32GB ECC RAM 3200 https://uk.crucial.com/memory/Server-DDR4/MTA18ASF4G72AZ-3G2R
Idle power is around 35W with disks spun down; 45W with disks running.
Transferring from mdadm RAID 1 (mirror) array to ZFS mirror vdev:
1) Backup to third disk (at least)
2) Use this command on Proxmos terminal to identify IOMMU groups: cat /proc/cmdline; for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
3) Create VM for TrueNAS and pass through the device with the SATA controller
4) Install TrueNAS and choose one of the disks to make a single disk stripe vdev
5) Create a dataset on the pool
5) Export the new pool then shut down TrueNAS VM
6) Create and start a Debian or Ubuntu VM with same hardware settings
7) On that VM, mount the old mdadm RAID array:
i) sudo mkdir /mnt/oldraid
ii) sudo mdadm --examine /dev/sdd1 # trial and error /dev/sd* to find the right disk
iii) sudo losetup --find --show --offset=134217728 /dev/sdd1 #offset is 8x result from examime command
iv) sudo mount /dev/loop6 /mnt/old_disk/
8) Mount the new ZFS disk:
i) sudo zpool import # will list the available pools
ii) sudo zpool import my_pool # add -f switch if you forgot to export
iii) sudo zfs load-key -L prompt my_pool/my_dataset
v) sudo zfs mount my_pool/my_dataset
9) Copy files: rsync -av --progress /mnt/old_disk/* /my_pool/my_dataset/
10) Unmount/export: zfs export my_pool
11) Shutdown Debian/Ubuntu VM; start TrueNAS VM; remember to unlock dataset if encrypted
3 Comments