--- Begin Message ---On Sun, 15 Dec 2019 12:51:01 +0100 Frédéric MASSOT <frede...@juliana-multimedia.com> wrote:> 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. > LVM supports discard so there is no need to change to lvm-thin for that reason. From lvm.conf: " # Configuration option devices/issue_discards. # Issue discards to PVs that are no longer used by an LV. # Discards are sent to an LV's underlying physical volumes when the LV # is no longer using the physical volumes' space, e.g. lvremove, # lvreduce. Discards inform the storage that a region is no longer # used. Storage that supports discards advertise the protocol-specific # way discards should be issued by the kernel (TRIM, UNMAP, or # WRITE SAME with UNMAP bit set). Not all storage will support or # benefit from discards, but SSDs and thinly provisioned LUNs # generally do. If enabled, discards will only be issued if both the # storage and kernel provide support. issue_discards = 0 " -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E mir <at> datanom <dot> net https://pgp.key-server.io/pks/lookup?search=0xE501F51C mir <at> miras <dot> org https://pgp.key-server.io/pks/lookup?search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Q: How many supply-siders does it take to change a light bulb? A: None. The darkness will cause the light bulb to change by itself.pgpy8qgLplG4f.pgp
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________ pve-user mailing list pve-user@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user