Closed JulianLian closed 2 years ago
Hi, can you first provide the output of diskutil apfs list
to make sure you have the right disk/partition path?
As for --block-size
and proper automatic block size detection, these are not in v0.1.3. You can compile the main
branch to get that functionality, as well as some of the other functionality described in the v0.2 docs that has been implemented so far.
Meanwhile,
hdiutil
stated the block size is 512.
That is your drive's reported sector size, not the APFS logical block size, which must be at least 4096 bytes.
@jivanpal Thank you for your quick reply.
Only got container /dev/disk1 with diskutil apfs list
. That is the mbp built-in disk. And /dev/disk2 is my SD card which pulgged in the laptop. Unfortunatly, it cannot be read after I upgraded macOS to 11.6.3.
diskutil apfs list
APFS Container (1 found)
|
+-- Container disk1 A0C372B1-520A-4B75-BEF2-3CE38C1927BF
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 121123069952 B (121.1 GB)
Capacity In Use By Volumes: 102902693888 B (102.9 GB) (85.0% used)
Capacity Not Allocated: 18220376064 B (18.2 GB) (15.0% free)
|
+-< Physical Store disk0s2 A52645D3-F945-4EAD-989C-7E5A20F46EAE
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 121123069952 B (121.1 GB)
|
+-> Volume disk1s1 F34352C2-B574-3904-9387-F48C8D4BE0BC
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (Data)
| Name: Macintosh HD - 数据 (Case-insensitive)
| Mount Point: /System/Volumes/Data
| Capacity Consumed: 82904895488 B (82.9 GB)
| Sealed: No
| FileVault: Yes (Unlocked)
|
+-> Volume disk1s2 E797E96E-3B24-460D-A700-13C58328B508
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: /System/Volumes/Preboot
| Capacity Consumed: 698134528 B (698.1 MB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s3 6CFAD64E-0305-4633-A0DC-96287235447A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 623628288 B (623.6 MB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s4 438F8EA5-AFF2-498E-BCDE-0FEDD0C91FFD
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s4 (VM)
| Name: VM (Case-insensitive)
| Mount Point: /System/Volumes/VM
| Capacity Consumed: 3222466560 B (3.2 GB)
| Sealed: No
| FileVault: No
|
+-> Volume disk1s5 D7B8230E-B7EC-4E5F-B0FD-EEFF51A192D1
---------------------------------------------------
APFS Volume Disk (Role): disk1s5 (System)
Name: Macintosh HD (Case-insensitive)
Mount Point: Not Mounted
Capacity Consumed: 15323054080 B (15.3 GB)
Sealed: Broken
FileVault: Yes (Unlocked)
Encrypted: No
|
Snapshot: 29C19B24-B315-43B3-8A9A-97CE19E16874
Snapshot Disk: disk1s5s1
Snapshot Mount Point: /
Snapshot Sealed: Yes
Hi @jivanpal, I am using an old MBP (mid2014) which has a SD slot built-in. And I have a SD card plugged always. Also it was formatted to "macOS extend journal" which I think belongs to APFS. Unfortunately, the SD card cannot read after OS upgraded to Big Sur 11.6.3.
"macOS Extended" is HFS+, Drat will not help you — sorry! As well as the tools I mentioned previously, you may also want to try out Disk Drill.
@jivanpal Thank you so much! I am just about to research more on APFS. Really appreciate that you guide me the right direction.
Greetings. I'm trying release 0.1.3 on Mac Big Sur 11.6.4, and run across error related to block size. Any insights will be highly appreciated.
First, tried inspect:
Meanwhile,
hdiutil
stated the block size is 512. Not sure if it's the same block size.Then, I want specify the block size when executing
drat
, but failed:Finally, I tried sub-container name: