pi-homeserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pi-homeserver [2022/11/18 00:45] – [Hardware] 10.100.0.1 | pi-homeserver [2022/11/23 20:42] (current) – [Benchmarks] 10.100.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hardware ====== | ====== Hardware ====== | ||
- | * Mainboard: Odroid-H2 [[https:// | + | * Mainboard: Odroid-H2 |
* CPU compare with Odroid-M1 [[https:// | * CPU compare with Odroid-M1 [[https:// | ||
- | * Memory: | + | * Memory: |
* 8GB eMMC 5.0 (read rate ~130MB/s)\\ | * 8GB eMMC 5.0 (read rate ~130MB/s)\\ | ||
- | * // | + | * M.2 PCIe 2.0 x4 slot (support |
- | * //some HDDs (1x 12TB will be connected)// | + | * //some HDDs (1x 12TB will be connected, 2 SATA-Ports available)// |
====== Powerconsumption ====== | ====== Powerconsumption ====== | ||
Line 18: | Line 18: | ||
For booting fom emmc: XHCI enabled | For booting fom emmc: XHCI enabled | ||
+ | ===== NixOS crypt setup ===== | ||
+ | Encrypted NixOS via standard installer by Nov.2022 (v22.05) but changed ext4 root filesystem to btrfs after installation.\\ | ||
+ | Before reboot you can unmount the new installation-system partitions. Then you can simply convert the ext4-filesystem with | ||
+ | <code bash> | ||
+ | btrfs-convert / | ||
+ | </ | ||
+ | With **blkid** you can get the new UUID for the converted logical volume and copy in hardware-configuration.nix file: | ||
+ | ==== hardware-configuration.nix ==== | ||
+ | <code bash> | ||
+ | fileSystems."/" | ||
+ | { device = "/ | ||
+ | fsType = " | ||
+ | options = [ " | ||
+ | neededForBoot = true; | ||
+ | }; | ||
+ | boot.initrd.luks.devices." | ||
+ | </ | ||
+ | changed also | ||
+ | ==== configuration.nix ==== | ||
+ | added here also (maybe not needed?) | ||
+ | <code /bash> | ||
+ | boot.initrd.supportedFilesystems = [" | ||
+ | </ | ||
+ | After changing the config, you have to run **nixos-rebuild boot** and **nixos-rebuild switch** | ||
+ | |||
+ | ==== Benchmarks ==== | ||
+ | <code bash> | ||
+ | [picloud@picloud2: | ||
+ | / | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | [picloud@picloud2: | ||
+ | |||
+ | / | ||
+ | | ||
+ | | ||
+ | |||
+ | [picloud@picloud2: | ||
+ | |||
+ | / | ||
+ | | ||
+ | | ||
+ | |||
+ | [picloud@picloud2: | ||
+ | # Die Tests sind nur annähernd genau, da sie nicht auf den Datenträger zugreifen. | ||
+ | PBKDF2-sha1 | ||
+ | PBKDF2-sha256 | ||
+ | PBKDF2-sha512 | ||
+ | PBKDF2-ripemd160 | ||
+ | PBKDF2-whirlpool | ||
+ | argon2i | ||
+ | argon2id | ||
+ | # | ||
+ | aes-cbc | ||
+ | serpent-cbc | ||
+ | twofish-cbc | ||
+ | aes-cbc | ||
+ | serpent-cbc | ||
+ | twofish-cbc | ||
+ | aes-xts | ||
+ | serpent-xts | ||
+ | twofish-xts | ||
+ | aes-xts | ||
+ | serpent-xts | ||
+ | twofish-xts | ||
+ | </ |
pi-homeserver.1668732345.txt.gz · Last modified: 2022/11/18 00:45 by 10.100.0.1