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

Forum Discussion

Zippyduda's avatar
Zippyduda
Aspirant
May 02, 2018
Solved

Deleting large file fails and crashes NAS

Hi all. I have a 300GB file that I want to delete however when I try to do it via Windows or SSH it fails and crashes the NAS, meaning I have to remove the power to reboot it (it doesn't respond to...
  • StephenB's avatar
    StephenB
    May 06, 2018

    You could try a single truncation via ssh

    truncate -s 0 myfile.ext

    Progressive truncation just uses different parameters for -s (size).  For instance, -s 100G or -s 100M.

     

    Echo is another tool that can truncate a file.

    echo > myfile.ext

     

    Either way, turn snapshots off before you do this.  Perhaps also disable checksums and quota if they are enabled (look on the volume settings wheel).

     

    If it works, I suggest running a balance afterwards.  If that also locks up, then post back.

     

     

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