D
D
DizZa2015-05-24 15:48:21
css
DizZa, 2015-05-24 15:48:21

SSD + mdamd RAID10 + LVM + KVM how to make TRIM work in Windows guests?

How to make TRIM work in Windows guests on KVM in general and Proxmox in particular?
There is a RAID10 of 6 SSD disks, LVM on top of them, the machines are raised on KVM, they have disks, these are pieces of LVM (RAW). Everything that is on the Internet has already been tried, in terms of switching controllers to virtual and tell - it does not work.
At the same time, the scheme itself works, there is support for RAID10 + LVM in the kernel.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Leshchenko, 2018-07-05
@zellenka

https://codepen.io/fancyapps/full/OvZxGB like what you asked
Made by this plugin fancyapps.com/fancybox/3

M
mureevms, 2015-05-24
@mureevms

In this configuration, the TRIM commands must be sent by the host system (Linux), not the virtual one. That's why it doesn't work, because not the SSD itself, but the virtual disk, was issued for use by Windows. Windows itself should not know whether the SSD is there or not.

P
Puma Thailand, 2015-05-29
@opium

And why do trim, on all new ssd disks it seems that it has not been needed for the last two years already, I don’t have any trim and I don’t observe any speed degradation.

L
lovecraft, 2015-12-24
@lovecraft

There is a manual, even in Russian vasilisc.com/proxmox-virtio-scsi-discard
All the salt in the discard=on option, but not all types of disks support it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question