spl147 Posted September 3, 2015 Share Posted September 3, 2015 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 Link to comment
RobJ Posted September 4, 2015 Share Posted September 4, 2015 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. Link to comment
WeeboTech Posted September 4, 2015 Share Posted September 4, 2015 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. Link to comment
spl147 Posted September 4, 2015 Author Share Posted September 4, 2015 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) Link to comment
BRiT Posted September 5, 2015 Share Posted September 5, 2015 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 Link to comment
spl147 Posted September 5, 2015 Author Share Posted September 5, 2015 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. Link to comment
BRiT Posted September 5, 2015 Share Posted September 5, 2015 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 Link to comment
spl147 Posted September 5, 2015 Author Share Posted September 5, 2015 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? Link to comment
BRiT Posted September 5, 2015 Share Posted September 5, 2015 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 Link to comment
spl147 Posted September 5, 2015 Author Share Posted September 5, 2015 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 Link to comment
trurl Posted September 5, 2015 Share Posted September 5, 2015 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. Link to comment
spl147 Posted September 5, 2015 Author Share Posted September 5, 2015 only disk1 spins up Link to comment
BRiT Posted September 5, 2015 Share Posted September 5, 2015 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... Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.