PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 電腦硬體討論群組 > 儲存媒體討論區
帳戶
密碼
 

  回應
 
主題工具
sparc10
Junior Member
 
sparc10的大頭照
 

加入日期: Jun 2003
您的住址: 防備李嘉修推銷!
文章: 855
     
      
舊 2026-04-10, 12:44 PM #71
回應時引用此文章
sparc10離線中  
ericshliao
Advance Member
 

加入日期: Aug 2004
文章: 382
很棒的經驗分享. 但這件事沒那麼神, 純粹是案主找的資料救援太遜了.
問AI: does zfs storage metadata backup?
AI 摘要:
Yes, ZFS automatically stores multiple, redundant copies of its metadata (specifically 2-4 copies, including uberblocks) on-disk to protect against single-disk corruption. This redundant metadata is inherent to the filesystem, storing block pointers, file permissions, and directory structures directly on the data drives to allow for auto-repair.

ZFS本身就有存2到4份的metadata備份, 在硬碟全沒事的情況下, 應該只要找到備份的metadata, 就能救回全部的資料.

如果連備份的metadata也全壞了, 只要以前曾做過snapshot, 也有得救.
問AI: does zfs keep old metadata?
AI 摘要
Yes, ZFS keeps old metadata as long as it is referenced by an immutable snapshot. Due to its copy-on-write (COW) nature, when data or metadata is modified, ZFS writes new data to a new block rather than overwriting the old, preserving the previous state until all snapshots referencing it are destroyed.

以上這些問AI得到的答案其實都是在Rddit或StackOverFlow論壇裡有人發表的文章, 不是什麼密而不宣的高超技術. 實在是案主找的資料救援真的太遜了, 即使不熟ZFS, 連去網路找答案都懶.
 
舊 2026-04-10, 01:41 PM #72
回應時引用此文章
ericshliao離線中  
野口隆史
Elite Member
 
野口隆史的大頭照
 

加入日期: Mar 2001
您的住址: Rivia
文章: 7,071
引用:
作者ericshliao
很棒的經驗分享. 但這件事沒那麼神, 純粹是案主找的資料救援太遜了.
問AI: does zfs storage metadata backup?
AI 摘要:
Yes, ZFS automatically stores multiple, redundant copies of its metadata (specifically 2-4 copies, including uberblocks) on-disk to protect against single-disk corruption. This redundant metadata is inherent to the filesystem, storing block pointers, file permissions, and directory structures directly on the data drives to allow for auto-repair.

ZFS本身就有存2到4份的metadata備份, 在硬碟全沒事的情況下, 應該只要找到備份的metadata, 就能救回全部的資料.

如果連備份的metadata也全壞了, 只要以前曾做過snapshot, 也有得救.
問AI: does zfs keep old metadata?
AI 摘要
Yes, ZFS keeps old metadata as long as it is referenced by an im...

你這 AI 的回答幻覺很嚴重
ZFS 的 metadata 的備份數量怎麼會是 2~4 份?
這完全是看你的 pool 內有多少硬碟還有 raidz 架構有多少的冗餘來決定
__________________
Folding@home with GPGPU集中討論串

Unix Review: ArchLinuxSabayonOpenSolaris 2008.5Ubuntu 8.10
AVs Review: GDTCAntiVir SSESSKIS 09NIS 09Norton 360 V3

I Always Get What I Want.
舊 2026-04-10, 02:06 PM #73
回應時引用此文章
野口隆史離線中  
ericshliao
Advance Member
 

加入日期: Aug 2004
文章: 382
2到4個backup應該是基於最基本配備的情況, 沒有disk mirror.
這應該不算幻覺, 只不過沒講清楚計算的基礎而已.
舊 2026-04-10, 03:32 PM #74
回應時引用此文章
ericshliao離線中  
野口隆史
Elite Member
 
野口隆史的大頭照
 

加入日期: Mar 2001
您的住址: Rivia
文章: 7,071
引用:
作者ericshliao
2到4個backup應該是基於最基本配備的情況, 沒有disk mirror.
這應該不算幻覺, 只不過沒講清楚計算的基礎而已.

Uberblock 數量會隨操作增加,不管什麼樣的架構都不會只有 2~4,甚至多到你數不完
metadata 是根據架構決定數量產生,這數字基本就絕對不可能是 2~4
因為這數目是基於 Mirror/Parity 算出來的,從來就不是固定數字
fb 那篇使用 12 顆硬碟做 raidz1,就至少 12 份 metadata 了

ai 的回答就是看到題目就直接寫答案然後算式都沒有
它唯一說對的只有保護機制的部分,然後冗餘的數量完全是錯的
這就是幻覺


然後 fb 那篇就純碎自己亂搞
怎麼會有人 12 顆硬碟做 raidz1?!
只有一個冗餘這心臟要多大?
然後這問題的嚴重性根本就只是一個小問題
因為原 po 外行,被無限放大而已
他自己貼出來的訊息是所有硬碟 online
但是 metadata 有問題
它已經提示你可以使用 -f 匯入了
匯入後自己再 scrub 就好了
結果放個一年讓 claude 換另一種方式做這件事...
__________________
Folding@home with GPGPU集中討論串

Unix Review: ArchLinuxSabayonOpenSolaris 2008.5Ubuntu 8.10
AVs Review: GDTCAntiVir SSESSKIS 09NIS 09Norton 360 V3

I Always Get What I Want.
舊 2026-04-10, 04:12 PM #75
回應時引用此文章
野口隆史離線中  


    回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼關閉



所有的時間均為GMT +8。 現在的時間是02:29 PM.


vBulletin Version 3.0.1
powered_by_vbulletin 2026。