Hot answers tagged

37 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 ...
user avatar
  • 731
33 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 ...
user avatar
  • 219k
31 votes
Accepted

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. ...
user avatar
  • 185k
31 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 ...
user avatar
28 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).
user avatar
  • 2,741
25 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 ...
user avatar
  • 514
23 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 ...
user avatar
  • 1,281
21 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"...
user avatar
19 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 ...
user avatar
  • 63.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 --...
user avatar
  • 63.9k
15 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 ...
user avatar
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 ...
user avatar
13 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: ...
user avatar
  • 1,361
13 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. ...
user avatar
  • 3,173
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 ...
user avatar
  • 219k
12 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/...
user avatar
  • 9,329
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 ...
user avatar
  • 219k
11 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 ...
user avatar
  • 7,451
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 ...
user avatar
  • 111
11 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 ...
user avatar
11 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 ...
user avatar
  • 7,727
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 ...
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 ...
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 ...
user avatar
  • 219k
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 ...
user avatar
  • 219k
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.
user avatar
  • 1,302
8 votes

Migrate from HFS+ to APFS in-place

Note: this was true before the announcement of High Sierra, June '17 You cannot use APFS as a boot volume for Sierra, it's not yet supported. APFS is still in development & will be capable of ...
user avatar
  • 98.7k
8 votes

How to prevent auto mounting of a volume in macOS High Sierra?

EDIT 2: Unfortunately after upgrading to Big Sur, this no longer is sufficient. You also have to edit /etc/fstab and add: UUID=[put UUID of volume here] none auto noauto EDIT: After more testing, it ...
user avatar
8 votes

How do you perform a clean install of macOS High Sierra with APFS?

To be clear, if boot from a usb high Sierra installer, and format your disk with the new apfs format, you cannot install high Sierra, you get an error that’s it not a os extended disk. To make ...
user avatar
8 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 ...
user avatar
  • 219k

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