NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Blues11
Apr 04, 2021Luminary
Best practice for rearranging large directories
Situation: I have two large Shares (one is about 4TB, the other about 2TB) on this ReadyNAS with four 8TB drives in a RAID5 X-RAID configuration. Of the available 23TB, about 15TB are free. The larger of the two has 4 top level directories under which there are between 500 and 800 subdirectories, each of which has 1GB to 5GB of data. (These directories infrequently change or grow in size.)
To make access easier, I'd like to amalgamate those 4 top level directories into one large directory with about 2200 directories.
Question: Using the interface of ReadyNAS OS (6.10.4 Hotfix 1) is there a way to drag and drop all of these directories into a new share? I am hoping that ReadyNAS OS will simple change the indexes. And I am hoping to avoid having to copy them and then delete them in macOS. (I'm in an all Mac environment.)
Thank you in advance for any advice.
12 Replies
Replies have been turned off for this discussion
- SandsharkSensei
Are you comfortable with a command line interface? Using SSH to access the Linux command line of the NAS and then issuing commands from that is the fastest way to accomplish what you want. As long as you are not moving files between shares, it will just move the pointers to the files, not the file content.
- Blues11Luminary
StephenB and Sandshark, thank you for your responses.
First, I'd forgotten about the Move command in Unix and that it simply updates the index, not the files themselves.
Upon reflection, I looked at the amount of space available on the ReadyNAS and realized that I could just do a copy because the amount of data is not that large. Then I thought about the access speed and whether four directores with a few thousand subdirectories will really be noticeably speedier than having all of them just below one high level directory.
So, I decided that I'd test my supposition in a new share. So far, I've copied 900+ directories onto the new share and I have not noticed any slower access speeds. I think I'll go ahead and continue to copy all the files onto the new share and see if the speeds become slower. If everything works OK, then I'll delete the old share with the four top level directories and their data and free up the terabytes of space.
If you're interested, when I'm done I'll post again and let you know.
Thank you both so much for your knowledge and desire to share it.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!