0

I'm running Openmediavault Linux 4.19.75-v7l+ and I'm running into an issue trying to run the command

$ echo 50000 > /proc/sys/dev/raid/speed_limit_min 

Or:

$ echo 50000 > /proc/sys/dev/raid/speed_limit_max

The console spits this out back at me each time:

-bash: /proc/sys/dev/raid/speed_limit_min: Permission denied

I have already created a user under a /bin/bash shell and added that user account to pretty much every group.

All I’m trying to do is increase the initial resync speed of a fresh RAID 6 with 5 drives. At the moment, it's saying it’ll take upwards of 30 days (!!!) to finish.

Any thoughts or helpful advice is greatly appretiated!

1
  • Neither works. I get the same Permission denied
    – Dana
    Commented Nov 9, 2019 at 1:25

1 Answer 1

0

You need root permsision to write that file.

sudo echo ...

Does not work because sudo does not see the redirection. use the echo command in a root shell or do it this way instead:

echo 50000 | sudo tee /proc/sys/dev/raid/speed_limit_min 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .