Hi all,
First of all, I want to thank Elmar for making hfsprescue open source.
For the sake of completeness, I will describe briefly my problem regarding the internal HDD corruption. I have a MacBook Pro (early 2011) which is unable to boot from the internal HDD called Macintosh HD. I believe that the internal HDD is not physically damaged. The problem started when I upgraded from last version of Sierra to High Sierra, which failed. And, since I'm totally idiot and I haven't backed up most of the files, I have lost 3 years of work. Now, when using First Aid on Macintosh HD through Disk Utility, an error regarding uncountably many missing thread records appears, so as I understand the problem is in the catalog file data (there's nothing pointing to the parent folder due to the incorrect number of thread records). I'm currently booting from an external HDD with Sierra installed on it. As expected, I can't mount Macintosh HD.
My volumes are the following:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS +498.9 GB disk1
Logical Volume on disk0s2
D8811A76-851D-47F2-8025-A341C73D9D4C
Unencrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *999.5 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Untitled 998.6 GB disk2s2
3: Apple_Boot Recovery HD 650.0 MB disk2s3
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *804.4 MB disk3
Further information about the physical and logical volume of the corrupted HDD:
Device Identifier: disk1
Device Node: /dev/disk1
Whole: Yes
Part of Whole: disk1
Device / Media Name: TOSHIBA MK5065GSXF
Volume Name:
Mounted: No
Content (IOContent): Apple_HFS
File System Personality: HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended
Journal: Unknown (not mounted)
Owners: Disabled
OS Can Be Installed: No
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Not Supported
Disk / Partition UUID: D8811A76-851D-47F2-8025-A341C73D9D4C
Disk Size: 498.9 GB (498876809216 Bytes) (exactly 974368768 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 0 B (0 Bytes) (exactly 0 512-Byte-Units)
Volume Available Space: 0 B (0 Bytes) (exactly 0 512-Byte-Units)
Read-Only Media: No
Read-Only Volume: Not applicable (not mounted)
Device Location: Internal
Removable Media: Fixed
Solid State: No
Virtual: Yes
OS 9 Drivers: No
Low Level Format: Not supported
This disk is a Core Storage Logical Volume (LV). Core Storage Information:
LV UUID: D8811A76-851D-47F2-8025-A341C73D9D4C
LVF UUID: 8B40412E-5901-4DDC-9B1D-B3794F00C573
LVG UUID: ABA28B2D-813B-46A5-AD6D-002268C16BA8
PV UUID (disk): 9C02BF30-5616-43F3-97CE-F4B4F296BB6C (disk0s2)
Fusion Drive: No
Encrypted: No
Device Identifier: disk0s2
Device Node: /dev/disk0s2
Whole: No
Part of Whole: disk0
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Partition Type: Apple_CoreStorage
OS Can Be Installed: No
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Disk / Partition UUID: 2360AB4C-2924-41A0-AFD8-F342EF19699A
Disk Size: 499.2 GB (499248103424 Bytes) (exactly 975093952 512-Byte-Units)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Device Location: Internal
Removable Media: Fixed
Solid State: No
This disk is a Core Storage Physical Volume (PV). Core Storage Information:
PV UUID: 9C02BF30-5616-43F3-97CE-F4B4F296BB6C
LVG UUID: ABA28B2D-813B-46A5-AD6D-002268C16BA8
Unfortunately, when applying sudo ./hfsprescue -s1 diskname
for both the logical volume and the physical volume, I always get stuck at 0.17%. Interestingly, after one day running, some megabytes changed, but the percentage remained the same.
Here follows what I see on the shell:
sudo ./hfsprescue -s1 /dev/disk1
hfsprescue 3.3 2017/03/31 by Elmar Hanlhofer https://www.plop.at
Start: 2018/01/29 04:04:58
Signature: 0x2b48, H+
LastMountedVersion: fsck, last mount was not done by Mac OS X.
FileCount: 1441223
DirCount: 241608
BlockSize: 4096
TotalBlocks: 121796096
AllocationFile StartBlock: 54530
ExtentsOverflowFile StartBlock: 4098
CatalogFile StartBlock: 1054086
Total size: 464 GB
0.17% scanned (799 MB). Found: 70556 directories, 181347 files.
I tried disabling everything from sleeping as it was suggested in other threads, but the percentage still at 0.17%.
Thanks in advance.
P.S. : Interestingly, I can't kill hfsprescue process unless I use kill -9 PID
. As I understand this information is probably not relevant, though.