NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BlackEyedAngel
Jun 18, 2009Aspirant
Most efficient way to move files between shares
I have a large quantity of media on my ReadyNAS NV+ which I want to move from share A to share B.
Using my PC to do this is very tedious (it's estimating nearly 20hrs to move about 200gb) - am I right in thinking that this is copying it down to my PC and then back up to the new location?
Is there a quicker way of doing this? ie doing the file transactions 'on' the NAS itself? Is this something that can be done through SSH, and if so, is there a noobie guide on this?
Thanks for the help!
Using my PC to do this is very tedious (it's estimating nearly 20hrs to move about 200gb) - am I right in thinking that this is copying it down to my PC and then back up to the new location?
Is there a quicker way of doing this? ie doing the file transactions 'on' the NAS itself? Is this something that can be done through SSH, and if so, is there a noobie guide on this?
Thanks for the help!
36 Replies
Replies have been turned off for this discussion
- 98_1LEAspirantcp is not recursive, and cp -R has other issues. Most professional SA's use tar or cpio to mass move files. cpio does a better job retaining permissions, extended attributes and is recursive.
If you have the root ssh addon, login to the NAS thru SSH, and assuming the old volume is /c, and the new is /d, run:
cd /c
find . | cpio -pdmv /d
Nothing over the network can compete with this.
If you don't want to keep the window open, run it as: nohup find . |cpio -pdmv /d > /tmp/outfile 2>&1 & - 98_1LEAspirantI thought I would append this. It appears the cpio executable on the ReadyNAS is 32 bit (I haven't actually checked and my NAS is at my friends ATM) and unable to copy large (>2GB) files. I got a message saying the file size changed while cpio was writing it, and only a small portion of the file was copied.
So I reverted to the tar trick and it is copying fine.
tar cf - * | ( cd /media; tar xvf -)
When I left it was writing ~2.5 GB per minute over NFS from his much larger server. - bnchesterAspirantI found this thread and it has mostly answered the same question I had. I have the thing configured in Share mode and am still able to map to c via the admin, but when I try to copy/move from one share to another it says I don't have permission. What's up with that? I am hesitant to change to User mode -- will that mean I have to go around to all the PCs that map drives to it and enter credentials?
Related question: What if I want to copy files from a share on one NV+ to one on another NV+ but don't want it to hog up my PCs network bandwidth and memory? Any way to go direct from one to the other?
Thanks! - StephenBGuru - Experienced User
The most direct way to copy shares is to create a backup job via frontview. This can be used to copy on the same NAS or to copy between two NAS.bnchester wrote: I found this thread and it has mostly answered the same question I had. I have the thing configured in Share mode and am still able to map to c via the admin, but when I try to copy/move from one share to another it says I don't have permission. What's up with that? I am hesitant to change to User mode -- will that mean I have to go around to all the PCs that map drives to it and enter credentials?
Related question: What if I want to copy files from a share on one NV+ to one on another NV+ but don't want it to hog up my PCs network bandwidth and memory? Any way to go direct from one to the other?
Thanks! - dbott67Guide
bnchester wrote: I am hesitant to change to User mode -- will that mean I have to go around to all the PCs that map drives to it and enter credentials?
Yes. Basically, you need to create user accounts for each user that connects to the NAS. The best advice is to create a username & password that match their Windows login credentials to have a seamless experience. See this document: http://home.bott.ca/webserver/?p=346bnchester wrote: Related question: What if I want to copy files from a share on one NV+ to one on another NV+ but don't want it to hog up my PCs network bandwidth and memory? Any way to go direct from one to the other?
Mapping the C volume as admin will prevent files from traversing the network. The other options are:
- create a backup job in Frontview to copy files from share1 to share2
- install SSH add-on and copy via terminal
What version of RAIDiator are you running? - bnchesterAspirantThanks, dbott. The new one comes today and I'll have access to all the computers on the network to try this. Does it matter that the Windows usernames have spaces in them <John Doe>?
I have RAIDar but don't use it. Says its version 4.3.0. How would that help? I click on browse and get the same window as if I map a drive to the root drive of the device.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!