[PVE-User] Discard transmission between VM / LVM / mdadm layers ?

Frédéric MASSOT frederic at juliana-multimedia.com
Sun Dec 15 12:51:01 CET 2019


Le 13/12/2019 à 13:15, Alexandre DERUMIER a écrit :
> When a VM sends a discard/trim command, is it sent to the SSD, LVM does
> not block the command?
> 
> Hi, yes it's working with lvm (lvm thin only)

Hi,

I opened a bug report to the debian-installer package to see if it could 
add lvm-thin support.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946682

Ben Hutchings answered this about the non transmission of discard by 
LVM: "This seems to be incorrect. LVM normally uses dm-table, which 
supports discard if the underlying device(s) do".

I do not know what to think. Mdadm, the lower layer, supports discard.


Regards.
-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic at juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===========================Debian=GNU/Linux===



More information about the pve-user mailing list