Search results for query: "hook script"

  1. G

    Hook Script to disable pbs storage

    Firstly, you probably want that command in the post-stop stage. Secondly what is the storage name you used for pbs. Maybe show your cat /etc/pve/storage.cfg output for that. Also realize; the hook script will only activate due to VM activity (on or off). So you may want to ensure that by...
  2. M

    Set VNC password with hook script not working

    When I reboot my Proxmox host, I have to enter this command in the Monitor section of the VM in order to set a password for VNC (necessary to connect with the VNC client built into macOS). set_password vnc none -d vnc2 This does the trick but I want to automate it. Looks like a hook script...
  3. F

    Hook Script to disable pbs storage

    i tried to create a hook script with with these commands but it doesn't work can you help figure out what needs to be change to make it work. I have tried inputting the two commands you ponted out and comment out the rest, but I have no experience with perl. #!/usr/bin/perl #!/usr/bin/perl...
  4. F

    [SOLVED] Zfs boot disk replacing

    thanks to your help, here is what I did and seems to work (I did reboot on each sole drive to validate the boot mirror => it's ok) I give all if it can help other people: me@myhost:~# sgdisk /dev/sdf -R /dev/sdb The operation has completed successfully. me@myhost:~# sgdisk -G /dev/sdb The...
  5. T

    [SOLVED] No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync

    Ok looks I like I got it solved and the trick was to unmount /dev/sda2 and then run the proxmox-boot-tool init command. root@Proxb2:~# umount /dev/sda2 root@Proxb2:~# proxmox-boot-tool status Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace.. E...
  6. T

    [SOLVED] No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync

    Hi just caught this message after running an adhoc update Setting up zfsutils-linux (2.4.1-pve1) ... Installing new version of config file /etc/default/zfs ... Installing new version of config file /etc/zfs/zfs-functions ... Setting up zfs-initramfs (2.4.1-pve1) ... Setting up corosync...
  7. F

    Hook Script to disable pbs storage

    Good day I have pbs vm for all my backups, the pbs syncs these to an offsite pbs for long term storage. my problem is that proxmox hangs on shutdown, due to the pbs storage location being offline. I have seen I can use hook scripts to perform actions depending on vm status, and I have seen...
  8. jsterr

    Opt-in Linux 7.0 Kernel for Proxmox VE 9 available on test and no-subscription

    Cant install proxmox-kernel-7.0. But it was due to having no space left on /boot/efi (1GB). Using a apt autoremove helped. Just wanted to post it here, if anyone has the same situation. Continue? [Y/n] Y Setting up proxmox-kernel-7.0.0-1-rc7-pve-signed (7.0.0-1~rc7+1) ... Examining...
  9. E

    No web GUI after upgrade from 9.0.11 to 9.1.6

    Usually, in such cases, there is a hook script in the system that reapplies the patch to this file after every update ....
  10. T

    PVE 8 to 9 In-place Upgrade

    OK so I've just upgraded the remaining 2 nodes and both ran into the same issue, however this time I caught it in the last few lines of output Running hook script 'zz-proxmox-boot'.. Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace.. No...
  11. G

    Skip backup of VM if it hasn't run nor changed

    because compression is not reproductible. rsync can't be efficient with compressed stream as data is mixed. hook script at stop is the solution for your use case. Once you have tried PBS, you will keep it. Here PBS alongside PVE. PBS datastore/disk is the real backup data to take care of. PBS...
  12. Alwin Antreich

    Ceph - VM with high IO wait

    I thought that the crush_location_hook is only used in the context of OSDs, not clients? C’est la vie. I gather a client can pick up crush_location. But wouldn't it be enough to set it once per node startup, as every qemu/kernel client will read the config? It seems a little massive to have...
  13. R

    pbs3to4 fails to boot

    After running bookworm -> trixie upgrades, in accordance with Proxmox's upgrade docs, the machine won't boot. The only thing that shows up when the machine starts is the following message (for a quick second, then the machine resets and loops over and over): BdsDxe: loading Boot0001 "UEFI BHYVE...
  14. O

    Bester Weg Datenrettung Raid & ZFS unter PM

    So....grad mal ne KI gefragt. Die kommt tatsächlich mit nem Argument hinter der mdadm-install.... Jetzt läuft auch ne richtige Install-Routine durch. vorher nicht. Wünscht mir Glück ....reboot root@pve1:~# apt update apt install mdadm zfsutils-linux -y Hit:1...
  15. T

    Ceph - VM with high IO wait

    @Phreak: It depends on how you configured the settings. If you used `ceph config set` (recommended): no restart needed. Both settings propagate live to running QEMU instances through the Ceph config notification path. When you run `ceph config set`, the monitors push the updated config to all...
  16. T

    Ceph - VM with high IO wait

    First, some context on why this matters even for a single-DC setup. Without `rbd_read_from_replica_policy = localize`, every read goes to the primary OSD regardless of where it lives — even if a replica of that object sits on the same hypervisor node as the VM. The network round-trip is always...
  17. D

    Error during 6.8.12-20 Update

    I tried updating my PBS from 6.8.12-18 to 6.8.12-20 and received an error. Here's the console output (errors have been put in bold: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were...
  18. S

    Exchange Server 2019 VSS Writer: retryable error

    I ran into the exact same "Microsoft Exchange Replication service VSS Writer failed with error FFFFFFFC" + retryable error on Exchange 2019 with PBS 4.1.4. The logs never truncate because the backup completion event never reaches the Exchange writer properly — this is a very common gotcha with...
  19. T

    [SOLVED] Advice needed - Upgrade PVE 8 to 9 using systemd-boot with ZFS rpool, UEFI, and no secure-boot

    I managed to "recreate" the error on my running PVE8: ~# update-initramfs -u update-initramfs: Generating /boot/initrd.img-6.8.12-20-pve cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/pve-1 cryptsetup: WARNING: Couldn't determine root device Running hook script 'zz-proxmox-boot'...
  20. R

    replace harddrive in zfs raid

    Hello, yesterday I replace a harddrive in my zfs raid. After this I execute the following command. zpool replace rpool 18419091268690890705 /dev/disk/by-id/ata-WDC_WD4005FFBX-68CAUN0_WD-AS05X86R Tonight the process was successfully and the ZFS Raid is online again. Now I installed the last...