linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Controlled shut-down of mdadm
@ 2010-03-23 16:35 Graeme Gemmill
  2010-03-23 17:28 ` Drew
  0 siblings, 1 reply; 2+ messages in thread
From: Graeme Gemmill @ 2010-03-23 16:35 UTC (permalink / raw)
  To: linux-raid

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!).
Just a thought...
Regards to all
Graeme

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Controlled shut-down of mdadm
  2010-03-23 16:35 Controlled shut-down of mdadm Graeme Gemmill
@ 2010-03-23 17:28 ` Drew
  0 siblings, 0 replies; 2+ messages in thread
From: Drew @ 2010-03-23 17:28 UTC (permalink / raw)
  To: Graeme Gemmill; +Cc: linux-raid

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-23 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23 16:35 Controlled shut-down of mdadm Graeme Gemmill
2010-03-23 17:28 ` Drew

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