bgk48652046 wrote:
這邊順便請益一下,我NAS重建後,以RAID6是否資料安全性會高於兩者。...(恕刪)
前面網友已經提及, RAID 和 snapshot 屬於不同的應用. 不存在誰能完全取代對方.
但如你原使用 RAID5, 改用 RAID6 會在資料保護上得以提升.
EluSiOn wrote:
cow 的檔案格式的 file system,snapshot 是不太佔 hd 的空間的,而且只有修改過部分的檔案的部分區塊,才會佔空間。如果你修改一個 1個小時長的 1080p 的 Video, 但你只修改前面30秒, 那麼 snapshot 只會針對那個修改過的 30秒的區塊進行記錄。所以快照是非常節省空間,因為它運行的機制是 block level 而不是 file level....(恕刪)
wuwaiter wrote:
其實就目前的演算法來說
是可以知道那些blocks有修改, 而且也不算是太耗效能...(恕刪)
Copy-On-Write (CoW)
By default, Btrfs performs copy-on-write for all files, at all times: If you write a file that did not exist before, then the data is written to empty space, and some of the metadata blocks that make up the filesystem are copied-on-write. In a traditional filesystem, if you then go back and overwrite a piece of that file, then the piece you are writing is put directly over the data it is replacing. In a CoW filesystem, the new data is written to a piece of free space on the disk, and only then is the file's metadata changed to refer to the new data. The old data that was replaced can then be freed up if nothing points to it any more.
Copy-on-write comes with some advantages, but can negatively affect performance with large files that have small random writes because it will fragment them (even if no "copy" is ever performed!). It is recommended to disable copy-on-write for database files and virtual machine images.
pctine wrote:
願聞其詳, 這裡指...(恕刪)
pctine wrote:
在一些文件上提到的 CoW '理論' 上是如此沒有錯.
pctine wrote:
synology ...(恕刪)