Hi,
On a CentOS 7 VM with CEPH backend, i can run fstrim inside the VPS without issue:
I try to do this via the agent:
But this is the result:
I see this in the VM syslog:
I think, qm try to wait for the respond, and after few seconds it run to timeout, what is normal because fstrim can run several sec or min. However i do not see timeout settings for "guest cmd" command.
Any idea?
On a CentOS 7 VM with CEPH backend, i can run fstrim inside the VPS without issue:
Code:
~ # time fstrim -a -v
/data: 0 B (0 bytes) trimmed
/boot: 817.9 MiB (857587712 bytes) trimmed
/: 13 GiB (13946646528 bytes) trimmed
real 0m15.663s
user 0m0.013s
sys 0m0.026s
I try to do this via the agent:
Code:
qm guest cmd 144 fstrim
Code:
VM 144 qmp command 'guest-fstrim' failed - got timeout
I see this in the VM syslog:
Code:
Dec 7 20:54:58 proxy qemu-ga: info: guest-ping called
Dec 7 20:54:58 proxy qemu-ga: info: guest-fstrim called
I think, qm try to wait for the respond, and after few seconds it run to timeout, what is normal because fstrim can run several sec or min. However i do not see timeout settings for "guest cmd" command.
Any idea?