Recent content by tirili

  1. T

    Revert cluster to single instance systems

    I Solved by myself :) # rm /var/lib/pve-cluster/.pmxcfs.lockfile # pmxcfs -l [main] notice: forcing local mode (although corosync.conf exists) # mv /etc/pve/corosync.conf{,.disabled} # shutdown -r now
  2. T

    Revert cluster to single instance systems

    Hello Wolfgang, Something went wrong, my last node is readonly! # rm /etc/pve/corosync.conf rm: cannot remove '/etc/pve/corosync.conf': Permission denied # pvecm expected 1 Cannot initialize CMAP service # pmxcfs -l [main] notice: unable to acquire pmxcfs lock - trying again [main] crit...
  3. T

    Revert cluster to single instance systems

    When I go to the system n2054 (which I removed before), (although I rebooted it), it still shows in the GUI the "master"/cluster in the "Datacenter" view. How can this being reverted as well? Any help is appreciated.
  4. T

    Revert cluster to single instance systems

    Having a 2 node cluster like # pvecm status Quorum information ------------------ Date: Wed May 1 13:33:16 2019 Quorum provider: corosync_votequorum Nodes: 2 Node ID: 0x00000001 Ring ID: 1/8 Quorate: Yes Votequorum information...
  5. T

    CPU Passthrough / Nested KVM?

    which is the syntax for "qm create" ?
  6. T

    CPU Passthrough / Nested KVM?

    Is there a possibility to get the "original" CPU Settings inside a KVM VM ? Having inside: [root@VM ~]# cat /proc/cpuinfo | grep -E "^(flags|model nam)" model name : Common KVM processor flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx...
  7. T

    Forward Protocol Stack to VM (ipsec/gre/ah/etc.)

    Which is the correct syntax for enabling ACCEPT for protocols like ESP / AH / GRE via proxmox.firewall (e.g. /etc/pve/cluster.fw) ?
  8. T

    Forward Protocol Stack to VM (ipsec/gre/ah/etc.)

    Hello, which is the correct way to forward all protocols for a specific IP directly to a VM? E.g. JUMPERint=192.168.90.10 JUMPER=8.4.2.3 (official IP, public) iptables -t nat ${PARAM} PREROUTING -d ${JUMPER}/32 -p esp -j DNAT --to-destination ${JUMPERint} iptables -t nat ${PARAM} PREROUTING...
  9. T

    vzdump only disk-1 ?

    I tried this, but this did not work. Any hints / help are still appreciated: pvesh set /nodes/$(hostname -s)/qemu/1111/config -scsi1 "localdata:vm-1111-disk-1,backup=0,size=100G" I get Unknown option: scsi1 400 unable to parse option pvesh set <api_path> [OPTIONS] [FORMAT_OPTIONS]
  10. T

    vzdump only disk-1 ?

    Is there any way to do this via commandline?
  11. T

    vzdump only disk-1 ?

    How can I use vzdump for a specific VM, only to backup scsi0 (and not scsi1), or more common, how can I include/exclude specific disks from backup? Best regards and thanks for your help in advance!
  12. T

    add new disk to VM (via qm/pvesh) ?

    Is there a way do add a new disk to a VM using pvesh ? I use pvesh create /nodes/$(hostname -s)/storage/local/content -filename vm-XXXX-disk-0 -format raw -size 10G -vmid XXXX to create a new disk, then I run pvesh create /nodes/$(hostname -s)/qemu ..., but how can I add a 2nd / 3rd / ... disk...
  13. T

    resize zfs disk

    Perfect this works. Online, without any reboot :) Journalctl says: Dec 24 21:27:08 vm3210 kernel: sd 2:0:0:0: Capacity data has changed Dec 24 21:27:08 vm3210 kernel: sd 2:0:0:0: [sda] 545259520 512-byte logical blocks: (279 GB/260 GiB) Thank you and Merry X-Mas
  14. T

    resize zfs disk

    Which is the disk name in this case? # zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 54.7G 3.40T 104K /rpool rpool/data 29.5G 3.40T 96K /rpool/data rpool/data/vm-3210-disk-0 18.3G 3.40T 18.3G - # cat...
  15. T

    resize zfs disk

    I tried to resize a VMs disk, using the following command, but it fails: # qm resize 3210 scsi0:pve-data:vm-3210-disk-0 +10G 400 Parameter verification failed. disk: value 'scsi0:pve-data:vm-3210-disk-0' does not have a value in the enumeration 'ide0, ide1, ide2, ide3, scsi0, scsi1, scsi2...