I want to create a partition with a different filesystem but in order to do that I need to resize my APFS container.
This container has 292,4 GB used space. Its minimum size is 500,07 GB. This container cannot be split because the resulting containers would be too small.
What I tried
From "How to Resize Your APFS Container on macOS High Sierra"
diskutil list
Output:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 500.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 288.3 GB disk1s1
2: APFS Volume Preboot 43.9 MB disk1s2
3: APFS Volume Recovery 512.3 MB disk1s3
4: APFS Volume VM 3.2 GB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +1.9 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Time Machine Backups 1.9 TB disk2s2
Then:
sudo diskutil apfs resizeContainer disk0s2 450g
Or:
sudo diskutil apfs resizeContainer disk0s2 450g jhfs+ Extra 50g
Output:
Aligning shrink delta to 50.068.037.632 bytes and targeting a new physical store size of 449.999.998.976 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 500.068.036.608 bytes
Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine)
(perhaps caused by APFS Snapshot usage by Time Machine)
I have removed all local time machine snapshots but I am still getting the same output.
How do I change a APFS container's minimum size?