× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Is it safe to use 'rm' commands to delete files using the cli on a Netgear ReadyNAS?

soupboy
Tutor

Is it safe to use 'rm' commands to delete files using the cli on a Netgear ReadyNAS?

We are using

Model: ReadyNAS 3220

firmware version 6.4.2

Environment - Web interface / CLI

 

We need to delete a lot of files, and the web interface takes forever to delete the files, is it safe to run an 'rm' command instead from the terminal?

 

Just wondering if this will negatively affect any raid set up etc.

 

TIA

Model: RN322124E|ReadyNAS 3220
Message 1 of 2
StephenB
Guru

Re: Is it safe to use 'rm' commands to delete files using the cli on a Netgear ReadyNAS?


@soupboy wrote:

 

firmware version 6.4.2

 


I suggest updating your firmware, you are about 2 years behind.

 

In general, I find that file operations are faster on network shares (e.g. from windows) than they are using the web ui.  Though rm is of course faster still.  It is safe to use the linux shell to delete files, keeping in mind that you are on your own if something goes wrong.

 

rm will work for most files and folders, but not for shares - they are btrfs subvolumes, and rm will fail on them.  There are btrfs commands that will work on them, but they should be deleted on via the web ui.

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 763 views
  • 0 kudos
  • 2 in conversation
Announcements