I am worried that the NAS is too slow. I am supposed to eventually replace the server with this NAS. But I noticed that the server was faster in an operation than the NAS.
The operation was to read and then write what is in a directory. The same operation was carried out on the server and on the NAS. Prior to carrying out the operation, the directory on the server was copied to the NAS. So I wanted to see that the contents in one are the same as the contents in the other. If they are, then I copied everything correctly. I observed the File Explorer, and also the Windows Powershell, to watch when the operation would finish. The operation took a minute on the server. But on the NAS, the same operation is still running. Both directories amount to 60 GBs of files each.
The operation is to read and save information about the directories, subdirectories, files, filesize, dates, etc to a log.txt file.
The operation I ran from the Powershell on both directories is “cmd /r dir /N /TC /Q /S /P > log.txt” both directories should have the same content because I ran a command to make a copy of what is on a server folder to a share folder on the NAS. Here’s the command I used:
ROBOCOPY "P:" "U:" /E /COPY:DT /DCOPY:T
where P is the source directory on the server and U is the destination share folder on the NAS
This command copies and makes sure that the copied files keep the date-time stamp of the original files, and makes sure that any files already on the NAS aren’t deleted, so I can run it again if anything new is in the source directory.
I am worried that the NAS system is much slower than a Windows Server system, in particular when doing operations like reading a directory of tens of gigabytes of files.
I ran the same operation on equivalent contents but one on the server and one on the NAS. The server did it in under a minute, but the NAS hasn’t finished and it’s already been two hours!