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

Forum Discussion

ronlaws's avatar
ronlaws
Aspirant
Sep 22, 2016

File operations taking forever

Is there a speciffic reason why file operations take forever on the ReadyNAS? I'm a seasoned *NIX user and normal behavour oof say: mv folder_a ../parent_folder would normaly complete in a matter of a second or two, however on the nas, it seems to want to take forever in doing this simple task. Same goes with rm -rf folder_a (or) rmdir folder_a, again tasks that normally complete promptly on a normal Linux system. 

 

(ps yes i have ssh access enabled, and im trying to perform these tasks directly on the nas under the /data mount for the md array)

3 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Each share is its own BTRFS subvolume.  So a move becomes a copy/delete operation.  It's fastest to do a cp --reflink and then delete the original.

     

    On deletions - do you have snapshots and/or bitrot protection enabled?

    • ronlaws's avatar
      ronlaws
      Aspirant

      As far as I know, no - bitrot protection isnt enabled on this particular share and i turned all snapshots off. It may be on another share, I will need to doble check, did not know each share was treated as a seperate file system though, I don't see them under mounts (assuming Working Directory /data) only the various nfs share mountd though that would explain why normally instant operations are taking time (As if copying from 2 different disks)

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        ronlaws wrote:

        that would explain why normally instant operations are taking time (As if copying from 2 different disks)


        Exactly.  But cp --reflink should be as fast as a normal move (the data isn't copied, the new folder entry just points to the same datablocks).  

         

        The rm slowdown is unexplained though.  Perhaps you should run a balance.

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