remove warning: inode_val: object : invalid bsd flags
Hello,I have found a bug on onedrive for mac. I use Mojave and APFS. I reproduced the issue with the volume encrypted and also without encryption (Filevault). The bug is the following, the folder gives a warning in DiskUtil with the following format:
warning: inode_val: object (oid 0x417de2): invalid bsd_flags (0x10)
I have verified is the onedrive folder using the following command from mac terminal:
find / -inum 4292066
where 4292066 is 417de2 in decimal
I get “inode_val: object (oid 0x10afcbb): invalid bsd_flags (ox10)”
I uninstalled OneDrive, deleted everything related to it, and the OneDrive synced folder and I’m still getting an error.
Shiki Suen commented
One more thing: This issue, thereotically, shouldn't do significant physical damage to SSD. If there is a such issue, it is likely because of another reason.
Shiki Suen commented
This is Shiki. Here comes new information forwarded from one of those developers in the OneDrive team:
Since the introduction of Files-on-Demand, OneDrive utilizes the BSD_flag (0x10) to mark the demanded state of a file. The choice of this BSD flag is made under discussion between Apple and Microsoft. However, the develpers of Disk Utility on the Apple side may know nothing about it yet, and Disk Utility treats this unknown flag as "Reserved" with warnings.
Note that this flag in (and only in) FreeBSD indicates "uunlink (system no unlink)" which has no relationship with macOS and APFS.
The radar number is 49155065 (submitted by someone else) and we have to wait for a fix from Apple towards the Disk Utility app in macOS.
Microsoft is aware of the issue and is working with APPLE to deal with this. it will not be an overnight fix but i believe if we all keep reporting the issue and REFUSE to use the APP it will get fixed. I have removed the app from my IMAC latest mojave etc and store my onedrive folder on an external disk with the sync function.
Kelly Woods commented
You can determine where the problem occurs by running:
find / -inum $((0x??????)) -print 2> /dev/null
This is what you'll get: https://pic1.zhimg.com/80/v2-4efce963b96c7da8c3091534ef8e2348_hd.jpg
For me, I just uninstall OneDrive on my Mac before MS/APPLE bring a solution: https://www.minicreo.com/mac-uninstaller/uninstall-microsoft-onenote-mac.html
Thor Landsverk commented
Same issue here. Using One Drive and Office 365
I have deleted the OneDrive app and whatever associated files I could find in the Library folder. I ran DiskUtility and the error persists. Though in my case it's "oid 0xbc272". Anyone know how to fix this? Am I missing something that I should have also deleted? Thanks!
Bavo Bostoen commented
All my Office 365 clients on Mac that use OneDrive to sync their files have this problem - MS and or Apple should solve this.
MS should understand that if their OneDrive client software does not work to the same standard as eg DropBox (*), it reflects badly on them and people will extend their criticism to the whole Office 365 suite, whether that is reasonable or not.
They should invest way more in this, and test everything in-house - just make it work already!
(*) it certainly is not on par with DropBox, it was even worse in the past but there are still too many problems with OneDrive syncing and also with online document collaboration (which uses OneDrive), no matter of on Mac or Windows, which currently works a lot better in Google product.
On my side, in the latest version, 19.012.0121.0009 the issue still present too.
Juan Miguel Duran commented
On my side, in the latest version, 19.012.0121.0009 the issue still present. Could you please check and share your feedback?
Yuri Bykov commented
Hello. I already fix the problem. When uninstalled app OneDrive, and after restart I have same problem in local snapshots - "warning: inode_val: object (oid 0x424a0f): invalid bsd_flags (0x10)".
And I used this manual to delete local snapshots: https://www.macworld.com/article/3260635/how-to-delete-time-machine-snapshots-on-your-mac.html
Then problem was removed.
It basically killed the SSD from my MacBook Air. Now I am running the OS from an SD card in high Sierra with hfs+ only. And ofc OneDrive cannot be installed on an external drive...
Michael Glass commented
does anybody know if this bug exists on standalone Word for Mac without entire Office Suite?
My computer is reporting the same issue when running disk utility. It actually seems to be hung at this error. Will disk utility ever complete or should I do a hard reboot. I am hesitant to do a hard reboot out of fear of corrupting my SSD. Appreciate any and all guidance. Thank you.
There are many posts about this on the Microsoft support pages with pleas for Microsoft to fix the issue. However, Microsoft claims it is an Apple issue.
[Deleted User] commented
same issue with iMac, just reinstalling the OS.
Further experiments. I completely removed OneDrive (the very latest version) from Mojave 10.14.3 and killed all OneDrive processes, *but* I left the ~/OneDrive directory in place.
Disk Utility checked the entire drive as OK.
I then manually removed the ~/OneDrive directory (which of course was not being synced by then).
Amazingly, Disk Utility then stated that "First Aid found corruption that needs to be repaired..."
I booted into macOS recovery, and the Disk Utility check ran OK with no errors. I then rebooted and Disk Utility was happy again.
Microsoft is doing something very strange to that ~/OneDrive directory!
Bob Bogardus commented
I confirmed this "invalid bsd_flags" problem with OneDrive and Mojave on my iMac (Retina 5K, 27", Late 2014) with Flash storage.
However, the error does NOT show up on my MacBook Air (13", mid-2012) with Flash storage. I ran FirstAid before installing OneDrive and got a clean scan. Then, I installed OneDrive and it downloaded ~10Gb of files. FirstAid is still clean.
On my iMac, I tried erasing (clean), then TimeMachine restoration several times before I came across this post.
Looking forward to a fix :-)
Paweł Jasiński commented
onedrive for mac i really ******
And I can also confirm it is an issue with the latest versions of macOS/OneDrive.