Setup Environment like server-side and Prepare ZFS Pool for Prefill
Setup Proxmox
Proxmox Documentation
https://www.proxmox.com/en/proxmox-virtual-environment/get-started
https://pve.proxmox.com/pve-docs/chapter-pve-installation.html
Enable No-Subscription Repository in web-GUI
node on the left -> Updates -> Repositories.
Disable the enterprise repository and add the No-Subscription repository
Go to the upper menu Update, press Refresh, then Upgrade
Untested Community Script
This script is quite popular in the homelab-community, but I never tried it. Look at the source code, if in doubt. No warranties at all.
https://community-scripts.github.io/ProxmoxVE/scripts?id=post-pve-install
Create ZFS Pool
See page Create ZFS Pool, then continue here.
Permissions
chown - R 101000:101000 /pool/dataset-minio
chown - R 101001:101001 /pool/dataset-syncthing
Setup LXC
- Go to "local" in webgui
- Click on "CT Templates"
- Then click button "Templates"
- Download Debian 12
- Click "Create CT" on top richt
- Give it Hostname and Password, Make sure Unpriviledged and Nesting is checked
- Click next, choose the previous downloaded Template
- Click next, default size 8GB is sufficient
- Click next, assign 2 Cores
- Click next, type 2048MiB Memory
- Click next, choose IP according your network (or DHCP)
- Click through finish
Finishing Steps in LXC when using Proxmox
Only applies when using LXC on Proxmox.
Make ZFS Pool available in LXC
On Host, LXC must be shutdown
nano /etc/pve/lxc/100.conf
# add this line, edit poolname if necessary:
mp0: mp=/poolname,/poolname
# mp=/poolname is from host
# ,/poolname is the mountpoint in LXC