Search results

  1. A

    sata drive passthrough

    Hi all. I read a lot, but cannot find any information about how to passthrough a physical drive to vm. Actually i need this to update firmware on it (crucial mx500). passing /dev/disk/by-id (or by-path) shows in VM as qemu scsi harddisk or qemu harddisk (with sata not scsi). but i need to see...
  2. A

    LVM thin on raid5 always busy

    Actually, i found this information (about thin pool with raid5) on this forum. But i haven't noticed, that lvconvert on raid levels starts resync. In this case stable disk load caused by resync, that is visible by lvs -a.
  3. A

    LVM thin on raid5 always busy

    Hello. I've created thin pool from lvm raid5 like this pvcreate /dev/sd[a-c] vgcreate myvg /dev/sda /dev/sdb /dev/sdc lvcreate -n mylv -L 700G -i 2 --type raid5 myvg lvcreate -n mymetalv -L 15G -i 2 --type raid5 myvg lvconvert --thinpool myvg/mylv -poolmetadata myvg/mymetalv All fine. I moved...
  4. A

    vm disk parts

    Yes, i agree. But for this operation to be succesfult VM must be powered off. As for me, if i have to power off VM, why to do backups if i can simply copy whole block device) In any case make backup - transfer - restore need much more time. Even more, if i place zstd in combination with nc and...
  5. A

    vm disk parts

    In my case it is a bit expensive. I have nodes in one datacenter and yes i have backup server but in different place. Link between nodes is 1Gbps and 10Gbps, but link to backup space is only 100Mbps. Actually migrating VMs are not often, i try to divide them by resources to proper nodes. But...
  6. A

    vm disk parts

    Actually i asked about what is partX in zfs pool. Why not use dd via netcat or ssh? Offtop: Or maybe you can suggest better way to move whole VM without having pbs?
  7. A

    vm disk parts

    Hello. Can somebody explain. I have ZFS pool storage. under /dev/zvol/mypool i saw vm-10115-disk-0 after i disabled atime zfs set atime=off mypool under /dev/zvol/mypool i see lrwxrwxrwx 1 root root 11 Jun 9 19:34 vm-10115-disk-0 -> ../../zd112 lrwxrwxrwx 1 root root 13 Jun 9 19:34...
  8. A

    error Chunked transfer encoding not supported

    actually, i don't know what was actualy changed... after few days of tries i found solution: i replaced curl_setopt($ch, CURLOPT_POST, 1); with curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); In any case i think, this has to be reviewed by proxmox dev team, as chunked transfer is mandatory of...
  9. A

    error Chunked transfer encoding not supported

    hello. i used own php script to connect to PVE. for now auth is ok, but in any post it returns "HTTP/1.1 501 chunked transfer encoding not supportedCache-Control: max-age=0Connection: closeDate: Fri, 12 Jan 2024 16:34:33 GMTPragma: no-cacheServer: pve-api-daemon/3.0Expires: Fri, 12 Jan 2024...
  10. A

    Correctly separate nodes

    No, i didn't delete node. So now i understood. I have 3 of 5 nodes left and all worked. And now when all of them are working in different places - they all want at least 3 (in my case each other). So. On one node i changed corosync.conf and manually wrote on all other nodes "votes:0". On...
  11. A

    Correctly separate nodes

    Earlier i tried to rejoin node. Faced with VMs loss. Of course i can archive VM config files and restore them but i thought that there is some easier way. And also one of nodes are down and all work correctly, but why? Cluster now somehow waits for 3 nodes, but waited for 4...
  12. A

    Correctly separate nodes

    Thanks for your answer. Actually as i said, i don't need to separate node at all. Simply for some time it has to work separately and then return back to normal work. Somehow one node working standalone, but other ones don't want without every time setting "pvecm expected 1". Maybe if i...
  13. A

    Correctly separate nodes

    Hello. I have faced a problem. I have migrated nodes to different places. And for now i do not need them in a cluster (as i have latency between 2.3 - 4msec it causes troubles) After reboot, every node wants "pvecm expected 1" to start all VMs. How can i fix it? For now i do need any...
  14. A

    Cluster node ip change

    Reboot all anodes helped.
  15. A

    Cluster node ip change

    Few issues was fixed. but now i have corosync[1356]: [KNET ] rx: Packet rejected from 192.168.7.143:5405 in logs of other nodes. i searched about it. in https://forum.proxmox.com/threads/impossible-to-join-node-after-cluster-is-created.114991/ i saw that problem may be in MTU, so i...
  16. A

    Cluster node ip change

    Hello. I had to migrate one node from cluster to a different place. Networks in that places are xombined with gretap. So, i changed node IP from 192.168.1.140 to 192.168.7.140 (as in "remote" networks) On one of nodes that left i changed /etc/pve/corosync.conf - replaced ip of that node and...
  17. A

    How to get maximum network speed between CT/VM?

    Review your overalll network config. Review your IPs, they have to be in the same network. Maybe you have a stuck with your router (if you have) and have only 1Gbps instead of 10Gbps. I have between all VMs and VM - host 10Gbps uplink. I don't know why 10,but actually i have no more than...
  18. A

    iotop after 7.2 upgrde

    Actually, iotop shows "CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and...." Editing /etc/grub/default with GRUB_CMDLINE_LINUX_DEFAULT="delayacct" fixes this issue. So, maybe have sense to enable it in kernel again? And post and update (or with new kernel)
  19. A

    Erro installProxmox R710 dell

    After tests: 1. Iso have to be written in dd mode in rufus. 2. I don't know if it actually matters, but: Default raid config - works. Custom with cluster size 512kb and larger and 63 sectors - don't work After all of that, i rebuild all raid arrays, and i'm happy. P. S. Tested on R710, R720...
  20. A

    Proxmox api vncwebsocket

    With pve6 i used scheme like this: Call to vncproxy, get port and ticket then call to vncwebproxy?port=port&ticket=ticket Then in php - setcookie('PVEAuthCookie', here the cookie from call to api2/json/access/ticket And opened in browser...