Forum Discussion
dustintadam
Mar 18, 2019Iron Contributor
OneDrive Client, Files on Demand and Syncing large libraries
I thought I'd post some observations regarding the OneDrive sync client we've observed that aren't documented anywhere but we needed to figure out when planning a massive move to SharePoint from on-p...
John Twohig
Aug 18, 2020Iron Contributor
I think you asked two key questions: "Do all 100,000+ files need to all be in the same library? do they have to all be brought down locally?"
Even though cloud storage seems nearly free nowadays documents still need to be organized. They still have a lifecycle. I suspect that it is pretty rare that many groups in a company will need access to 100,000 documents this month or this year. If things are organized then each group only needs to sync a smaller number of current document libraries. Put the old stuff in archive libraries and use the web browser where you can use the SharePoint search.
I can think of almost no cases where people would need to bring down 100,000 files locally. You only need them locally if you aren't connected to the internet and, in today's world, most of us are seldom without internet. And, if you are somewhere where good internet isn't widely available, trying to sync 100,000 files locally is probably a lost cause.
The thing that gets me most about syncing locally is the security risk. If all these files "must" be synced locally then one would assume they are important. If you have dozens of people syncing all these files to their laptops then there is a good chance that, sooner or later, one will be lost or stolen. Once someone has physical possession of the laptop you have to assume that they will have access to all the files on it. If there is anything sensitive or juicy there you have to be prepared to see it in the news.
There are a few things I found that help:
- I tell our people to always have Files on Demand turned on. It reduces the security risk, network traffic, and CPU usage.
- Turn on Storage Sense. We tend to use the same files over and over again and then work on different ones for a while. With appropriate settings for Storage Sense and Files on Demand turned on you can reduce security risk and still almost always have the files you want local. Besides some people never check their C: Drives and then start having problems when it fills up.
- Don't use special characters other than - or _ in filenames. At some point you will encounter some application that doesn't like it. I had one person who's OneDrive always said "processing" It turned out he liked to use ~ in filenames and the OneDrive client didn't like that. That can also happen if Windows itself puts a ~temp file in a folder that is synced.
Joe McGowan
Aug 21, 2020Iron Contributor
We have files-on-demand enforced by Group Policy on all machines. Still having random sync issues.
I tested a Document Library sync that has 600,000 objects. Took about 90 minutes to sync, then my OneDrive client got stuck at "processing changes". When I try to reset OneDrive, it gives an error that it couldn't shut down OneDrive. I can't end task the OneDrive.exe in task manager, and my sync client is broken at this point. I'm having the same experience with libraries with 100,000 objects.
I have a ticket open with support, but I'm not expecting much.
- Joe McGowanAug 25, 2020Iron Contributor
Still having issues syncing a 100,000 item Document Library after reinstalling OneDrive and cleaning up the files on the C:\ drive. The library will sync and complete then get stuck at processing changes and its dead. Starting to lose all confidence in this being a solution as a replacement for network shares.
- Joe McGowanAug 27, 2020Iron Contributor
The release notes on the latest OneDrive client mentions a change to the "processing changes" indicator. I updated my client and will keep an eye on activity.
- Mike WilliamsSep 22, 2020Iron ContributorHopefully that will put an end to your client processing changes to files/folders in your OneDrive that are not synced to your computer.