Monday, August 15, 2016

How to speedup DSM SHR volume expansion

The SHR volume expansion is very slow, it'll take days if you're adding a few more TB's. However there are some shortcuts that might improve things atleast a little bit. As usual, try these tricks at your own risk.
1) Enable SSH, and login using Putty with your admin-account
2) Switch to rootaccount by typing "sudo su -" and then type your admin-password. You should now be logged in as "root".
3) Type one row at a time and hit enter:
echo 50000 >/proc/sys/dev/raid/speed_limit_min
echo 16384 >/sys/block/md2/md/stripe_cache_size

I am no Unix-guru, but this obviously has something to do with diskcaching related to volume expansion. You'll notice that volume expansion will go atleast a little bit faster. I've tried this on my DSM 6.0.1 (DS415+) and it worked.

No comments:

Post a Comment