瀏覽單個文章
tvirus
Golden Member
 
tvirus的大頭照
 

加入日期: Jan 2003
您的住址: 惡運深淵
文章: 2,562
引用:
作者Voodoo6000
各位鄉民好
目前在Linux下SSD做Trim都是何種作法?(不是灌在VM)
ThinkPad T440p
Micron MX500 500GB
Ubuntu Studio 16.04.5 LTS
單一磁區
/dev/sda1 mount / , ext4 file system
預設在/etc/cron.weekly/fstrim
已有fstrim -all
那若在/etc/fstab手動補上discard的差別是在哪邊?

http://jamyy.us.to/blog/2013/01/4490.html
代碼:
註: 因為 discard 參數的關係, 日後在檔案刪除時會自動 trim block, 所以不需要天天執行 fstrim 


敝公司是很不幸的,經過控制器後TRIM指令執行不能 Orz
舊 2018-08-27, 03:00 AM #8
回應時引用此文章
tvirus離線中