Anda di halaman 1dari 2

1/20/15 [SOLVED] What is the best way to powerdown unRAID?

Lime Technology - unRAID Server Community

Welcome, Guest. Please login or register. Search


Did you miss your activation email?

Forever Login

Login with username, password and session length

Home Help Login Register

Lime Technology - unRAID Server C ommunity » unRAID OS version 5.x Support » General Support »
[SOLVED] What is the best way to powerdown unRAID?

« previous next »

Pages: [1] Go Down SE N D T H I S T O P I C P RI N T

Author Topic: [SOLVED] What is the best way to powerdown unRAID? (Read

4515 times) [SOLVED] What is the best way to


ashaneil
powerdown unRAID?
Full Member
« on: January 26, 2012, 12:05:44 PM »

Posts: 129 Hi,


I just built my 1st unRAID server using the Atlas thread. I am on unRAID 5b11.
I would like to know the best way to stop the unRAID server, both from the
WebUI and from command line.

Command-line:
I currently use "showdown -h now" to stop the server. It works for now
because I don't have a parity drive assigned but I am assuming that using this
command will trigger a parity check once I have assigned a parity drive.

I saw a post by Joe L. where he talks about a script but the post is really old. I
am not sure if it is still applicable. His script is:

Code: [Se le ct]


# Stop Samba
killall smbd nmbd

# Kill any processes using the disks


for fs in /mnt/user /mnt/disk*
do
if [ ! -d ${fs} ] ; then continue ; fi
for pid in $(fuser -cu $fs 2>/dev/null)
do
kill -TERM ${pid}
done
done

#un-mouunt the disks


for disk in /mnt/disk*
do
/bin/umount ${disk}
done
WebUI:
Is#itSbest to
top theustop
nRAIDthe array
array first and then go to command line and use the
shutdown
echo stopcommand?
> /proc/mdcmd

Thanks for
echo "The all
unRthe help.
AID array Sorry ifpIed
is stop missed
" a post somewhere.
« Last Edit: January 26, 2012, 12:41:57 PM by ashaneil » Logged

lime-technology.com/forum/index.php?topic=18110.0 1/2
1/20/15 [SOLVED] What is the best way to powerdown unRAID?

Rajahal Re: What is the best way to


powerdown unRAID from
Global Moderator
command prompt and via WebUI?
Hero Member
« Reply #1 on: January 26, 2012, 12:15:40
PM »

The best option is to install the powerdown script. It is an old script, but it still
works well. With that script installed, you can either stop the array and press
'power down' on the GUI, or type 'powerdown' in the command line interface.
Posts: 6120 Either way will kill all running add-ons and gracefully shut down your server.

Greenleaf Technology Logged

Like us on Facebook | Follow me on Twitter


Looking for a prebuilt server? Greenleaf Technology
Building it yourself? Greenleaf Prototype Builds
Troubleshooting | Wiki

ashaneil Re: What is the best way to


powerdown unRAID from
Full Member
command prompt and via WebUI?
« Reply #2 on: January 26, 2012, 12:41:25
Posts: 129 PM »

Thanks for the quick response Raj. Thats just what I needed.

Logged

Pages: [1] Go Up SE N D T H I S T O P I C P RI N T

« previous next »

Lime Technology - unRAID Server C ommunity » unRAID OS version 5.x Support » General Support »
[SOLVED] What is the best way to powerdown unRAID?

Jum p to: => General Support go

SMF 2.0.9 | SMF © 2014, Sim ple Machine s


Sim ple Audio Vide o Em be dde r
XHTML R SS W AP2

lime-technology.com/forum/index.php?topic=18110.0 2/2

Anda mungkin juga menyukai