September 3, 201510 yr are there http commands to spinup the array except parity? and also to spin down? i have a driver for my home automation system that can send http commands, i want to program that when the media player is selected in room X, that ALL drive except parity, including cache spinup
September 4, 201510 yr I don't believe there are http commands, but could be wrong. You might look up spin groups, I think it will get you part of the way. Put all data drives in one spin group and the parity drive in its own spin group. Then when you access any data drive, the rest will spin up too.
September 4, 201510 yr I'm sure this is possible with a HTTP post that uses basic authentication. When you click the spinup button, it's an HTTP post. The issue is, can your automated interface do an http post or does it expect a http get? Also, The parity drive will spin up with the drives, no way to disable that. Yet if the spin down timer on parity is short enough it should not be an issue.
September 4, 201510 yr Author I'm sure this is possible with a HTTP post that uses basic authentication. When you click the spinup button, it's an HTTP post. The issue is, can your automated interface do an http post or does it expect a http get? Also, The parity drive will spin up with the drives, no way to disable that. Yet if the spin down timer on parity is short enough it should not be an issue. HTTP/HTTPS GET & POST commands Supports URL encoded usernames, passwords and ports eg <http://192.168.1.131:32400/library> TCP commands (ascii based) UDP commands (ascii based)
September 5, 201510 yr This is from a 6.0.1 system, replace Tower with your machine name, and disk# with the disk you want to spin up. This should only need to spin up 1 disk if you use spinup groups and have all data disks in the same group. http://tower/update.htm?cmdSpinup=disk4 To spindown: http://tower/update.htm?cmdSpindown=disk4
September 5, 201510 yr Author This is from a 6.0.1 system, replace Tower with your machine name, and disk# with the disk you want to spin up. This should only need to spin up 1 disk if you use spinup groups and have all data disks in the same group. http://tower/update.htm?cmdSpinup=disk4 To spindown: http://tower/update.htm?cmdSpindown=disk4 thank you that works.
September 5, 201510 yr Oh, here is a capture from a newly updated 6.1 installation for the parity disk: http://tower/update.htm?cmdSpindown=parity http://tower/update.htm?cmdSpinup=parity
September 5, 201510 yr Author Oh, here is a capture from a newly updated 6.1 installation for the parity disk: http://tower/update.htm?cmdSpindown=parity http://tower/update.htm?cmdSpinup=parity is it possible to do multiple disks without spinup groups?
September 5, 201510 yr Try the following. I don't know if you need the "=true" part at all, but it seems to work from some quick tinkering. http://tower/update.htm?cmdSpindownAll=true http://tower/update.htm?cmdSpinupAll=true
September 5, 201510 yr Author Try the following. I don't know if you need the "=true" part at all, but it seems to work from some quick tinkering. http://tower/update.htm?cmdSpindownAll=true http://tower/update.htm?cmdSpinupAll=true yes that spins all disks up i was talking about multiples like: http://tower/update.htm?cmdSpinup=disk1, disk2, disk8
September 5, 201510 yr Community Expert Try the following. I don't know if you need the "=true" part at all, but it seems to work from some quick tinkering. http://tower/update.htm?cmdSpindownAll=true http://tower/update.htm?cmdSpinupAll=true yes that spins all disks up i was talking about multiples like: http://tower/update.htm?cmdSpinup=disk1, disk2, disk8 Maybe tryhttp://tower/update.htm?cmdSpinup=disk1&cmdSpinup=disk2&cmdSpinup=disk8 and let us know if it works.
September 5, 201510 yr Yeah, I've tried multiple variations but only the first parameter seems to get acted on. To validate what is going on, you can try this out while looking at the syslog at the command prompt via: tail -f /var/log/syslog You should see entries like the following -- kernel: mdcmd (x): spinup # kernel: mdcmd (x): spindown # emhttp: Spinning up all drives... emhttp: Spinning down all drives...
Archived
This topic is now archived and is closed to further replies.