VM support files - where to put them

drjaymz@

Member
Jan 19, 2022
124
5
23
102
For some historical reason some of our VM's have kernel and init ram files. We specify these using the args shown at the bottom.

I had putthe files into a network share that has been added to the proxmox host via cifs. Initially I put these files [vmlinuz-2.4.21-144-smp4G] into /etc/pve/qemu-server
but thats only 128Mb and not really the best place anyway.
I am wanting to run this in HA mode, which means wherever I put them, the path must be identical between nodes.

I don't really like files all over the place (although everyone else seems to do that) so I want to know the best place for these, and I'm willing to get that the migrate / backup facilities will miss them wherever they are, leading to non-recoverable backups / snapshots or HA failover.

Code:
args: -kernel '/mnt/pve/pittolm/wmstol1/vmlinuz-2.4.21-144-smp4G' -initrd '/mnt/pve/pittolm/wmstol1/initrd-2.4.21-144-smp4G' -append 'root=/dev/sda ro console=tty1 console=ttyS0,115200 3'
boot: 
cores: 4
memory: 8192
meta: creation-qemu=7.0.0,ctime=1662631990
name: wmsvtol3
numa: 0
onboot: 1
ostype: l26
runningcpu: kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep
runningmachine: pc-i440fx-7.0+pve0
scsi0: local-zfs:vm-101-disk-2,size=25G
scsi1: local-zfs:vm-101-disk-0,size=4G
scsi2: local-zfs:vm-101-disk-1,size=25G
serial0: socket
smbios1: uuid=8e9800b4-82bc-4aa9-b9ea-20b8d3a6eda3
snaptime: 1662721658
sockets: 1
vmstate: local-zfs:vm-101-state-dd_test
 
I guess a shared storage like NFS or ceph is your best option then. In case you use a PBS you could also back them up with the proxmox-backup-client.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!