Hot answers tagged

47 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 ...
Martin's user avatar
  • 891
38 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 ...
bmike's user avatar
  • 235k
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 ...
GIRIDHARAN RAMASAMY's user avatar
32 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).
lx07's user avatar
  • 3,084
32 votes

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 ...
johnson's user avatar
  • 629
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's user avatar
  • 200k
30 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"...
jksoegaard's user avatar
  • 77.5k
27 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 ...
Neil's user avatar
  • 1,831
24 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 ...
klanomath's user avatar
  • 66.3k
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 ...
David Anderson's user avatar
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 --...
klanomath's user avatar
  • 66.3k
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 ...
jksoegaard's user avatar
  • 77.5k
14 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 ...
David Anderson's user avatar
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: ...
boris42's user avatar
  • 1,441
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. ...
Geoff Nixon's user avatar
  • 3,233
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 ...
LаngLаngС's user avatar
  • 8,279
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/...
fd0's user avatar
  • 10.7k
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 ...
bmike's user avatar
  • 235k
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 ...
oa-'s user avatar
  • 7,716
12 votes

Can I replace existing duplicate files on macOS APFS filesystems 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 ...
whoKnows's user avatar
  • 355
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 ...
bmike's user avatar
  • 235k
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 ...
Chris M.'s user avatar
  • 111
11 votes
Accepted

APFS on external drive missing from Disk Utility

If it is not giving you the option for APFS formats, then you are likely trying to format only the logical volume within the container. To show the container and physical disk in disk utility usually ...
madx's user avatar
  • 244
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 ...
friederbluemle's user avatar
11 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 ...
Adam Morris's user avatar
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 ...
ssasa's user avatar
  • 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 ...
bmike's user avatar
  • 235k
10 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 ...
bmike's user avatar
  • 235k
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 ...
bmike's user avatar
  • 235k

Only top scored, non community-wiki answers of a minimum length are eligible