May 3, 201016 yr What is the proper command to stop (and start) the array via the command line? I found the command to shut the whole server down via a call to the emhttp server, but nothing to just stop and later restart the array..
May 3, 201016 yr What is the proper command to stop (and start) the array via the command line? I found the command to shut the whole server down via a call to the emhttp server, but nothing to just stop and later restart the array.. There is no command to re-start the array other than through the management interface (other than a reboot). To stop the array you must stop samba (since otherwise it would keep the disks busy) /root/samba stop then, you must un-mount each of the data drives umount /dev/md1 umount/dev/md2 etc Then you can stop the array /root/mdcmd stop To restart the array at that point, the easiest, and what I do, is type: reboot
May 3, 201016 yr Author What is the proper command to stop (and start) the array via the command line? I found the command to shut the whole server down via a call to the emhttp server, but nothing to just stop and later restart the array.. There is no command to re-start the array other than through the management interface (other than a reboot). To stop the array you must stop samba (since otherwise it would keep the disks busy) /root/samba stop then, you must un-mount each of the data drives umount /dev/md1 umount/dev/md2 etc Then you can stop the array /root/mdcmd stop To restart the array at that point, the easiest, and what I do, is type: reboot Thanks Joe.. To restart the array, would it be easier to kill emhttp and restart it?
May 4, 201016 yr What is the proper command to stop (and start) the array via the command line? I found the command to shut the whole server down via a call to the emhttp server, but nothing to just stop and later restart the array.. There is no command to re-start the array other than through the management interface (other than a reboot). To stop the array you must stop samba (since otherwise it would keep the disks busy) /root/samba stop then, you must un-mount each of the data drives umount /dev/md1 umount/dev/md2 etc Then you can stop the array /root/mdcmd stop To restart the array at that point, the easiest, and what I do, is type: reboot Thanks Joe.. To restart the array, would it be easier to kill emhttp and restart it? Based on my own experience in attempting to re-gain control of a server when the out-of-memory kernel processing is in effect, you really need to reboot. I had several chances to reboot during this past week. I was attempting to compile ffmpeg and even with a swap-file in place the temp files in /tmp ran me out of memory.. several times... and it was difficult to regain control of the server as my login shell would be killed after a single command. It took many login sessions, each in turn performing one step to get to where I could type "reboot" to cleanly shut down the server. I only have 512 Meg of ram, so I really was pushing the envelope installing the compiler and attempting to compile a large program. Once you've lost control from the web-interface, it is really tough to get back into control. Attempting to invoke emhttp just results in it being killed by the kernel out-of-memory process killer. As I said, just reboot. Joe L.
Archived
This topic is now archived and is closed to further replies.