V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
shily
V2EX  ›  macOS

macOS 如何修复 HFS+文件系统?

  •  
  •   shily · Jun 15, 2018 · 3584 views
    This topic created in 2873 days ago, the information mentioned may be changed or developed.

    有一个移动硬盘,一直做备份盘,前天借同事 TM 了一下,回来就挂了。
    现象是挂载后,Finder 显示目录为空,然后就挂(Application Not Responding)了;使用 iTerm cd 到目录会挂掉。
    使用 Disk Utility 的 First Aid 和 sudo fsck_hfs -drfy 均提示无法修复。

    $ tail -f /var/log/fsck_hfs.log
    /dev/rdisk2s2: fsck_hfs started at Thu Jun 14 17:57:09 2018
    /dev/rdisk2s2: /dev/rdisk2s2:    Executing fsck_hfs (version hfs-407.50.6).
    /dev/rdisk2s2: ** Checking Journaled HFS Plus volume.
    /dev/rdisk2s2:    The volume name is Seagate
    /dev/rdisk2s2: ** Checking extents overflow file.
    /dev/rdisk2s2: ** Checking catalog file.
    /dev/rdisk2s2:    Invalid sibling link
    /dev/rdisk2s2: ** Rebuilding catalog B-tree.
    /dev/rdisk2s2: ** The volume Seagate could not be repaired.
    /dev/rdisk2s2:  *****The volume was modified *****
    
    1 replies    2018-06-16 00:52:02 +08:00
    TonyLiu2ca
        1
    TonyLiu2ca  
       Jun 16, 2018
    single user mode 之后运行 fsck_hfs

    使用第三方的软件,如 Alsoft 的 DiskWarrior 或者 TechTool,这两个是老牌的 Mac 工具
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3283 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:21 · PVG 21:21 · LAX 06:21 · JFK 09:21
    ♥ Do have faith in what you're doing.