====== proxmox guide ======
===== mount external hdd with ZFS =====
mkdir /mnt/extHDD
mount /dev/sdbX /mnt/extHDD
pvesm add dir extHDD --path /mnt/extHDD --content backup
===== port forwarding =====
port number = common port + index (eg 22+2 for ssh observium)
- mqtt
- observium (24:ssh, 81:web)
qm set -args "--redir tcp:222::22"
stop & start VM :!:
===== change hostname =====
nano /etc/hostname
nano /etc/hosts
/etc/init.d/hostname.sh start
===== add new disk =====
sudo fdisk /dev/sdX
n
w
nebo
cfdisk /dev/sdX
New - Primary - Specify size in MB
Write
Quit
pvcreate /dev/sdX1
vgcreate nazev /dev/sdb1
- Datacenter
- Add
- LVM