V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shily
V2EX  ›  macOS

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

  •  
  •   shily · 2018-06-15 12:29:32 +08:00 · 3152 次点击
    这是一个创建于 2154 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有一个移动硬盘,一直做备份盘,前天借同事 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 条回复    2018-06-16 00:52:02 +08:00
    TonyLiu2ca
        1
    TonyLiu2ca  
       2018-06-16 00:52:02 +08:00
    single user mode 之后运行 fsck_hfs

    使用第三方的软件,如 Alsoft 的 DiskWarrior 或者 TechTool,这两个是老牌的 Mac 工具
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1061 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:07 · PVG 04:07 · LAX 13:07 · JFK 16:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.