Skip to main content

Questions tagged [apfs]

Apple File System (APFS) is a proprietary file system for macOS, iOS, tvOS and watchOS, developed and deployed by Apple Inc. It aims to fix core problems of HFS+ (also called Mac OS Extended), APFS's predecessor on these operating systems. Apple File System is optimized for flash and solid-state drive storage, with a primary focus on encryption.

Filter by
Sorted by
Tagged with
27 votes
6 answers
111k views

How to mount APFS on Linux or Windows?

Is there any way to mount APFS partition read only or read/write on Linux or Windows?
Vahid's user avatar
  • 381
8 votes
2 answers
23k views

How to restore from a sealed APFS volume when restore fails "because it has a broken seal"

I have been researching this for many hours over the last week. A description of my research effort is at the end of this post. Disk Utility will not restore an APFS volume "because it has a ...
timeSmith's user avatar
  • 340
7 votes
1 answer
7k views

How to create a firm link in latest APFS

I'm running the macOS beta for Catalina (10.15) and I'm trying to find out how to create a firm link. (Not a hard link, soft link, alias or anything like that.) The WWDC keynote mentions a new feature ...
der_michael's user avatar
6 votes
3 answers
2k views

How to find firmlinks

macOS Catalina introduces "firmlinks" to the APFS filesystem. Is there a way via a CLI tool to determine whether /Users is a firmlink and where it is firmlinking to? I'm looking for something similar ...
michaelt's user avatar
6 votes
0 answers
336 views

Determining status of cloned file on APFS

Apple is now using APFS across several product lines, including macOS. This new filesystem has some nice features for minimizing how much actual disk space is consumed, such as sparse file support ...
petiepooo's user avatar
  • 318
5 votes
2 answers
16k views

How do I resize an APFS Volume to reclaim all space inside its container?

I'm running a MacPro 5,1 on MacOS 10.14.6 with a 500gb Samsung SSD as my boot/host drive. I recently ran out of space on my 500gb ssd so I speced an identical 1tb ssd. A clean reinstall is not an ...
Jonathan Baxter's user avatar
5 votes
0 answers
268 views

Is it possible to create a firmlink on the latest version of macOS Catalina?

synthetic.conf creates empty, mountable directories and symlinks, not firmlinks. While I do know you can create another volume inside the APFS container and use synthetic.conf to provide me with a ...
Yan Minari's user avatar
4 votes
1 answer
2k views

My Apple APFS partition is entirely full, and now I can't delete anything anymore. How do I fix this?

APFS is a copy-on-write filesystem, which means that any modification including deletions require writing new metadata, not just changing existing metadata. The new metadata requires free space. At ...
JanKanis's user avatar
  • 259
3 votes
1 answer
2k views

How to format a disk with 2 APFS containers with Disk Utility

I have a MacBook Pro running High Sierra with an internal disk made of 2 volumes HFS+, case sensitive and encrypted: I would like to switch to 2 APFS containers, case sensitive and encrypted. I am ...
dan's user avatar
  • 374
3 votes
1 answer
4k views

Mac Pro 5,1 firmware update for booting APFS

When High Sierra came out, I opted to not update my filesystem version, out of caution. Now that it’s been out for a while, and my MacBook Pro has had no issues, I’d like to upgrade my MacBook Pro 5,1 ...
Dylan McNamee's user avatar
3 votes
1 answer
3k views

How to load MacOS from an APFS partition using GRUB2?

This is a Apple machine, not a Hackintosh. Before Apple switched to APFS, you could put this inside a menu entry in GRUB: set root=(your OS X partition) chainloader /System/Library/CoreServices/boot....
whoKnows's user avatar
  • 151
3 votes
1 answer
1k views

Rsync from Mac OS to synology with btrfs having issues with file and directories that contain umlauts and similar characters

I want to copy a folder from my local Mac (Catalina with APFS) to my Synology (btrfs filesystem) on my local network. And all files that have an umlaut in it (ö,ä,ü,....) gets in trouble somehow. ...
TomBlue's user avatar
  • 43
3 votes
0 answers
2k views

How do I mount a raw APFS filesystem from the commandline on macOS?

Creating a raw image with an APFS filesystem in it is pretty straight-forward: $ hdiutil create -megabytes 1 -layout NONE -fs apfs -volname unicode unicode.dmg created: /Users/daniel/test/apfs/...
Hakanai's user avatar
  • 173
2 votes
1 answer
9k views

How to resolve APFS overallocation error from volume "VM" without reformatting disk

I ran Disk Utility's First Aid on my drive's APFS container. One of the volumes, called "VM", gives the following warning: warning: Overallocation Detected on Main device: (26707978+1) bitmap address ...
Herman Autore's user avatar
2 votes
0 answers
883 views

MacOS: copy HFS+ Time Machine data to APFS Time Machine Volume?

I created a new Time Machine volume under APFS. I want to preserve my older backups of the same system that are on an HFS+ drive; that is, I'd like to copy over that data to the APFS Time Machine ...
Forrest's user avatar
  • 21
2 votes
1 answer
331 views

git-p4 and huge file sizes

I am trying to convert a Perforce(p4) repository to git (preferably to Helix4Git, a git server implementation by perforce). I reduce my problem to a simple use-case in order to find the solution for ...
Daniel Stephens's user avatar
2 votes
1 answer
4k views

Healthy APFS volume trapped by broken container

How do I mount a healthy APFS volume belonging to a broken APFS container? The volume has FileVault enabled. All data sits on an external USB disk. The external USB disk was prepared with filevault ...
Rupert's user avatar
  • 31
2 votes
0 answers
352 views

APFS encrypted sparsebundle won't fully compact

I have an APFS encrypted sparsebundle saved on my HD. It is not a time machine backup, rather something I created and maintain manually. On occasion I perform an hdiutil compact to reclaim HD space. ...
psoft's user avatar
  • 265
1 vote
1 answer
27k views

Format an APFS hard disk on Windows

I have an internal SSD that was installed on a Mac laptop I owned. I bought a new Windows laptop and I want to install this SSD on it, but the drive is formatted in APFS. I installed Paragon APFS for ...
Houssem Nouira's user avatar
1 vote
1 answer
2k views

How to mount System Volume using APFS snapshot

I am not able to mount System Volume (root) using APFS. I only see my Data Volume. $ mkdir /tmp/snapshotbackup_root $ mount_apfs -s com.apple.TimeMachine.2019-10-29-174444.local / /tmp/...
Hologos's user avatar
  • 181
1 vote
2 answers
5k views

Mount APFS on Ubuntu Error while using apfs-fure

I have an apfs disk with some information that I need to access on my desktop. I am using Ubuntu 20.04 and I have looked to this article to find all the steps I need to be able to do this (https://...
Steven Livingston's user avatar
1 vote
0 answers
628 views

MacOS Catalina: Extend APFS Volume

Following is the result of diskutil list command: I want to extend disk0s2 to take up available space (29GB) since I have 128GB SSD and I have deleted container disk of size 29GB. I tried with disk ...
idrisjafer's user avatar
1 vote
0 answers
29 views

Why does an APK file size of 7.6 MB allocate 1.36 GB on an exFAT formatted external hard drive when reverse-engineered?

I have an apk file size of 7.6 MB. When I reverse-engineer this apk file through apktool, which is a reverse engineering tool for apk files, it allocates 1.36 GB on an exFAT formatted external hard ...
talha06's user avatar
  • 141
1 vote
0 answers
358 views

Can I expand an APFS volume across multiple drives

I have installed a 2nd SSD in a Mac running Mojave. Is it possible to expand the current active volume across the 2nd SSD? I would rather do this and have a single volume instead of moving home ...
Tony Goodchild's user avatar
1 vote
0 answers
131 views

Creating a base image for macOS High Sierra with Apple File System (APFS)

I used to be able to create a single dmg file of a Mac disk drive (contains all partitions including recovery partition) and then deploy it to another Mac as per these instructions: https://support....
KeithJ's user avatar
  • 31
1 vote
1 answer
2k views

rEFInd doesn't start Mac OSX

I had rEFInd running fine previously. Then I updated to Mac OSX Mojave beta. After the update, rEFInd was missing. So I just reinstalled it. However, it didn't work. Went back to 10.13.5 fresh ...
user1935456's user avatar
0 votes
1 answer
217 views

Does rsync link to exact files or just files with the same name?

I wrote a little rsync backup script for my recently replaced computer (internal HD to external HD). When I got the new computer, I copied the files over (old internal HD to new internal HD). Same ...
curieux's user avatar
  • 103
0 votes
1 answer
1k views

Create APFS/HFS+ partition on Linux and share it via network

I want to store all my files and documents on a local server at my home instead locally on a single PC. Now I'm wondering if it's possible to create a APFS or HFS+ partition on a Linux system (like ...
Benjamin J.'s user avatar
0 votes
1 answer
882 views

Is there a way to share an APFS partition on Linux?

I want to share over the network a partition formatted as APFS using my laptop with Ubuntu 20. I was wondering if there is a way to share the partition "raw" so I can connect to it from my ...
Raisen's user avatar
  • 113
0 votes
3 answers
4k views

Install macOS Big Sur to HFS+ partition on a clean new HDD/SSD

Is it possible? May be by editing some scripts on the installation media... Or just by selecting a setting I've missed during installation. And prevent further converting HFS+ to APFS in the future. I ...
YKKY's user avatar
  • 235
0 votes
1 answer
879 views

How do I determine the current blocksize of an APFS filesystem and is it possible to change?

Documentation for APFS is sparse and unhelpful. I'm on a MacBook Pro and trying to make IO requests more efficient in VMs, currently qemu disk image is using a block size of 16k, and the xfs ...
TopherIsSwell's user avatar
0 votes
1 answer
429 views

Is there anyway to revert my mac to HFS from APFS?

Most of the time spent on my mac is spent on bootcamp or linux distros, but i have noticed that the main partition cannot be accessed by windows since it is APFS. Since the only way to access APFS is ...
helo's user avatar
  • 3
0 votes
1 answer
271 views

APFS broke find command

I just upgraded to APFS on an external drive. Now this is happening: find /Volumes/FDDISK | head /Volumes/FDDISK /Volumes/FDDISK/.HFS+ Private Directory Data /dir_2354142ISK/.HFS+ Private Directory ...
William Entriken's user avatar
0 votes
0 answers
67 views

Recovering from Invalid Container error in APFS volume (macOS)

I have an external disk formatted in APFS. I can see the disk and partitions, but macOS is not mounting the volumen and disktuil and fsck are giving me lots of errors. Any help recovering the ...
fdeis's user avatar
  • 1
0 votes
0 answers
65 views

macOS: How do I find which file on an APFS disk is associated with a specific `doc-id` and/or `file-id`?

I am on macOS 14.5 with APFS formatted SSD. Disk Utility always reports the same error: error: doc-id tree: record exists for doc-id 1341220, file-id 8567077 but no inode references this doc-id. I ...
HirsuteJim's user avatar
0 votes
0 answers
162 views

how to reset apfs disk volume uuid on macos?

I had try followed: apfs.utils -k /dev/disk1s5 uuid returned. apfs.utils -s /dev/disk1s5 but uuid not changed. Does any other way to reset the uuid of the disk volume?
flashsky's user avatar
0 votes
0 answers
228 views

Is there a bug in macOS with APFS on an external SSD causing the file buffers to not flush and losing data?

I was migrating files from an old Mac running Mojave to a new one running Monterey, using an external SSD formatted with APFS (encrypted), and noticed that there was some data being lost. I had ...
Keith Davidson's user avatar
0 votes
1 answer
456 views

Time machine says "Disk Full" even though 250GB is still available

I have a 5TB external drive, freshly made into a Time Machine backup disk (formatted as APFS). The data I need to backup is about 4.8TB, which should fit fine, and in the past has worked fine on ...
Mischinab's user avatar
  • 101
0 votes
1 answer
212 views

Redirect virtual location "C:/Users/Admin/Projects" to "/Volumes/Projects" in macOS

I'm attempting to set up a workflow where it is possible to open a Premiere Pro project located on a Windows 10 PC in C:/Users/Admin/Projects on a macOS machine, located on the same network. By ...
user2950509's user avatar
0 votes
1 answer
110 views

How do I consolidate container disks to my main volume?

I am using MacOs Big Sur (11.3) and recently removed my dual-boot data, hoping to use the storage on my main volume instead. However, once I did this, it left behind APFS container disks. How do I ...
evelland's user avatar
0 votes
0 answers
193 views

How to convert HFS+ partition to APFS on Mac?

After struggling with deleting Ubuntu from my Mac alongside with macOS, after deleting EFI volume it became free and unused. How can I convert it to APFS again and include that in my HD storage? Disk ...
Rachael O'James's user avatar
0 votes
0 answers
424 views

APFS partition corrupted after Paragon Disk Manager has failed

I am using a MacBook Pro 16" with Big Sur with FileVault enabled and used Paragon Disk Manager (latest version) to resize Bootcamp partition in the 1TB Internal SSD of my Mac. However, operation ...
Eray Ocak's user avatar
0 votes
0 answers
476 views

Fake a mount to local folder

Every so often I need to locally debug Groovy scripts that write files to a subfolder in /mnt on the server. Is there a way to fake this mount on my local machine to another folder (in /tmp) so that I ...
Koen's user avatar
  • 225
0 votes
0 answers
617 views

Unlock FileVault encrypted drive knowing only user password

I have an external disk which is clone of a MacBook internal disk. I used it as an external boot disk from time to time. Today when I tried to boot from it on a new MacBook it stopped working and I ...
nvartolomei's user avatar
0 votes
0 answers
394 views

best process after drive upgrade (High Sierra APFS with FileVault encryption)

I am running MacOS 10.13.5 with APFS format SSD and FileVault encryption. I need to upgrade the drive from 1/4 TB to 1/2 TB. I want to avoid having to reinstall all my applications and data after re-...
tele-bird's user avatar
0 votes
1 answer
227 views

Installer .pkg from terminal fails to APFS volume

Had a .pkg I've been installing from command line to various systems for ages with no problem, recently noticed it's been failing with the following error message: Cannot install on volume /Volumes/...
Danny Shepherd's user avatar