blob: f9987ff89883915d74271bac8af8de90c80eb4fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
device: 0.797
socket: 0.731
graphic: 0.729
other: 0.724
semantic: 0.675
vnc: 0.654
instruction: 0.649
mistranslation: 0.601
assembly: 0.526
network: 0.462
boot: 0.385
KVM: 0.248
fstrim not working with image mounted to path?
guest os: windows server standard 2016
qemu agent version 100.0.0
os supports trimming
path mounted image does not support trimming
C:\Users\Administrator>fsutil behavior query disabledeletenotify
NTFS DisableDeleteNotify = 0
ReFS DisableDeleteNotify = 1
[@ ~]# virsh qemu-agent-command vps-xxx '{"execute":"guest-fstrim"}'
{"return":{"paths":[{"path":"C:\\"},{"path":"C:\\Program Files\\Microsoft\\Exchange Server\\V15\\Mailbox\\xxxx\\","error":"The given volume path is invalid. (0x89000001)"}]}}
Looks like the fstrim does not like/check images mounted on a path? Nor detects if image trimming is supported. xxxx is a ReFS mounted image without trimming support.
If I enable trimming on the ReFS image, and configure it win2016, the result is still the same.
C:\Users\Administrator>fsutil behavior query disabledeletenotify
NTFS DisableDeleteNotify = 0
ReFS DisableDeleteNotify = 0
[root@c03 ~]# virsh qemu-agent-command vps-xxx '{"execute":"guest-fstrim"}'
{"return":{"paths":[{"path":"C:\\"},{"path":"C:\\Program Files\\Microsoft\\Exchange Server\\V15\\Mailbox\\xxxx\\","error":"The given volume path is invalid. (0x89000001)"}]}}
PS. tried this on a win 2016 std server with just one fs, no problems then.
The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
[Expired for QEMU because there has been no activity for 60 days.]
|