Apple File System is the default file system for iOS 10.3 and later, and for macOS High Sierra and later.

APFS Documentation

Posts under APFS tag

47 Posts
Sort by:
Post not yet marked as solved
10 Replies
3.8k Views
Greetings to you! For now; hope you are all healthy !? To my question: 1) Who knows this message (hard disk utility first aid) - Warning: MT mapping is not completely referenced? Now had no (or only the usual Catalina) problems, but occasionally run first aid over it. This message comes at "Container disc2" at the end of the check. The same when checking from "Fusion Drive". The same message comes. With Macintosh HD 1 + 2 data - does this message not appear? Couldn't find much about it on the net, tried some suggestions https://discussions.apple.com/thread/251159425 but didn't do anything. Ne reinstall. I still did before I don't know what that means - I have backups with TM anyway. That with the reinstall. was a recommendation to fix the problem - whatever the consequences could be ....? 2) Did someone check that with "first aid"? 3) If so. Does this message come from Erste H. only for "Container disc2" and "Fusion Drive"? I found that after Catalina installation. Clean installation didn't help either? I was unfortunately not able to load a ScreenShot ??
Posted
by
Post not yet marked as solved
61 Replies
23k Views
Hey guys, I have the problem that my 2013 MacBook crashes frequently since upgrading to Big Sur. This means that all of a sudden the screen freezes, the fans turn up and all of a sudden the MacBook is off. In Catalina, through research I found out that it's because of the Thunderbolt driver (AppleThunderboltNHI.Kext etc.), which I had always renamed in Catalina using recovery mode (... .kext.BAK). This solved the problem. But now since Big Sur I can't rename the Kext files anymore because I'm only in read-only mode. So I wanted to ask here if there is a possibility to rename the files again? Otherwise the MacBook still runs really well!
Posted
by
Post not yet marked as solved
2 Replies
466 Views
Hi. First, I created AppleRAID JBOD using two 8TB hdd. (choose APFS filesystem and generated single 16TB container.) Then, I tried to added another hdd drives. But, diskutility apps says 'Operation is failed because can't expand volume'. However, new drive is already joined JBOD members. So, I can't expand container volume and also can't remove new JBOD member drive. Is there solution? This is my appleRAID info. And the result when I tried to remove devices. AppleRAID sets (1 found) =============================================================================== Name:                 Media HDs Unique ID:            B4CDA256-EA0C-49B7-BDB6-C36D0ACFEC09 Type:                 Concat Status:               Online Size:                 24.0 TB (24002991390720 Bytes) Rebuild:              manual Device Node:          disk12 DevNode   UUID                                  Status     Size 0  disk7s2   61FC5317-59D6-4317-92AB-70B934DCF0E4  Online     8001219231744 1  disk8s2   038BDC0B-1B0A-4D95-8278-68A6BD12990E  Online     8001219231744 2  disk9s2   62E55A81-A025-4097-AB85-5B4F608E4F2C  Online     3000248991744 3  disk10s2  CE0A7BA3-BEB8-4AA4-8468-6A5CDA9BACEC  Online     2000054943744 4  disk11s2  A3566855-E11C-4843-823D-777EECDACD52  Online     3000248991744 =============================================================================== mike@moon ~ % diskutil appleRAID remove disk11s2 disk12 Started RAID operation on disk12 Can't remove the last partition because the file system isn't resizable Error: -69886: Invalid request
Posted
by
Post not yet marked as solved
8 Replies
6.9k Views
I tried to download the beta and install to external SSD connected to M1 Mac mini. The installation continues until restart. The external drive cannot be used to boot up. SSD is erased and set to: APFS GUID Partition Map This strategy has been used in the last few years with Intel MacBook. I wonder if this is a problem with macOS or M1 machine?
Posted
by
Post not yet marked as solved
3 Replies
1.3k Views
Fatal Exception: NSGenericException *** Collection <__NSArrayM: 0x28313ce10> was mutated while being enumerated. -[CAMPriorityNotificationCenter _removeObserver:fromObserversByName:] keyboard_arrow_down Fatal Exception: NSGenericException 0 CoreFoundation 0x1878e8298 __exceptionPreprocess 1 libobjc.A.dylib 0x19b642480 objc_exception_throw 2 CoreFoundation 0x1878e7c5c -[__NSSingleObjectEnumerator initWithObject:collection:] 3 CameraUI 0x1affb7e7c -[CAMPriorityNotificationCenter _removeObserver:fromObserversByName:] 4 CameraUI 0x1affb81a8 -[CAMPriorityNotificationCenter removeObserver:] 5 CameraUI 0x1b0066510 -[CAMCaptureEngine dealloc] 6 libsystem_blocks.dylib 0x1cfcbc784 _Block_release 7 libdispatch.dylib 0x18750a290 _dispatch_source_handler_dispose 8 libdispatch.dylib 0x18750935c _dispatch_source_invoke$VARIANT$armv81 9 libdispatch.dylib 0x1874fc210 _dispatch_lane_serial_drain$VARIANT$armv81 10 libdispatch.dylib 0x1874fce2c _dispatch_lane_invoke$VARIANT$armv81 11 libdispatch.dylib 0x18750666c _dispatch_workloop_worker_thread 12 libsystem_pthread.dylib 0x1cfd355bc _pthread_wqthread 13 libsystem_pthread.dylib 0x1cfd3886c start_wqthread Crashed: com.google.firebase.crashlytics.ios.exception SIGABRT ABORT 0x00000001b36927b0 FIRCLSProcessRecordAllThreads keyboard_arrow_down
Posted
by
Post marked as solved
27 Replies
15k Views
Hi, I've installed Monterey Beta 1 .... and then did an OTA update to MR B2. After the update to MR B2 ... I've started to get this "Volume Hash Mismatch" in my notification center ... I've tried to reboot into Recovery, and do a "First Aid" an all volumes in my MacBook Air's ssd ... But this message still re-appears. Any idea why this happens? or a fix? cheers, Daniel.
Posted
by
Post not yet marked as solved
3 Replies
1.8k Views
Greetings all, I am running Monterey Version 12.0 Beta (21A5284e) on a 2017 MBP. I have been trying to run Time Machine and seem always to get the following message: "The file “%@” could not be backed up." I have tried running on different drives, one of 4TB and the other 6TB from Seagate. Both drives seem to work fine as general storage. Has anyone else seen this behavior?
Posted
by
Post not yet marked as solved
1 Replies
502 Views
Hi, i have made some code in Swift that allows me to get a list of the storage disks and the relative partitions present in a mac (everything made using the IOKit api), this of course includes the APFS containers that are managed by the OS as separate storage devices. To have a proper representation of the partitions tree in my code i need to know which are the actual partitions housing a given APFS container. I have tried to look for this information on documentation and on the internet, then into the IORegistry (using the registry explorer app) and searching for this info into the description dictionaries provided by Disk arbitration but so far no luck, even by comparing the UUIDs. In IORegistry explorer in the IOService plane I can also see that the APFS Container in my mac's ssd is listed as a sub-node of it's physical storage a partition, but since i am using an IOIterator object to scan the IORegistry i have no idea of how i should look into sub-nodes for a given node. Also i think that some particular storage configurations might have an APFS container split across multiple physical storage devices, in fact the diskutil list -plist command shows the physical store for each APFS containers as an array in the plist output, so the child approach might not be effective there. So how can i do this? I am doing all of this stuff because i am working to a sandbox-friendly open source swift package for macOS apps to easily get a complete tree structure of disks and partitions, in a similar fashion to the above mentioned diskutil list -plist command, my goal is actually to have the exact same structure provided by that command, with the same info.
Posted
by
Post not yet marked as solved
1 Replies
574 Views
Hi, i am working on a swift package library that gets information about all the disks connected to the mac and displays it organised into a tree structure, including the non-mounted storage devices attached to the machine. My question is how can i get informations about unmounted devices like: The amount of free space (when possible) of a partition or an APFS container The space occupied by a single APFS volume I am already using a combination of IOKit and Disk Arbitration for my library and i don't see this information anywhere in those frameworks, including the description dictionaries provided by Disk Arbitration. Instead the terminal command diskutil info -plist [volume/partition BSD name here] gives me this info, but i can't just use it's output in my swift program (and obtaining it via a process object for example) since it doesn't work with the app sandbox, so i am looking for a sandbox-friendly way using just the API. I hope you can help me figure this out, really any help is appreciated, thank you for your attention.
Posted
by
Post not yet marked as solved
0 Replies
313 Views
Hi, i'm currently designing a "backup to icloud" solution for my app, and i was wondering what were the limits regarding : the maximum number of files in a given directory in APFS (not just the theoretical limit, but also the one that's handled decently by APFS on an iOS hardware) the maximum number of files in a given directory that's synchronized on iCloud (there again, the limit at which it starts to slow iCloud so much it becomes a really bad idea).
Posted
by
Post not yet marked as solved
0 Replies
268 Views
I have the need to evict local copies of files in swift, currently I'm doing it the naive way: while !evict_ok { do { try FileManager.default.evictUbiquitousItem(at: url) evict_ok = true } catch { sleep(evict_retry_interval) } } this is needed because we might try to evict the item that has not yet finished being uploaded to the drive. ?> Is there a way to register for a notification / get file state which signifies it's being uploaded, when the upload has not been initiated by us (some other filesystem activity)
Posted
by
Post not yet marked as solved
0 Replies
310 Views
Wile researching api/frameworks for the backup solution for iOS, I slowly came to realize that there is no effective method for the corporate to monitor/audit file-system on their iOS fleet. Ie - api is there, but limited and the user can always kill your app. Not to mention that you're quite limited in terms of background processing/monitoring Am I missing something?
Posted
by
Post not yet marked as solved
0 Replies
249 Views
On my MacPro Big Sur I do not have access to the internal hard drive, when attempting to add my name as a user I receive. "'This operation can't be completed because you don't have the necessary permission. I attempted running csrutil disable but this did not solve the issue. Also went into disk utility and ran a verification on the hard drive. Looks like I never used my hard drive since I had my MacPro I have been using iCloud. Volume name : Macintosh HD Volume type : APFS System Volume BSD device node : disk1s5 File system : APFS (Encrypted) Connection : PCI-Express Device tree path : IODeviceTree:/PCI0@0/RP01@1C/SSD0@0/AppleS3XController Writable : No Is case-sensitive : No File system UUID : FF5BA9F1-D8CE-4418-BCD2-2E0762F5E47B Volume capacity : 121,018,208,256 Owners enabled : No Is encrypted : Yes Can be verified : Yes Can be repaired : Yes Bootable : No Journaled : No Disk number : 1 Partition number : 5 Media name : Media type : Generic Ejectable : No Solid state : Yes S.M.A.R.T. status : Not Supported Parent disks : disk1
Posted
by
Post not yet marked as solved
0 Replies
231 Views
I've used AppleScript occasionally over the years, but am a novice. I have many files from a now defunct drawing package (fooDraw, file extension FOO). I'd like to convert them all to Adobe Illustrator files. One way to do this would be to crawl through my Documents folder, to find any .FOO files. This should be doable, but I'm not sure how to. When the script finds one, can it get the file name and path? If so, it could tell application fooDraw to open that file, select all, and copy. Then it could tell application Illustrator to open a new file, and paste. But then, I need to tell Illustrator to save the file in the same directory, with the same file name. Any help, or ideas where I might search? TIA
Posted
by
Post not yet marked as solved
0 Replies
265 Views
Every time a try partitioning my hard drive I receive the following error message: "APFS Container Resize error code is 49212 A problem occurred while resizing APFS Container structures. : (-69606)" What am I doing wrong? I have about 500 GB free on my hard drive so I know that isn't the problem. I have also disabled Time Machine snapshots. Machine specs: iMac (27-inch, Late 2013) running macOS Catalina Version 10.15.7 3.2 GHz Quad-Core Intel Core i5 24 GB 1600 MHz DDR3 Macintosh HD NVIDIA GeForce GT 755M 1 GB
Posted
by
Post not yet marked as solved
2 Replies
958 Views
Hi, I have searched github but I haven't been able to find a developer disk images to mount on my iPhone6,2 with ideviceimagemounter running iOS 12.5.5 (16H62) the closest developer disk images are 12.4 and 13.0. 12.5.5 which has not being provided is the image I would like help obtaining for my iPhone which is unable to update past the version and as Windows is my only operating system and I don't have access to a mac or xcode. Please explain how to compile the image or provide a download link. I read on HERE that renaming the folder to the required ios image version number would solve the issue 'Error: ImageMountFailed' but I assume that the folder to rename is within a macOS app directory with which I dont have access to any MacOS computers. How can I get a 12.5.5 image with only Windows, I tried installing xCode to a MacOS vmware guest machine which didn't allow installation due to needing a higher version, How can I just get 12.5.5 developer disk image please.
Posted
by
Post not yet marked as solved
0 Replies
299 Views
During update to Monterey beta to an external ssd, startup stopped with barred circle and unusable ssd! I have a recent time machine backup, still I don't know how to repair the respective container. In diskutil the volume is shown as "AppleAPFSMedia not initialized" and can not be repaired! 'diskutil apfs list' shows an error (Container ERROR -69808).  See partial listing: APFS Containers (3 found) | . . . | +-- Container ERROR -69808 ====================== APFS Container Reference: disk8 Size (Capacity Ceiling): ERROR -69620 Capacity In Use By Volumes: ERROR -69620 Capacity Not Allocated: ERROR -69620 | +-< Physical Store disk3s2 1C0E6E67-8751-4376-8C2E-9DAA6460C864 | ----------------------------------------------------------- | APFS Physical Store Disk: disk3s2 | Size: 599995129856 B (600.0 GB) | +-> No Volumes
Posted
by
Post not yet marked as solved
0 Replies
405 Views
I have a miniMac M1 for M1 testing and development. I had set it up for dual boot with the original Big Sur partition that came with the machine and a new partition for Monterey. I've been using this for some months. Summary: After the steps taken below, and the subsequent steps to attempt to fix the problem, it became impossible to boot into the Big Sur partition. It seems that the System volume and the Data Volume had become disassociated making the partition unbootable. I do see there might have been user error here; I had not gone into the Recovery mode on Monterey and enabled the possibility to boot from an external drive. Now, strictly speaking, both the Big Sur and Monterey partitions were internal since they were on the main hard drive. But could it have been that Monterey would not allow me to boot into Big Sur because I had not enabled the external boot possibility? Detail: I had always had the beta of Monterey installed, but because I needed to test a crash agains the release version of Monterey, I did the following: Set the startup disk to Monterey (something I'd never done before; I usually shutdown and hold the power button to select the boot drive.) I disabled the beta program in the System Preferences. System Update then showed the 12.0.1. I install that version and performed my tests. I then went to the System preferences to set Big Sur as the startup disk. I was surprised to see it wasn't listed (as it always had shown up there before). I ran Disk Utility / First Aid on the Big Sur partition, and then on the entire disk that holds both Big Sur and Monterey. They reported no problems. Then I then went into Recovery mode, and when I selected the Big Sur disk, it said "no users available for recovery". In other words, it couldn't see the data partition with the users on it. This seeming separation of System and Data partitions was confirmed whe I returned to the Finder after a reboot. I double-clicked the Big Sur partition, it only showed the System folder. It did not show "Users" or "Applications" or "Library" I went back to Disk Utility. It in fact showed the Big Sur data partition. When I chose File > Show In Finder the data partition showed up, with the "Users" or "Applications" or "Library" intact. So the Data volume was still there, but somehow the link between it and the System Volume seems to have been broken. Finally, I went to the Terminal, entered "cd /Volumes" and "ls -al". It showed the Monterey partition as a single directory. But the Apple M1 drive and it's Data partition were listed separately I sadly don't have a copy and paste, but something like this: drwxr-xr-x   5 root  wheel  160 Nov 18 07:58 . drwxr-xr-x  20 root  wheel  640 Jan  1  2020 .. lrwxr-xr-x   1 root  wheel    1 Nov 18 07:00 Monterey-> / drwxr-xr-x  21 root  wheel  672 Nov 18 00:10 BigSur drwxr-xr-x@ 19 root  wheel  608 Nov 18 00:08 Data Any ideas what could have happened and how I can prevent it in the future? Sincerely, Mark
Posted
by