linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Drew <drew.kay@gmail.com>
To: Graeme Gemmill <graeme@gemmill.name>
Cc: linux-raid@vger.kernel.org
Subject: Re: Controlled shut-down of mdadm
Date: Tue, 23 Mar 2010 10:28:31 -0700	[thread overview]
Message-ID: <c268e4661003231028v5562e31etf967a87cbd6c4f74@mail.gmail.com> (raw)
In-Reply-To: <4BA8EDC0.4060506@gemmill.name>

> On the (hopefully) rare occasions when my RAID server gets shut down, is it
> necessary or desirable to execute a mdadm --stop command in a shut-down
> script? Applications on other PCs may have files open, and if a prolonged
> mains break triggers a UPS shutdown, then there may be data loss (not that
> I'm running a reactor or a bank!).

Assuming by "other PCs" you mean you're sharing files to other
machines using CIFS (samba) or NFS, I wouldn't worry too much. Most
distro's usually do a shutdown of services before they stop the local
filesystems and raid array so any 'loss' of data is usually caused by
a user who hasn't saved their files before the server went offline.
Once the clients have been disconnected, the shutdown should handle
stopping the raid array just fine.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie

      reply	other threads:[~2010-03-23 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 16:35 Controlled shut-down of mdadm Graeme Gemmill
2010-03-23 17:28 ` Drew [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c268e4661003231028v5562e31etf967a87cbd6c4f74@mail.gmail.com \
    --to=drew.kay@gmail.com \
    --cc=graeme@gemmill.name \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).