What is fstrim? fstrim tells SSDs or thin-provisioned storage which blocks are no longer used by the filesystem so they can be reclaimed. Without TRIM/discard: deleted data still looks “used” to the storage layer SSD performance slowly degrades thin storage pools appear full even when files were deleted write amplification increases (reduces SSD lifespan) Running…
Tag: proxmox
Limit proxmox backup disk speed
nano /etc/vzdump.conf add bwlimit: 12207 save This will limit read/write speed to 12 MiB/s during backup
IP Tunnel (GRE) in LXC proxmox Container
After container is created, you need to edit the configuration file to add the /dev/net/tun device. # pct config 123 arch: amd64 hostname: CT123 memory: 512 net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=FE:75:64:2A:A3:58,ip=dhcp,type=veth ostype: debian rootfs: local-lvm:vm-123-disk-0,size=4G features: nesting=1 swap: 512 unprivileged: 1 # nano /etc/pve/lxc/123.conf Add the following lines at the end (if you’re using PVE < 7.0, change...
WireGuard in Proxmox LXC
in Proxmox Host: apt update apt install pve-headers nano /etc/apt/sources.list deb http://deb.debian.org/debian buster-backports main Save. apt update apt install -t buster-backports wireguard-dkms modprobe wireguard echo “wireguard” >> /etc/modules-load.d/modules.conf In LXC Container: apt install wireguard or use piVPN curl -L https://install.pivpn.io | bash