qemu-devel
[Top][All Lists]
Advanced

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

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


From: Launchpad Bug Tracker
Subject: [Bug 1865350] Re: fstrim not working with image mounted to path?
Date: Tue, 06 Jul 2021 04:17:22 -0000

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
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:
  Expired

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]