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 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 danalien.
Last updated
.
Post not yet marked as solved
0 Replies
25 Views
The docs for NSSpellChecker suggest that it can only be used to implement spell check in a developer's app. Is it possible for my app to actually modify the contents of the spell checker across the operating system? I guess this is more a question of how much of the OS is exposed to a third party app.
Posted Last updated
.
Post not yet marked as solved
0 Replies
124 Views
I'm working with NSFileProviderReplicatedExtension for macOS app. I want to apply custom badge on files instead of default badges (For example, com.apple.icon-decoration.heart, com.apple.icon-decoration.pinned, .. and so on). I tried to define new UTI in my Info.plist refering this post (-> https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html) But it doesn't work. Can i define custom badge? If yes, how can i work with this? Please reply.
Posted
by eunjo.
Last updated
.
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 redmetz.
Last updated
.
Post marked as solved
4 Replies
106 Views
Hi, I'm trying to lock a file from objective-c (or plain C) so that other processes cannot read or write to it. So far, unsuccessfully. I've tried to use all APIs I can think of, but none locked the file: open then flock open then lockf open with O_EXLOCK open then fcntl (F_SETLK) open then NSDistributedLock I'm running macOS 11.6.1 on an APFS drive. For every API used, I was able to open and edit the file from command line using vi or just using cat on the file. Isn't there any way of preventing another process from accessing a file, until I'm done with it (ie. I closed the file, or the file handle is relinquished)? Thanks, Chris
Posted Last updated
.
Post not yet marked as solved
11 Replies
9.6k Views
Hello everyone, I'm having a little issue with mounting my external hard drive lately. I've tried quite a few methods in hope of getting it to work again, but so far, no luck. I hope someone can help me solve this issue, or those who have the same problem may also share your insights. My external hard drive was working fine about a week ago. But one day, I ejected the hard drive and the icon disappeared, so I thought it was safe to unplug it. When I did, it said the hard drive was not properly removed. It still works fine when I use it the next day, but the same thing happened. It said the drive was not properly removed after I ejected the drive, waited for the icon to disappear, and then unplugged the drive. After that, it never works again, and the attached images are the info I got when I tried to mount or run first aid on this drive. Please help & thank you in advance! Computer: 27" iMac - MacOS Monterey External Hard Drive: WD_Black 4TB. APFS encrypted
Posted
by QS49218.
Last updated
.
Post not yet marked as solved
2 Replies
467 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 gclock.
Last updated
.
Post not yet marked as solved
2 Replies
149 Views
so i woke up to find i had no notification since I last opened my phone which I thought was weird so I didn't overthink it but, when I unlocked my phone none of my apps were responsive, at first tik tok did work but after I immediately closed it out it wouldn't let me open the app again. i started to panic so I tried to power it off and it wouldn't let me do that. so I tried to go into my settings to see if that worked and it didn't ! i would like to note that I was experiencing this problem before I went to sleep. i went to open up a game but, it was just for one app and I thought it was because it needed to update or there was a new bug the only time it actually worked is when it sent my apple id a code for me to make a account on here, I'm currently writing this on a chrome book 😭 sorry if that's a lot to read but I'm distraught and scared lol I hope somebody can help me
Posted Last updated
.
Post not yet marked as solved
0 Replies
72 Views
Mac OS 12.4 I could not recover purgeable space no matter what I did. I lost access to 660GB of HD space. Could not write to my HD. Spent 4 hours trying everything I could think of. Hint was it was a time machine problem. I had been trying to recover an Iphone backup, when all this started. So the problem was due to TimeMachine Local Snapshots being created and being reported as purgeable space. System would not delete them even when I turned of TimeMachine. Here is the trick. From the terminal. tmutil listlocalsnapshotdates  You will get a list of dated snapshots. For example. tmutil listlocalsnapshotdates  2022-06-22-162101 2022-06-22-172133 2022-06-22-182533 2022-06-22-192000 For each snapshot run tmutil deletelocalsnapshots Example tmutil deletelocalsnapshots 2022-06-22-162101 Problem solved! Four fffing hours!
Posted
by satsatt.
Last updated
.
Post not yet marked as solved
0 Replies
108 Views
Hi All, I have created .app on my MacBook Pro 11 big sur. that .app has shell script wrapped.it is working on my local machine but when I zipped and uploaded to the Microsoft drive and downloaded back and unzip the file then I can see the extend attribute permissions added to that folder @ sign added . How to solve this whiteout terminal
Posted Last updated
.
Post not yet marked as solved
1 Replies
120 Views
Not sure if this is the right place. But I bought a used Mac air 2017. I did a erase and reinstall. When I did the erase it looked like nothing erased. I did it twice and thought it worked. It did to a point. It looks like a new reinstall but when I try to upgrade to Monterey after it downloaded said it don’t have enough space. I have 128 and only 9 gb left . It has nothing on it but a new install. Should it not be like 56gb used and he rest free? It’s like nothing erased. I’m lost. Need help thanks.
Posted
by Myway71.
Last updated
.
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 jeckyl.
Last updated
.
Post not yet marked as solved
0 Replies
152 Views
This is a question I have concerning features on IOS that don’t exist as far as I am aware but I think should. What were the software developers thinking when they said yes let's not have separate volume controls. When I am on the phone for example and I want to watch a video or listen to a voice message I can't hear it because the call overrides the media, I know this is not just me everyone has to deal with the missing feature of separate volumes it would be so nice to access the control centre click volume and have 4 options 1 for media another for notifications a third for calls and a 4th for alarms every other phone manufacture has this feature including android. Another annoying feature that apple lacks is the fact the torch cannot be used if the camera is in action on FaceTime or camera - again this can be included by a simple software update I’m sure it is a case of a few l more lines of code? And a simple feature all other phones have. Not many people seem to care about this but I know many would think wow that's so much better if it was bought out or maybe it’s because they don’t know any different. Small things make a big difference to user experience. I wonder if there is already a plan to bring these features IOS. it would be very useful don’tyou agree Tanks for reading -George
Posted
by Georget05.
Last updated
.
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 Last updated
.
Post not yet marked as solved
0 Replies
184 Views
Recently we've been working on file-based backups on macOS 10.15.7. When I finish the system volume group backup, including The system role volume, default volume name 'Untitled' usually The data role volume, default volume name 'Untitled - Data' usually Next step, I launch Migration Assistant and choose "From a Mac, Time Machine backup or startup disk" to restore volume data. But when I select the backed-up system role volume, a warning message poped up and tell me "Volume contains a macOS or OS X installation which may be damaged".   I try to rebuild folder firmlink from /usr/share/firmlinks before backing up data role volume, like the following steps: Add SF_FIRMLINK by chflags to folders on system role volume Add extened attribute com.apple.fs.firmlink which value is target file name Make sure other attributes(creation time, permission, owner, group, etc) are the same between source and destination But it still doesn't work (I check inode number on backed-up system role volume by "is -ailO").   I search some informations and find this blog: https://bombich.com/blog/2020/05/27/bug-in-macos-10.15.5-impacts-bootable-backups-weve-got-you-covered. So my question is "How do I recover firmlink between backed-up system role volume and data role volume?"   Thanks a lot
Posted Last updated
.
Post not yet marked as solved
0 Replies
255 Views
I bought a MacBook Air M1 2020 with Mac OS Monterrey and tried to transfer data from my Old Mac SSD with High Sierra over usb, at first it mounted fine then I plug it back again after 5 days and it didn't mount it ever since. can someone help me how to fix this bug on OS Monterrey.
Posted
by Josetale.
Last updated
.
Post not yet marked as solved
0 Replies
141 Views
Using older hardware and older versions of Safari, it is a big problem to have this setting. Can anyone give me a simple, if there is such a thing, instruction on how to lock this setting to only use Safari in the version used, as the only permitted user agent? I clearly know next to nothing about computers, but I love my old Macbooks!
Posted Last updated
.
Post not yet marked as solved
1 Replies
174 Views
Hi there, I have a 13” 2017 MacBook Air, and I had boot camp, and ended up deleting my MacOS partition. After a while I had attempted to switch back with Internet Recovery working fine but when I go to install the latest OS, there isn’t a drive to select. My windows partition (wiped and changed to MacOS Journaled) is the internal disk and is almost all of my storage, with my MacOS base being a disk image, so even if the disk were to appear I would not have enough space to install MacOS anyway. I’m not incredibly tech savvy with Apple computers, so anything that could point me in the right direction would be awesome thank you.
Posted
by shaunvevo.
Last updated
.