NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

MattNeimeyer's avatar
Aug 08, 2016

Best way to move 7tb of files internal to the NAS?

So I just set up Amazon Cloud Drive on my ReadyNas Ultra 6 running 6.5.1 (final release) and it works fine. I just want to move over all my files from "OldShare" into the newly created AmazonCloudDrive share. (I know I could probably just sync the second share under the Amazon Cloud Drive settings but I'd like to keep it simple)

 

I have 2Tb free out of 9Tb on the system. I know I COULD map both shares to drives and cut and paste the files but then I'd have to pull 7tb across the network (twice actually, there and back) I'm also worried about borking files names and aren't allowed in Windows.

 

I tried SSHing into the box to do it there it borked. The command I used was "mv /dava/OldShare/* /data/AmazonCloudDrive/" and it got some percentage through, filled the remaining 2Tb on my system and then started complaining about moving files because it was out of space. I deleted everything in the AmazonCloudDrive share and all was fine...

 

So what is the best/most efficient way to do this?

 

Thanks!

 

Thanks!

4 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    When you move files between shares it will need to copy the file then delete the original.

     

    Perhaps try

    # cp -a --reflink=auto /data/source-share/file /data/destination-share/

    # rm /data/source-share/file

     

    This is done automatically when doing a mv from ReadyNAS OS 6.6.0 onwards. ReadyNASOS 6.6.0-T95 (Alpha 1) is available.

    • MattNeimeyer's avatar
      MattNeimeyer
      Guide

      I'm confused... as I read the docs --reflink=auto is just a standard copy... isn't that going to double the storage requirements prior to the rm step?

       

      I've only got 2Tb free and 7Tb to move...

       

      Sorry if I'm missing something.

      • mdgm-ntgr's avatar
        mdgm-ntgr
        NETGEAR Employee Retired

        It speeds up the copy but you still need a little space, but not much (see StephenB's post below). Really though you should keep plenty of free space available on the volume so typically this shouldn't be a problem.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More