Recent content by SirMaster

  1. S

    Run custom command after VM start?

    Not really. What I did for now was to create a script inside the VM that runs when the VM starts up and that connects to Proxmox via SSH and runs my command.
  2. S

    Run custom command after VM start?

    I am looking for a way to run a custom shell command as root automatically sometime after a VM is started. I need the command to be run at least after the main KVM process and all it's threads have been created. The command I want to run is this: ls /proc/$(pgrep -f nick-htpc)/task | xargs -n...
  3. S

    How to set Linux scheduling priority of a VM on start?

    I updated my post with a slightly different request.
  4. S

    How to set Linux scheduling priority of a VM on start?

    I'm looking for a way to set the Linux scheduling priority of my VM on Proxmox to SCHED_FIFO automatically when it's started. Currently I have to start my VM, then look up the PID of the process and all it's threads and run the command "chrt -f -p 1 PID" to set the scheduler to SCHED_FIFO. I...
  5. S

    htop show incorrect data inside LXC Container

    FWIW, mine is working correctly. HOST: 5.0-23/af4267bf grep -c processor /proc/cpuinfo 8 CONTAINER: arch: amd64 cores: 4 hostname: nick-gdrive memory: 2048 mp0: /nickarray,mp=/nickarray net0: name=eth0,bridge=vmbr0,gw=10.0.0.254,hwaddr=7A:40:78:24:92:09,ip=10.0.0.12/24,type=veth onboot: 1...
  6. S

    [SOLVED] How to specify numa cpus in vm.conf?

    So I see the update for this was released a few days ago and it seems to work. However maybe I am misunderstanding how the numa configuration works, but my goal was assign cores 0,2,4,6 (the 4 real non-hyperthreaded cores) from my 0-7 cores to my VM which I wanted to assign 4 internal cores to...
  7. S

    ZFS updates?

    Good idea, thanks!
  8. S

    ZFS updates?

    The question would be why do we still need it on PVE though cause it was only added to Debian repos in May 2016. That's why it's in PVE in the first place because it didn't used to be in Debian. Also maybe they don't want to add jessie-backports as a required source? Another difference is...
  9. S

    ZFS updates?

    Yeah even jessie-backports got 0.6.5.8 already heh. https://packages.debian.org/jessie-backports/zfs-dkms Unfortunately we can't use the debian packages as they will conflict with the proxmox repo.
  10. S

    [SOLVED] mount zfs when directory not empty

    I added this line to my directory storage where the directory is on zfs: is_mountpoint 1 But whenever I edit any storage entry from the GUI, the 1 (that follows is_mountpoint) is removed from every storage entry when I click save.
  11. S

    [SOLVED] mount zfs when directory not empty

    FWIW I fixed this to make zfs mount on non-empty directories by modifying the file: /lib/systemd/system/zfs-mount.service I found: ExecStart=/sbin/zfs mount -a And I changed it to: ExecStart=/sbin/zfs mount -O -a I had to do this because I wanted to use a zfs dataset as a directory storage in...
  12. S

    [SOLVED] How to specify numa cpus in vm.conf?

    Awesome. Good job spirit, thanks for finding and fixing the issue :)
  13. S

    [SOLVED] How to specify numa cpus in vm.conf?

    Yeah, parsing the semi colons wrong seems like a real possibility. Thanks and there is not necessarily a great rush on this.
  14. S

    [SOLVED] How to specify numa cpus in vm.conf?

    I did. Did you see my attached conf file? My line is: numa0: cpus=0;2;4;6,hostnodes=0,memory=4096,policy=bind The commas show up only in the error for whatever reason.
  15. S

    [SOLVED] How to specify numa cpus in vm.conf?

    That's what I thought, but it's not working. I have: boot: cdn bootdisk: virtio0 cores: 8 cpu: cputype=host,hidden=0 hostpci0: 01:00.0,pcie=1,x-vga=on hostpci1: 01:00.1,pcie=1 ide2: none,media=cdrom machine: q35 memory: 4096 name: nick-htpc net0: virtio=30:F7:D7:01:3D:83,bridge=vmbr0 numa: 1...

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!