[SOLVED] Discard supported or not on Virtio block?

f.yakhyaev

Member
Sep 4, 2019
45
3
8
34
Hi all.
do which version proxmox is discard supported?
I have pve 6.0.4 if I create new drive and Bus/Device choosed Virtio block, discard checkbox is not active.
But in pve version 6.1.7 create new drive and Bus/Device choosed Virtio block, discard checkbox active.
I read help and it says that it is not supported
Note that Discard is not supported on VirtIO Block drives.

Where can I read about the added features? Thank's
 
VirtioBlk learned discard in newer kernel version (at least 5.0 in guest required, IIRC) so we allow it now - in the past it didn't worked.

Where can I read about the added features? Thank's
Changelogs (apt changelog), git history (https://git.proxmox.com/) and naturally code work always, even if docs is slightly outdated.
 
  • Like
Reactions: fireon