Jump to content

(SOLVED) TRIM on my cache drive reports odd size?


Niklas

Recommended Posts

Hello,

With Unraid 6.7-rc2 ---allow-discards was added to enable TRIM on LUKS encrypted SSDs.

 

This is what I get:

root@Server:~# fstrim -a -v
/var/lib/docker: 23.8 GiB (25545605120 bytes) trimmed on /dev/loop2
/mnt/cache: 352 GiB (377950724096 bytes) trimmed on /dev/mapper/sdb1

Where does that size come from? 352GiB (378GB) looks strange when I have my two 250GB SSDs in RAID1 (btrfs).
I know too little about btrfs yet to understand if the reported size is correct or not.

Server specs in signature.

 

 

Edited by Niklas
Removed diag
Link to comment
5 minutes ago, johnnie.black said:

Sorry, I though you were saying Unraid was detecting the cache as 352GB, fstrim is reporting the amount of free space trimmed, so free space that shows on the GUI x 2.

Oh, ok. Of course. Doh! So it is correct then. 🙂 GOOD. Thanks!

Edited by Niklas
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.

×
×
  • Create New...