Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stop Array via Cmd Line

Featured Replies

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..

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

 

  • 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?

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.