lostleft.blogg.se

Arraysync script commands
Arraysync script commands






arraysync script commands

Model=`grep "rdevModel.$i"= /tmp/$$unmenu_status|ĭisk_device=`echo $" != "parity" ] Serial=`grep "rdevSerial.$i"= /tmp/$$unmenu_status| Rdevname=`grep "rdevName.$i"= /tmp/$$unmenu_status| RESYNCFINISH=`grep "^mdResyncFinish" /tmp/$$unmenu_status | RESYNCPERCENT=`grep "^mdResyncPrcnt" /tmp/$$unmenu_status | RESYNC=`grep "^mdResync" /tmp/$$unmenu_status | NUMDISKS_IN_SB=`grep "^sbNumDisks" /tmp/$$unmenu_status | NUMDISKS_IN_ARRAY=`grep "^mdNumProtected" /tmp/$$unmenu_status | STATUS=`grep mdState /tmp/$$unmenu_status | cut -d "=" -f2`

arraysync script commands

IFS= read -t $DELAY -r -s -n1 -d '' Query the "md" module and get the current statusĬmd status | strings >/tmp/$$unmenu_status # Timed read of a single key from the user

arraySync()0 var rslt

.

Trap 'stty sane rm /tmp/$$unmenu_status ' EXIT and then we add the script to collect the input from the user, and then predict the. The screen on the unmenu refreshes automatically every 30 seconds or whenever a key is pressed on the keyboard. Then to invoke it log in via telnet and then type:

#Arraysync script commands install#

To install it, unzip the attachment to this post and drag it to your flash drive. All the "management" commands must be typed as upper-case (hold down the shift key when typing the command) This is to help prevent any accidental commands from being issued. It can also let you reboot the server, or issue a "powerdown" command to safely stop the array prior to shutting off the power supplies. Effortlessly create video arrays without. Synchronize two displays or a hundred ArraySync’s performance is limited only by the capabilities of your hardware. ArraySync is completely scalable, and can run entirely on hardware you already own. What it can do is show you disk status, disk statistics, and let you start and stop a background parity check. ArraySync is the ideal solution for event designers, trade shows, exhibitions and conferences. It cannot be used to add a disk to an array, or to format disks, or to initialize the array, or even to start the array if it is stopped. It does not perform all functions the web-based interface can perform. It is named "unmenu" and might be helpful to some unRaid owners. I put together a UNIX shell script that allows for some basic management of the unRaid array when logged in via telnet.








Arraysync script commands