Recent content by Elliott Partridge

  1. [SOLVED] How to use startall-onboot-delay

    Figured it out (easy to test - just run the script!). For a delay of 10 seconds, I added the following line: /etc/pve/nodes/<node>/config startall-onboot-delay: 10
  2. [SOLVED] How to use startall-onboot-delay

    I was trying to figure out how to delay the startup of VMs & containers and happened upon this little script (used by the pve-guests.service): /usr/share/pve-manager/helpers/pve-startall-delay #!/usr/bin/perl use strict; use warnings; use PVE::INotify; use PVE::NodeConfig; my $local_node =...
  3. Disable Root Account

    Also interested in what @Lioh uncovers, as we have a similar situation at work with users sourced from Active Directory, and most day-to-day operations can be achieved via non-root users. Root via local ssh is always a fallback for any advanced configuration changes or diagnostics. Seems like...
  4. UPS APC to shutdown VMs?

    According to the APC manual, apcupsd is looking for nodes in /dev/usb/hiddev*. So, you may want to try passing that through instead of /dev/bus/usb/xxx/yyy. I finally got this working for my APC Back-UPS XS 1500G after doing the following: On the host: chown root:100000 /dev/usb/hiddev0 chmod...
  5. Snippet pre-start runs during backup

    Nevermind, I found an example of how to determine VM/LXC type in API2/ my $vmlist = PVE::Cluster::get_vmlist(); my $type = $vmlist->{ids}->{$vmid}->{type}; my $node = $vmlist->{ids}->{$vmid}->{node}; my $conf; my $name = ""; if ($type eq 'qemu') { $conf =...
  6. Snippet pre-start runs during backup

    Thanks for that, works great! How would I adapt the script to handle both LXC and VMs? I have used this script on both. I see the equivalent perl module under /usr/share/perl5/PVE/LXC/, but not sure how to check which one to use based on $vmid.
  7. Snippet pre-start runs during backup

    I have a VM that has a snippet configured with pre-start and post-stop actions. The VM is currently stopped. When my backup job runs (which includes all VMs & containers), the pre-start action in the snippet is executed. Is this intentional? How do I distinguish between pre-start due to...
  8. newuidmap: uid range [1100-1101) -> [1100-1101) not allowed

    Did you edit /etc/subuid and /etc/subgid on the host to include the mapped user id you want to use? By default, only user ids 100000-165535 can be mapped. I think this is what the wiki indicates to do, but it wasn't clear to me at first. I thought it was saying to edit subuid & subgid...
  9. Proxmox Backup-server on LXC with external NAS

    Good to know there are others doing PBS in a container. I arrived at the conclusion that I needed to do this after banging my head against how to get better throughput on a host-guest shared folder. 9p, NFS, and SMB all proved vastly inferior to bare-metal and LXC bind-mount performance.
  10. Verify too liberal / slow

    I would hope that verifying multiple snapshots that have few incremental changes in succession would result in only marginal increases in verification time (we are verifying the chunks themselves, no?). If this is true, then it seems it would be better to run verifications in batches rather...
  11. Disk full - unable to run garbage collection

    Thanks, this is the approach I took with my own 100% full backup drive. Seems to work just fine, although I'm still running the verify job after garbage collecting & moving chunks back.
  12. Scheduling proxmox-backup-client from backup-server

    API token is a good alternative to using root for backups. You can limit permissions that way.
  13. lxc container on zfs won't start after reboot of pve host

    No, I'm not using an encrypted ZFS dataset. I only have the same issue with regard to not starting up the container after reboot, with the same error message, "Permission denied - Failed to create "/dev" directory". I think the issue I had could also present itself with encrypted datasets.
  14. lxc container on zfs won't start after reboot of pve host

    Thanks for the confirmation. I ended up hosting ISOs, templates, snippets inside a container.


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 your own in 60 seconds.

Buy now!