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.
46
questions
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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. ...
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/...
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 ...
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 ...
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 ...
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 ...
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.
...
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 ...
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/...
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://...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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/...