Jump to content

Trim on Passthrough SSD


Spritzup

Recommended Posts

Posted

Morning All,

 

I'm in the process of standing up a gaming-ish desktop running off of my server.  I'd like to passthrough the ssd directly to windows, and have found how to do that based on  various posts. 

 

/dev/disk/by-id/ata-Crucial_CT512MX100SSD1_14340D0C45C6

 

The issue is that Windows does not see it as an SSD and therefore it doesn't enable trim on the disk... anyway to mitigate this?

 

Also, I had considered having it mounted using 'unassigned' but the option to mount is greyed out.

 

Thanks!

 

~Spritz

Posted

Did you format the disk first? (You need to enable destuctive mode first in unassigned devices plugin)  I was able to mount it afterwards.

I used xfs for the disk format as it should provide trim possibility for the disk.

 

Unfortunately, I can't tell you if the trim plugin works for unassigned devices afterwards or additional configuration ins necessary as I can't find any log entries in the system log for the trim task.

 

 

 

Posted

If the disk is mounted using unassigned plugin, it will be automatically trimmed... even if it's being passed-through. Keep in mind we're not doing a block level passthrough, so this should be the correct way to set it up... unless someone wants to correct me.

 

~Spritz

Posted

So I'm not sure what the issue is, but it seems that my VM constantly losing it's connection to the SSD which causes it to crash.  Afterwards it is not possible to boot up the VM as the disk can no longer be found or mounted by unassigned.  It's very odd...

 

~Spritz

Posted

It works for me with 6.4.0. the same way as you described it. 

Do you use a different version? Maybe a hardware issue?

 

I also tested with a program, wether trim is working and it seems to run correctly.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...