Recent content by Aleksej

  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...