NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
john_es
Apr 17, 2014Aspirant
Copy/move between shares is sloooooooooooow...
I have SSH'd into my 316 and am doing cp and mv's... trying to move a bunch of data from one share to another (/data/share1 to /data/share2).
It's slow. Like, really slow (maybe 90 seconds per GB). Is this a limitation with SMB, BTFRS, Linux, or ReadyNAS? Is this to b expected or are there ways to speed it up?
Thanks,
John
It's slow. Like, really slow (maybe 90 seconds per GB). Is this a limitation with SMB, BTFRS, Linux, or ReadyNAS? Is this to b expected or are there ways to speed it up?
Thanks,
John
42 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
If you are moving across volumes, then you have to copy/delete.john_es wrote: I assume that this won't work across volumes such as main unit to chassis, right? - ddissAspirant
StephenB wrote: rotordave wrote: How can it be acceptable that ordinary move operations are not possible on this device? What is being done to address this? Aside from forcing users to use a single share? The fact that BTRFS has this limitation is irrelevant - I need to be able to move large files without coping them...!
You apparently missed a post further down:Skywalker wrote: ...future firmware releases will support this sort of operation via SMB2's FSCTL_SRV_COPYCHUNK command, which is for server-side copies. But I don't know which SMB clients use that command, other than Windows Server 2012.
The list of clients capable of issuing SMB2 FSCTL_SRV_COPYCHUNK server-side copy requests is documented on the upstream Samba wiki:
https://wiki.samba.org/index.php/Server-Side_Copy#Client_Support
The request cannot currently be used to offload copies between shares, but nevertheless offers significant performance improvements for intra-share copies.
I recommend that Netgear consider enabling Samba's Btrfs VFS module to expose the Btrfs specific server-side copy enhancements. The module will also offer transparent file compression support in Samba 4.2. - good info, somehow I missed all this before and ran into the out of space issue when attempting to 'move' media files from a restore folder to their new folder (share).
- mdgm-ntgrNETGEAR Employee RetiredCurrently samba 4.0.x is used by ReadyNAS OS 6 all the way from ReadyNAS OS 6.0.0 through to the latest 6.1.9 RCs.
6.1.9-RC10 includes an update to samba 4.0.21 (currently the latest samba 4.0.x release).
A big update like samba 4.0.x to 4.1.x is not something we'd be likely to add in a minor 6.1.x update as samba 4.0.x is still being maintained so any important security fixes would be included in a samba 4.0.x update. - Roxy1ApprenticeThis is something I didn't even think to look for when purchasing my Duo. Even if I was looking for it, I question whether I would I have found out that not only can you not copy and paste folders in some of these products' GUIs(have to use command line or adjacent OS folder management), but you also get slow performance because of BTRFS.
And will a future firmware even apply to older products like the Duo 2?
EDIT: This happens to me with intra-share as well, not just between shares? - StephenBGuru - Experienced UserRoxy - what product do you have?
- Roxy1ApprenticeHey Stephen,
ReadyNas DUO V2
The first day I had it, I did a couple of intra-share copy/paste through Windows Explorer and it was instant, much like when doing it on a standard HDD/SSD.
However on the second day and furthering, it was treating it as a network transfer (speeds 20-30mb/s). Then earlier, I did an intra-transfer and it was instant.
Not sure what's going on. The only thing that varies is that the files I was moving myself were previously put there by me, via manually copying them from another drive(I didn't do a back up operation).
The video file that copied instantly, was put in the original folder by a P2P client and then I moved it myself afterwards.
Which raises the question, if the P2P client stores incomplete downloads in a separate share to the completed ones, what happens when it completes? I watched one and when it finished, it was moved instantly.
Why would that be any different? Does the P2P client have special low level folder permissions?
EDIT: Am doing it now. Moving completed downloads from one directory back to parent directory (intra-share) is instant. If I go over to a different parent folder in the SAME share and repeat the action (using different data of course), it's not instant.
GRR. - StephenBGuru - Experienced UserSo it sounds like sometimes the move is turning into a copy/delete? The decision on that is made by Windows, not the NAS. The P2P client wouldn't have any special privileges.
Generally if you are moving within the share Windows knows that it can do a move, and not a copy/delete. If you are moving across shares, you need to open the full data volume (\\nasname\c) using admin credentials. If you open the shares separately (\\nasname\share1, \\nasname\share2) then windows will treat the two shares as separate "drives" and do a copy/delete. Similarly if you open \\ipaddr\share1 and \\nasname\share1. - Roxy1ApprenticeI did read your suggestion previously on how to mount data volume however it didn't not work. It says Windows cannot access \\NAS-BF-0E-E5\c
- StephenBGuru - Experienced UserAre you using admin credentials? Try opening a CMD window and entering
net use * /delete
net use z: \\NAS-BF-0E-E5\c /user:admin
That should map the nas data volume to the z drive.
What firmware are you running?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!