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

求解,我的 Mac 的硬盘为何占用这么奇葩?删除了 60G 的东西了还是占用 164G

  •  
  •   WildCat · Apr 16, 2014 · 6377 views
    This topic created in 4393 days ago, the information mentioned may be changed or developed.



    Supplement 1  ·  Apr 17, 2014
    结贴:
    进入Recovery HD(OS X下不能修复系统分区),Disk Utility, Repair Disk -> 搞定。
    没有格式化重装/不是Time Machine的问题。








    @Livid
    @alexrezit
    @homever
    @blacktulip
    @ETiV
    @ritksm
    @ghy459
    @sparanoid
    @54dev

    感谢所有关注的各位。

    PS.到底是Mactonish HD还是Macintosh HD?傻傻分不清楚!
    29 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Apr 16, 2014   ❤️ 1
    You need DaisyDisk.
    WildCat
        2
    WildCat  
    OP
       Apr 16, 2014
    @Livid

    Amazing, isn't it?
    alexrezit
        3
    alexrezit  
       Apr 16, 2014 via iPhone   ❤️ 1
    Wrong free block count. Fix disk.
    homever
        4
    homever  
       Apr 16, 2014   ❤️ 1
    从左上角 storage 里看看,是不是备份占了很多
    blacktulip
        5
    blacktulip  
       Apr 16, 2014   ❤️ 1
    Disk Inventory X
    http://www.derlien.com

    这个比菊花好用多了,楼主不妨试试
    ETiV
        6
    ETiV  
       Apr 16, 2014 via iPhone   ❤️ 1
    sudo du -sh /*
    kinghenry
        7
    kinghenry  
       Apr 16, 2014   ❤️ 1
    我刚刚也遇上同样的问题,请问是什么原因造成的?怎么处理?
    ritksm
        8
    ritksm  
       Apr 16, 2014   ❤️ 1
    你用了Time Machine么
    kinghenry
        9
    kinghenry  
       Apr 17, 2014   ❤️ 1
    @ritksm 我用了time machine,但是用一块外接硬盘。有时候会拔下来,一般都是接上的。
    ghy459
        10
    ghy459  
       Apr 17, 2014   ❤️ 1
    @kinghenry 开启TimeMachine,如果你不接上硬盘,它会在本地磁盘备份。
    sparanoid
        11
    sparanoid  
       Apr 17, 2014 via Android   ❤️ 1
    我在两年前遇到过类似的问题,可能是一个很隐蔽的 bug:

    /t/35641
    kinghenry
        12
    kinghenry  
       Apr 17, 2014
    @ghy459 那这种情况怎么处理?
    ritksm
        13
    ritksm  
       Apr 17, 2014
    @kinghenry 试着把Time Machine停了?
    kinghenry
        14
    kinghenry  
       Apr 17, 2014
    @sparanoid 只能重装解决?
    kinghenry
        15
    kinghenry  
       Apr 17, 2014
    @ritksm time machine还是很需要的啊。没有其它办法?
    ritksm
        16
    ritksm  
       Apr 17, 2014
    sparanoid
        17
    sparanoid  
       Apr 17, 2014 via Android
    @kinghenry 当时的确没遇到解决办法,最后从 TM 恢复的
    ritksm
        18
    ritksm  
       Apr 17, 2014
    @kinghenry http://pondini.org/TM/30.html
    Quote:
    This may cause some unexpected behavior of the free space available, but only as shown by Disk Utility, the Storage display, and a few 3rd-party apps:
    •If you delete a large file/folder, you may gain little or no free space, since the items are included in one or more snapshots.
    •Later on, free space may grow suddenly and unexpectedly, when Time Machine deletes the last snapshot containing those items.


    于是尝试sudo tmutil disablelocal?
    54dev
        19
    54dev  
       Apr 17, 2014   ❤️ 1
    du -sh 看看哪个目录里占用的空间多,有可能是qq日志里的图片。我上去清了30多g
    kchum
        20
    kchum  
       Apr 17, 2014 via iPhone
    对,有可能是tm本地备份
    homever
        21
    homever  
       Apr 17, 2014
    开启 TM,有一个 hourly backup 的 local snapshot

    请参照
    http://pondini.org/TM/30.html
    Jake
        22
    Jake  
       Apr 17, 2014   ❤️ 1
    Empty Trash?
    kinghenry
        23
    kinghenry  
       Apr 17, 2014
    @ritksm @homever 昨天只有30G free, 今天一看,变成了90g。可能是昨天又把time machine接上去,local snapshot转移到外置硬盘上了?
    homever
        24
    homever  
       Apr 17, 2014
    @kinghenry 没错。会自动删除上次的备份文件,再过一段时间就又会产生一个 local snapshot,不必要太纠结关于 TM 备份或者 snapshot 的问题。
    不过有点大了,可以用 timetracker 检查一下,为啥一次备份要60G,你是做了系统级的改动还是怎么滴。
    homever
        25
    homever  
       Apr 17, 2014
    kinghenry
        26
    kinghenry  
       Apr 17, 2014
    @homever 这几天什么都没做,就是正常用。所以很奇怪,mac在这方面的管理比较不透明,也不知道到底占用了多少空间。
    homever
        27
    homever  
       Apr 17, 2014 via iPhone
    @kinghenry local snapshot的大小不用太纠结,开启tm总会有。主要是如果TM的备份如果很大,可以用上面链接的timetracker来看一下,到底备份了什么,有哪些改动。
    kinghenry
        28
    kinghenry  
       Apr 17, 2014
    @homever 多谢!看来不是什么问题
    Perry87
        29
    Perry87  
       Apr 17, 2014
    楼主自己把硬盘改名了吧。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5767 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 76ms · UTC 06:52 · PVG 14:52 · LAX 23:52 · JFK 02:52
    ♥ Do have faith in what you're doing.