GavinChan Posted April 28, 2022 Share Posted April 28, 2022 将一个2tb(实际容量1.8TB左右)的ssd设置为btrfs的cache, 但发现只有1.08TB可用, 有762GB unallocated, Used 773GB btrfs filesystem usage -T /mnt/cache Overall: Device size: 1.82TiB Device allocated: 1.08TiB Device unallocated: 762.00GiB Device missing: 0.00B Used: 773.15GiB Free (estimated): 1.06TiB (min: 1.06TiB) Free (statfs, df): 1.06TiB Data ratio: 1.00 Metadata ratio: 1.00 Global reserve: 512.00MiB (used: 0.00B) Multiple profiles: no Data Metadata System Id Path single single single Unallocated -- --------- --------- --------- --------- ----------- 1 /dev/sdf1 1.07TiB 2.01GiB 4.00MiB 762.00GiB -- --------- --------- --------- --------- ----------- Total 1.07TiB 2.01GiB 4.00MiB 762.00GiB Used 772.21GiB 963.69MiB 176.00KiB 在 cache目录 查看占用, 存储的数据只有1000M左右, df -h 显示我使用了774G, web显示我使用了831G。。。 # cd /mnt/cache # du -h ... 1009M ./appdata 0 ./multimedia 0 ./others 0 ./isos 1.6M ./files/torrent 0 ./files/books 1.6M ./files 1011M . #lsblk ... sdf 8:80 0 1.8T 0 disk └─sdf1 8:81 0 1.8T 0 part /mnt/cache #df -h ... /dev/sdf1 1.9T 774G 1.1T 42% /mnt/cache web页面显示信息 问题:cache中用1G左右,1.8TB的ssd只有1Tb 左右可用,"丢失”的空间如何找回 ? Quote Link to comment
Solution lyqalex Posted April 28, 2022 Solution Share Posted April 28, 2022 安装Dynamix SSD TRIM 插件,并设置运行计划。 Quote Link to comment
GavinChan Posted May 1, 2022 Author Share Posted May 1, 2022 trim了一次,然后重启unraid ,问题解决!,感谢! Quote Link to comment
Recommended Posts
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.