proxmox ve
installation
use terminaal ui instead graphical install bc its easier to navigate with keyboard
configuration
apt
change the entries of those 3 lists directly or through pve gui node > updates > repos
deb http://ftp.ch.debian.org/debian bookworm main contrib
deb http://ftp.ch.debian.org/debian bookworm-updates main contrib
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/ceph.list
#deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
qemu guest agent
sudo apt install qemu-guest-agent
systemctl start qemu-guest-agent
systemctl enable qemu-guest-agent
vm > options > qemu quest agent
cloud init
add new hdd to pve (virtual storage for vm)
node > disks > directory > create directory
add virtual storage to vm
vm > hardware > add harddisk
add new hdd to vm (passthrough)
product: ST20000NM002H-3K serial: ZYD0FS4W ata-ST20000NM002H-3KV133_ZYD0FS4W -> ../../sda orqm set 100 -virtio0 /dev/disk/by-id/ata-ST20000NM002H-3KV133_ZYD0FS4W (if raid controller or raid activated)
check if successfull
scsi1: /dev/disk/by-id/ata-ST20000NM002H-3KV133_ZYD0FS4W,size=18627G ata-ST20000NM002H-3KV133_ZYD0HAY9,size=18627Gto remove
orafer its added, its available instand on OS without adding hardware through pve gui
cli vm start, stop, restart
qm start <vmid> [options]
qm stop <vmid> [options]
qm reboot <vmid> [options]
qm shutdown <vmid> [options]
forcekill vm like unplug ac
will show you the kvm process id running your vmid
you can now kill it with the process ID
make free space if qemu-agent is enabled
show location of each storage
or dir: local
path /var/lib/vz
content backup,vztmpl,iso
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
dir: extssd0
path /mnt/pve/extssd0
content backup,snippets,vztmpl,images,rootdir,iso
is_mountpoint 1
nodes pve
dir: m2280wd4tb
path /mnt/pve/m2280wd4tb
content iso,rootdir,images,vztmpl,backup,snippets
is_mountpoint 1
nodes pve
iso images location
troubleshoot
no connection
change adapter to realtek