qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1865350] [NEW] fstrim not working with image mounted to path?


From: f1outsourcing
Subject: [Bug 1865350] [NEW] fstrim not working with image mounted to path?
Date: Sun, 01 Mar 2020 15:22:51 -0000

Public bug reported:


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.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1865350

Title:
  fstrim not working with image mounted to path?

Status in QEMU:
  New

Bug description:
  
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1865350/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]