๐ Coding Stats
From: 18 June 2024 - To: 25 June 2024
No activity tracked
Hookscript to create Virtio-fs mounts to share a directory tree between a Proxmox host and VMs
Hi, thanks for this script, I tested it on Proxmox 8 and it works mostly fine.
However, I encountered the first issue you mentioned on https://gist.github.com/Drallas/7e4a6f6f36610eeb0bbb5d011c8ca0be :
qm stop
and qm start
virtio-fs: tag <100-foo> not found
Apparently, qemu is not passed the args:
arguments on the first boot after adding the hook. After the second VM reboot, qemu has the correct arguments.
I don't know much about Proxmox hooks, but maybe Proxmox does not support modifying VM parameters in pre-start?
Use of uninitialized value in split at /usr/share/perl5/PVE/QemuServer/Cloudinit.pm line 104.
generating cloud-init ISO
GUEST HOOK: 100 pre-start
100 is starting, doing preparations.
Creating directory: /run/virtiofsd/
attempting to install unit virtiofsd-100-gordo...
DIRECTORY DOES EXIST!
-object memory-backend-memfd,id=mem,size=24576M,share=on -numa node,memdev=mem -chardev socket,id=char0,path=/run/virtiofsd/100-gordo.sock -device vhost-user-fs-pci,chardev=char0,tag=100-gordo
Setting VM args to generated virtiofs arguments.
vfs_args: -object memory-backend-memfd,id=mem,size=24576M,share=on -numa node,memdev=mem -chardev socket,id=char0,path=/run/virtiofsd/100-gordo.sock -device vhost-user-fs-pci,chardev=char0,tag=100-gordo
start failed: org.freedesktop.systemd1.NoSuchUnit: Unit [email protected] not found.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.