Board logo

標題: [技術討論] 人類基因組或記憶的 file,是否該用 parity 保護? [打印本頁]

作者: yowi    時間: 2017-7-8 12:31     標題: 人類基因組或記憶的 file,是否該用 parity 保護?

提示: 作者被禁止或刪除 內容自動屏蔽
作者: EITCo    時間: 2017-7-8 20:44

如果驚硬碟錯個bit會出科學怪人,不如查下每次細胞分裂會抄錯幾多bit先啦
其實正正係會出錯,先衍生出唔同個體,唔同物種,然後再物競天擇

雖然重要資料份底一定要備份同校驗,我係同意呢點
作者: yowi    時間: 2017-7-8 20:59

提示: 作者被禁止或刪除 內容自動屏蔽
作者: vsp    時間: 2017-7-8 22:26

hdd每個sector有CRC
作者: harryytm    時間: 2017-7-8 22:27

本帖最後由 harryytm 於 2017-7-8 22:39 編輯
回復 EITCo

如果 放 hdd, 之後 read出嚟有 error, 己經唔合理。因 hdd data rot 係可避免,如 snapraid, p ...
yowi 發表於 2017-7-8 20:59

硬碟上面每個Sector都有ECC,當由Platter Read咗啲Data之後,硬碟控制器(硬碟上面嗰粒CPU)會用ECC去檢查數據完整性,如果出嚟有error而又用ECC修復到就係C5,而如果重試過幾次都係讀唔到即係C6,之後會回應返個Host個Sector讀唔到。
作者: harryytm    時間: 2017-7-8 22:35

本帖最後由 harryytm 於 2017-7-8 22:49 編輯
hdd每個sector有CRC
vsp 發表於 2017-7-8 22:26

正確,而家無一隻硬碟係會寫RAW Data落Platter上面,硬碟控制器喺寫Data落碟片之前,已經加咗ECC同Parity先至寫落Platter上面。

作者: yowi    時間: 2017-7-8 23:52

提示: 作者被禁止或刪除 內容自動屏蔽
作者: harryytm    時間: 2017-7-8 23:57

本帖最後由 harryytm 於 2017-7-9 00:16 編輯
回復 harryytm
then what differ from snapraid?
yowi 發表於 2017-7-8 23:52

snapraid split all the files on the disk into blocks and create parity data on these block, in case of some blocks unreadable, it can use the parity data to recover the data and write it back to the damaged part of the file.
回復 harryytm
hdd s own ecc know there is error, but cant correct it?
yowi 發表於 2017-7-8 23:52

Harddisk build-in controller do it all the time when reading/writing every disk sector, just it don't let user know about that happening.
作者: harryytm    時間: 2017-7-9 00:21

本帖最後由 harryytm 於 2017-7-9 00:33 編輯

Every kind of "Digital Media" such as CD, DVD, BluRay, SSD, Harddisk, RAM, all are storing "Digital data" in analog form, and use checksum or ECC to make use retrieved(or read) data are without error, or do some kind of error correction when error are found.

Optical media such as CD, DVD, BluRay uses Reed–Solomon error correction to package data and then use Eight-to-fourteen modulation to modulate packaged data into analog signal, and then record analog signal onto the disc.
https://en.wikipedia.org/wiki/Re ... on_error_correction
https://en.wikipedia.org/wiki/Eight-to-fourteen_modulation

On a harddisk, all data to be written onto the disk would be added ECC data before packaged into HDD's own internal data format, and then the HDD on-board controller will modulate the packaged data into analogue signal and then use the head to write the analogue signal onto the disk platter.
作者: XexeX    時間: 2017-7-10 12:33

呢個應該係生物學範疇,樓主硬要套用喺「儲存燒錄」嚟討論,感覺有少少膠…

如果係,太陽都應該要有parity保護,一陣其中一支bit由0變咗1好大鑊。
作者: fortresscar    時間: 2017-7-10 12:50

其實樓主對人體的細胞認識接近零吧? 香港教育的悲哀
電腦是用數碼, 所以要用parity, 人體是用analog方式, 跟本同電腦的方式完全唔同
另外人體細胞複製出錯無日無之, 所以人體發展左一整套的系統出黎防止這種情況, 包括巨噬細胞, 殺手細胞之類一大堆, 都係要來對付和消滅出錯的細胞, 當這些系統完全失效, 才會變成癌症, 建議樓主一係去圖書館睇下書, 一係BBC都有幾套紀錄片講這些事情, 一係上網google下
作者: macis    時間: 2017-7-10 15:54

人類比人類做出來的高深太多
作者: XexeX    時間: 2017-7-11 15:50

回覆 11# fortresscar

可能佢都係開個Account灌水,幾個都幾啲膠Post





歡迎光臨 電腦領域 HKEPC Hardware (https://www.hkepc.com/forum/) Powered by Discuz! 7.2