Re: Controlled shut-down of mdadm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux