Forum Discussion
OneDrive Client, Files on Demand and Syncing large libraries
eddablinHi there. If I understand the terminology correctly... so all folders/files only exist on a single OneDrive for Business Plan 2 account. That means there's only 1 library. This plan 2 account has 9 parent folders. Unfortunately OneDrive doesn't seem to detail or report the number of files (or I just can't find where in the UI), but it should be around 600 000 - 800 000 files in total.
Each user who has O365 Business Premium license (About 20 users total) has been given shared links to certain folders in the above library, but in most cases the shared link is actually a subfolder and not the entire parent folder, see below...
So in at least 2 parent folders in the library there exists subfolders that initially contained in excess of 100 000 files. Due to this causing issues with sharing links to users and us finding out about the 100 000 limitation, we split out alphabetized variants of the subfolders and shared those instead.
Parant Folder A >
Subfolder A-F (Shared)
Subfolder G-K (Shared)
etc...
I'm now considering that despite us overcoming the shared permission issue by alphabetized split of the subfolders, because they exist in a parent folder that contains in excess of 100 000 objects then perhaps this could still cause the issue we are observing? (File on Demand sync at client end just hanging and changes taking forever to process)
I'm now considering moving the subfolders out of the parent folder and re-sharing to users so they can sync to their PC's and see what happens...
UPDATE: I signed into a user's OneDrive account, accessed his "Shared With Me" section, clicked sync on a folder shared from the OneDrive Plan 2 library/account that contains 20 000 items only - unfortunately it's not syncing to my PC. Hangs on processing changes, nothing comes through - occasionally says processing 501 or 502 changes then back to nothing again. There goes that theory 😞 So moving things out a parent folder to remove the 100 000 concern probably won't help.
My next plan is to move one of the folders to another OneDrive account and try sharing/syncing that to the user's account.
One thing I have noticed when people's OneDrive always says it is is processing changes is that they sometimes have .tmp files on their computers that won't sync. If they have "Hide protected operating system files" checked they won't even see them.
I have had people uncheck that box and delete all the .tmp files they find. The "processing changes" that has gone on for days then stops.
That won't solve your problem but it could well be happening with some of your users.
- Benson525Mar 19, 2020Copper ContributorWil setting Win10 to clear OneDrive cached files every day ease the OneDrive sync issue?
- JonnaPFeb 27, 2020Copper Contributor
John Twohig I will look out for tmp files thank you.
I am also in the process of synchronizing a Synology NAS with the customer's OneDrive "File Server" library using the cloud sync app installed on the NAS itself. The plan is to utilize local file shares for the users instead of syncing via the OneDrive desktop app. Then just let the NAS handle the rest. For offsite use they can use the browser. I will disable sync button on the customer's tenant/OneDrive/SharePoint admin center.