標題: [測試] Synology DS3018xs btrfs 自我修復功能實測. [打印本頁]
作者: pctine 時間: 2018-2-9 02:11 標題: Synology DS3018xs btrfs 自我修復功能實測.
本帖最後由 pctine 於 2018-2-9 13:02 編輯
針對 DS3018xs 上面所建立的 btrfs file system, 建立一共用資料夾, 對裡面所有的檔案進行 checksum 運算, 此時系統仍持續運作中, 然後手動去 '破壞' 硬碟中的資料, 模擬硬碟媒體損壞或是異常所造成資料讀取錯誤情況, 觀測 DSM 6.2 btrfs 是否如同其所言, 有自我修復之能力 (於破壞資料後再針對所有檔案再計算其 checksum, 和之前做比對.
https://www.youtube.com/watch?v=RDb5O4ZGKfQ
實測可發覺系統在讀取檔案時發覺 btrfs data block checksum 不符, 會於 system log 中紀錄, 並即時嘗試著自我修復並恢復為正確內容, 故測試中約 600 多個檔案 2GB 總容量, 於讀取檔案內容時即時修復, 以致其 checksum 完全相符, 表示檔案內容正確無誤.
作者: ngsamson 時間: 2018-2-9 10:59
Nice sharing.
This is the block level checksum within BTRFS which is similar to ZFS.
BTRFS is pain when it do not have a poor i/o performance when there is a lot of "small writes". It also requires plenty of system memory for processing (Copy on write) attr.
