Search results

  1. H

    TRIM Host, CT & Windows VMs

    So if I select "discard" on the VM virtual disk in Proxmox then my Windows VM will discard internally without me doing anything and Proxmox will pass this down to the SSD? Have I understood correctly?
  2. H

    TRIM Host, CT & Windows VMs

    I was referring to the following article: http://askubuntu.com/questions/18903/how-to-enable-trim /etc/cron.weekly/fstrim #! /bin/sh # By default we assume only / is on an SSD. # You can add more SSD mount points, separated by spaces. # Make sure all mount points are within the quotes. For...
  3. H

    TRIM Host, CT & Windows VMs

    After reading many posts I am still unclear on the best use of Trim with SSDs. I have two RAID1 SSDs on a Perc H730 controller which supports trim: http://i.dell.com/sites/doccontent/shared-content/data-sheets/en/Documents/Dell-PowerEdge-RAID-Controller-H730.pdf Currently my server boots with...
  4. H

    Backup problem

    It appears that I need to run a backup via the GUI first on the new HDD before the scheduled backup will work...? I will test this overnight and advise.
  5. H

    Backup problem

    I have 3 1Tb USB hdd that the nightly backup works well with. So as to have one backup per night I purchased 4 more, the new ones are 2Tb. The backup will only work with the 1Tb disks, the new disks cause the backup to fail. With the new disks the CTs backup fine but the VMs fail. INFO...
  6. H

    Container Mount point permissions

    Resolved: https://forum.proxmox.com/threads/mounting-ntfs-usb-hard-drive.9350/ https://forum.proxmox.com/threads/problem-with-write-permission-of-ct-mounted-disk.27289/ mount -t ntfs-3g /dev/sdc1 /mnt/external-hdd/ vi /etc/pve/lxc/1018.conf mp0: /mnt/external-hdd,mp=/mnt/external-hdd
  7. H

    Container Mount point permissions

    I have a CT that mounts an external HDD @ /mnt/external-hdd which works. root@pve:~# cat /etc/pve/lxc/1018.conf arch: amd64 cpulimit: 1 cpuunits: 1024 hostname: media memory: 512 mp0: /dev/sdc1,mp=/mnt/external-hdd nameserver: 8.8.8.8 net0...
  8. H

    Post backup script

    Interesting... I see the log in Proxmox displays the hooks however the email log of the job does not. Accordingly it would appear that to monitor the success failure of the job-start or job-end hook scripts that the email log is lacking. Below is the online log of the job: Search: INFO...
  9. H

    Post backup script

    Hi Fabian, job-end is what I require however I cannot get it to execute. As stated above, when I use the example "vzdump-hook-script.pl" script I only have four hooks that are executed. job-start and job-end are not executed.
  10. H

    Post backup script

    Hi Fabian, I have used the "vzdump-hook-script.pl" script as suggested and can see in the log where the hooks are executed. Unfortunately at no time is job-end executed which is the hook I need to unmount the USB hard drive. The only hooks executed for each VM backed up in order are...
  11. H

    Using NAS storage

    We have a Proxmox server and have recently been gifted a QNAP NAS. I have no idea how to connect the NAS so that Proxmox can access it and how it can be best used. I am guessing it can either function as storage for either backups or run my VMs & CTs straight off it. The link below mentions...
  12. H

    Post backup script

    From the backup log there is no indication of my hook script being run however it is. Can I have it included in the log? root@pve:~# cat /etc/pve/vzdump.cron # cluster wide vzdump cron schedule # Automatically generated file - do not edit PATH="/usr/sbin:/usr/bin:/sbin:/bin" 0 23 * *...
  13. H

    Post backup script

    I have now confirmed that my backups are running and only keeping one copy as required. What does not appear to be running is the hook script and I cannot think why: root@pve:~# cat /etc/pve/vzdump.cron # cluster wide vzdump cron schedule # Automatically generated file - do not edit...
  14. H

    Understanding network traffic

    I am monitoring a VM and looking at the network graph the netout traffic looks high and I am wondering how to know when my card throughput is at capacity. I have a single gigabit card from Proxmox to the switch. The network traffic (hourly average) graph sits around the 500k mark and peaks at...
  15. H

    Post backup script

    I selected the VM under PVE, went to the backup tab and clicked "Backup now". My backup storage is at capacity hence the setting of "1" however as this removes the existing backup post job, logically, then my storage would obviously need to have capacity for two backups not just one. I think...
  16. H

    Post backup script

    I have changed the hook script trigger to "job-end" from "backup-end" which runs after each backup as opposed to after the overall backup job. The backup now fails with a "broken pipe" error. I tried to run it manually and received the following error: ERROR: Backup of VM 1011 failed - only 1...
  17. H

    Post backup script

    Thanks, I am testing this variation now. #!/bin/bash if [ "$1" == "backup-end" ]; then mount -L Backup /mnt/external-hdd/ if mountpoint -q /mnt/external-hdd; then cp /mnt/backup/* /mnt/external-hdd/ umount /mnt/external-hdd exit 0 else exit 1 fi fi
  18. H

    Post backup script

    Thanks, I am testing this variation now. #!/bin/bash if [ "$1" == "backup-end" ]; then mount -L Backup /mnt/external-hdd/ if mountpoint -q /mnt/external-hdd; then cp /mnt/backup/* /mnt/external-hdd/ umount /mnt/external-hdd exit 0 else exit 1 fi fi
  19. H

    Post backup script

    My hook script is simply: if [ "$1" == "backup-end" ]; then mount -L Backup /mnt/external-hdd/ cp /mnt/backup/* /mnt/external-hdd/ umount /mnt/external-hdd fi after the mount command I would like to add a test to first ensure the disk was mounted successfully. If true then copy the...
  20. H

    Post backup script

    Thanks for this. I have configured my backup using the GUI. I suspect these settings are kept in a config file somewhere that I new need to edit the command contained within to add the hook script. Do you know where the defined backup config is stored?

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!