Help! Disk won't mount, fsck fails...

Discussion in 'macOS' started by spidey3, Apr 5, 2012.

  1. spidey3 macrumors regular

    Joined:
    Jul 1, 2010
    #1
    Help!

    I came to the office this morning only to note that my Time Machine backups were failing, and the Time Machine disk was offline.

    It wouldn't mount, so tried fsck, and get the following:

    Code:
    $ sudo fsck_hfs -frdy -c 2.8G /dev/disk1s2
    journal_replay(/dev/disk1s2) returned 0
    ** /dev/rdisk1s2
    	Using cacheBlockSize=32K cacheTotalBlock=49152 cacheSize=1572864K.
       Executing fsck_hfs (version diskdev_cmds-540.1~34).
    ** Checking Journaled HFS Plus volume.
       The volume name is Time Machine
    ** Checking extents overflow file.
    ** Checking catalog file.
    ** Rebuilding catalog B-tree.
    BlockFindAll:  found 273096 blocks but needed 1075456
       Disk full error
    ** The volume Time Machine could not be repaired.
    	volume type is pure HFS+ 
    	primary MDB is at block 0 0x00 
    	alternate MDB is at block 0 0x00 
    	primary VHB is at block 2 0x02 
    	alternate VHB is at block 4883713006 0x123178bee 
    	sector size = 512 0x200 
    	VolumeObject flags = 0x07 
    	total sectors for volume = 4883713008 0x123178bf0 
    	total sectors for embedded volume = 0 0x00
    Any suggestions? While I do have alternate backup, I really would prefer not to lose all of the history which is on this disk...

    Spidey!!!
     
  2. olahaye74 macrumors newbie

    Joined:
    Nov 18, 2013
    #2
    ReadOnly solution.

    I'm having the exact same problem with my iPad 3 AND my iPhone 3GS.
    when the file-system is full (lack of inodes? lack of blocks?) The file-system becomes bad AND panics.
    Thus the reboot after, an fsck_hfs is attempted and fails with the above error even though it can be correct.

    There is NO WAY to mark the file-system as ok, mount it and delete a few files.

    BUT you can do the following to recover data.

    mount -o ro -t hfs /dev/disk0s1s2 /mnt2
    And Tadaaaaaaa your data is here! (read only).

    Then you're free to copy to another device and format this one.

    On my iPhone, I can copy all files, then restore and put back app data...
    On my iPad3: Stuck, no jailbreak for 6.1.3.

    HEY APPLE! this is a shame that your iTune software is unable to do a backup in DFU or Recovery Mode. I can do a mount -o ro /dev/disk0s1s2 /mnt2 and you can't?

    I love iOS, but this is enough. 2 devices hit by this stupid problem. Even worse, on unix filesystems, there is a percentage reserved (10% (2% is IMHO sufficient). Here it looks like 0% is reserved? WHY?????
     

Share This Page