NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Blues11
May 09, 2018Luminary
MacOS directories incomplete
My network is small with only Macs connected. It accesses the ReadyNAS via SMB. One directory has about 16K files and/or folders. Often when I open this directory only some of the folders show up in ...
StephenB
Jul 23, 2018Guru - Experienced User
I'd think that the issue would more likely related to the way the files/folders are organized. Folders or subfolders that have a lot of files will have slower browsing than smaller folders. For example, if you had 100 folders of 100 files each , you'd get faster performance than 10000 files in the main folder. So maybe look at that?
Blues11 wrote:
Then, if I decide to make the change, how do I convert a subdirectory on a share to become a new share?
There's no way to directly convert it. You need to create the share, copy the subdirectory to it, and then delete it in the source share.
If you are using ssh for the copying, then you can use the --reflink option to speed up the copying. Note that each share is it's own btrfs subvolume, so moving files will take about the same time as copy/delete (unless you use --reflink).
Blues11
Jul 23, 2018Luminary
Thanks for the quick reply.
The large subdirectory has about 1,400 folders. In each directory there are generally fewer than 10 or 15 files, one or two of which are in the range of a GB. Do you think dividing that directory into two would have a beneficial effect?
Given that the server has 5TB free, would there be a problem with copying 2.7TB to that space, leaving only 2.3TB free? Of course, once it would be completed the original 2.7TB would be deleted, but would that be too much stress on it?
Once again, thank you.
- StephenBJul 23, 2018Guru - Experienced User
Blues11 wrote:
The large subdirectory has about 1,400 folders. In each directory there are generally fewer than 10 or 15 files, one or two of which are in the range of a GB. Do you think dividing that directory into two would have a beneficial effect?
Subdividing the large subdirectories should have some effect, so I would try that.
Blues11 wrote:
Given that the server has 5TB free, would there be a problem with copying 2.7TB to that space, leaving only 2.3TB free?
If you use --reflink then the copy would be sharing the data blocks from the original - so there would be no change in free space.
If you don't do that, then you might need to delete snapshots on the source share after you delete the files there, in order to get the free space back.
- Blues11Jul 24, 2018Luminary
I will try to simply split the large directory into two and see how that works. I'll update you once it's completed.
Thank you.
- Blues11Aug 03, 2018Luminary
Follow-up:
Splitting the large directory into two created a difficult situation when trying to search for files/folders so it was not a workable solution.
I decided that creating a new share and copying the files and folders from the large directory might be functional. I've used the Netgear interface to start copying the material in the large directory to the new share, but I've run into a major problem (and a smaller one).
The big problem is that after copying the folders all have today's date as the "Date Modified" not the true date modified in the original directory. How I can copy the folders to the new share without losing the "Date Modified".
The smaller problem is that the tags (MacOS features) are not being copied to the new location. Would you know how I can make sure those tags are copied also?
Perhaps there's a better way to copy than just highlighting folders in the old location, selecting "Copy" and then "Pasting" them into the new share. Is there?
Thank you in advance for any help.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!