43
votes
How to delete all local TimeMachine snapshots
In Terminal, execute this small script:
for d in $(tmutil listlocalsnapshotdates | grep "-"); do sudo tmutil deletelocalsnapshots $d; done
The script lists all snaphosts and deletes all of them in a ...
- 821
35
votes
Accepted
What's /System/Volumes/Data?
Catalina introduces a new file system layout. Where Mojave and earlier had one filesystem that combines the system and user data, Catalina has a read-only system volume and a read-write user volume ...
- 227k
32
votes
How can I merge primary APFS partition with other empty APFS partition?
If anyone still looking for answer.
Step 1: Delete the container
sudo diskutil apfs deleteContainer disk0s3
this will change the container to Apple_HFS Untitled 98.9 GB disk0s3
...
31
votes
Does Time Machine support APFS?
Time Machine supports APFS as a source and not a destination. You can't backup to an APFS destination disk and Time Machine will inform you that the disk needs to be HFS+ if you attempt to do this.
...
grg♦
- 193k
29
votes
APFS on external drive missing from Disk Utility
Disk Utility will only offer APFS if Partition Map is "GUID Partition Map".
If the Partition Map is "Master Boot Record" APFS is not an option (and neither is encrypted HFS).
- 2,944
29
votes
Accepted
APFS on external drive missing from Disk Utility
Edit:
The problem is, that DiskUtil only shows you the Volumes on already partitioned disks. Just select View -> Show all devices. Now instead of the Volume select the device you want to partition ...
- 574
26
votes
Can't resize APFS Container: Not enough free space in Container due to APFS limits or tidemarks
This is the key part of the error message:
(perhaps caused by APFS Snapshot usage by Time Machine)
You must remove the local snapshots. First, list them:
$ tmutil listlocalsnapshots /
You may wish ...
- 1,632
24
votes
Accepted
APFS - how do I enable transparent compression
The standard Mojave setup does have APFS compression implemented, but there's no user visible tools that allows you yourself to select files/folders for compression.
It seems that the "ditto"...
- 72.3k
22
votes
Accepted
OS volume shows as type 'FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF'
A bootable OS X partition (except the Recovery HD) either has the GUID 48465300-0000-11AA-AA11-00306543ECAC for a standard OS X partition, the GUID 53746F72-6167-11AA-AA11-00306543ECAC for a ...
- 65k
18
votes
Accepted
How to remove a container disk and reclaim space with main partition?
Here, I assume the macOS volume that you boot to is Macintosh HD.
The commands below should remove the extra partitions and return the free space back to macOS.
diskutil erasevolume free none disk0s4 ...
- 35.9k
16
votes
Accepted
How to prevent conversion to APFS on High Sierra install
It should work by exiting any High Sierra installer GUI and starting the install from the command line:
/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --...
- 65k
14
votes
Accepted
Does it make sense to format an external HDD as APFS?
APFS gives several benefits over exFAT, for example:
Protection against meta-data corruption caused by for example sudden power loss, system crash or if disconnect the external hard drive without ...
- 72.3k
14
votes
Accepted
How to tell if I'm using HFS+ or APFS?
The easiest way is using the diskutil command line as follows:
diskutil info /
You will see a report which will include something like this for an APFS formatted storage:
Volume Name: ...
- 1,411
14
votes
Accepted
200GB unused, but can't change APFS container size due to minimum requirement
Again, yes, you have deleted all the local snapshots. But you clearly have an external Time Machine drive. And Time Machine snapshots (local or remote) place certain requirements on the source drive.
...
- 3,213
14
votes
APFS - how do I enable transparent compression
Q How do I enable transparent compression?
You don't. You can't. But keep reading.
Conceptual limitations
This is not "enabled" – for the whole filesystem – and then constantly applied, for ...
- 8,053
13
votes
diskutil: get total and available space on macOS using APFS
Both of the following solutions list the total disk size and the available space on the next line of a HFS filesystem:
df -H | awk '/\/dev\/disk1/ {printf("%s\n%s\n", $2,$4)}'
diskutil info /dev/...
- 9,898
13
votes
How to Format APFS drive using a PC so I can replace my Mac drive?
To answer your question, there are good windows software package to read and write to APFS, however you don’t need this and none seem to allow partitioning or setup like you ask.
The stand alone ...
- 227k
12
votes
Accepted
HFS+ vs APFS: What are the pros/cons of converting HDDs to APFS?
APFS (Apple File System) compared to HFS+
Almost all differences apply to Solid State Drives (SSD) and Hard Disk Drives (HDD) as well, while users of HDDs may not see an improvement in speed.
APFS ...
- 7,621
12
votes
How to prevent auto mounting of a volume in macOS High Sierra?
To prevent a volume from automatically mounting you need to know the filesystem type and either the volume name or volume UUID. This information can be found by using the Terminal application command ...
- 35.9k
12
votes
Accepted
Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?
Whether you choose APFS or HFS+ for the sparse disk image will matter very little. They are synthetic filesystems and pass through iOPS and data to the underlying filesystem. That will have some ...
- 227k
11
votes
Cannot change APFS encryption password
You need to list your disks to find the APFS volume disk where you want to change the password:
sudo diskutil apfs list
Now find the UUID of the cryptographic Disk User:
sudo diskutil apfs ...
- 111
11
votes
Accepted
Can Mojave be installed on separate APFS volume under Catalina?
Yes, this is definitely possible. I just created this exact setup with macOS Catalina (10.15.1) as the "main" OS, and a separate macOS Mojave (10.14.6) installation in an APFS Volume (same disk, same ...
- 1,446
10
votes
Accepted
Migrate from HFS+ to APFS in-place
As of Jun 2017 according to this link, during macOS High Sierra install, file system can be upgraded from HFS+ to APFS:
How do I upgrade to Apple File System?
The macOS 10.13 installer offers ...
- 236
10
votes
Accepted
Is it OK to use an HFS+ start disk with High Sierra?
Yes - High Sierra fully supports running / booting from HFS+ since it doesn’t even change any system over to APFS except for Apple SSD based systems. Fusion drives and spinning HDD hard drives all ...
- 227k
10
votes
Replace existing duplicate files on APFS with clones
As of June 2020, Jdupes can do this.
For example, this will find all duplicates in your Applications folder:
jdupes --recurse --dedupe /Applications/
WARNING: Versions before 1.19.0 will overwrite ...
- 335
10
votes
How to use tmutil delete on Big Sur, APFS
The Big Sur syntax changed, but you need to specify the volume and the timestamp with -d and -t:
sudo tmutil delete -d /Volumes/Time\ Machine -t 2020-11-18-100936
You don't need to specify the ...
- 201
9
votes
Accepted
How do I know if a time machine backup is running?
The canonical way to check status of time machine is to use the utility and check status or for newer os check the current phase only:
tmutil status
tmutil currentphase
Now, you have to process ...
- 227k
9
votes
Can you update to macOS 10.14 (Mojave) without converting to APFS?
No
(at least it’s not possible in beta 1)
--converttoapfs isn’t a recognized option in startosinstall.
- 1,312
9
votes
How to delete all local TimeMachine snapshots
If you’re not running low on disk space (5 GB free) - just let this space be allocated as there is no downside to waiting to purge files until you need space.
That being said, if you decide to ...
- 227k
9
votes
Accepted
How to undelete files removed with rm -rf on an APFS SSD disk?
No. It's very unlikely you're going to recover anything.
The reason being is that when you delete something from an SSD, the way it's deleted makes it virtually impossible to recover. Basically, when ...
- 88.7k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apfs × 558macos × 220
disk-utility × 165
partition × 139
hard-drive × 96
high-sierra × 95
time-machine × 69
mojave × 50
ssd × 50
filesystem × 49
catalina × 41
backup × 40
hfs+ × 38
bootcamp × 36
encryption × 36
external-disk × 28
big-sur × 26
macbook-pro × 23
filevault × 22
diskutil × 21
mount × 20
boot × 18
terminal × 16
mac × 16
dual-boot × 15