How to Implement Trim on SSD Drives


Recommended Posts

1 hour ago, dertbv said:

I assume that these two directories are on the cache drive?

sudo fstrim -a -v
/var/lib/docker: 11.9 GiB (12789510144 bytes) trimmed
/etc/libvirt: 921.6 MiB (966324224 bytes) trimmed

Maybe. In a way. Those are actually mount points for vdisks used by Docker and VM Services.

 

Cache is the default location for those vdisks assuming everything else involved is set to defaults. It depends on the paths you have specified in Docker Settings and VM Manager Settings. It also depends on what the settings for those paths are if they are on user shares, and also whether or not cache was available when they were created.

 

In any case, unrelated to the discussion of this thread.

Link to comment
  • 1 year later...

Hello Everyone,

 

I have 2 ssd's in a cache pool and the dynamix ssd trim plugin set to trim at 1:30am everyday. When I click on the disk log information of the first disk, I see that it has trimmed the disk at the hour I set up but it says /dev/sdb1 (the cache disks are sdb and sdc), is this referring to both disks in the pool got trimmed. When I click on the disk log information of the second disk in the pool, there is no mention of it being trimmed.

 

Thanks

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.