# safe mode for grow?

- From: Nagilum \<hidden\>
- Date: 2008-01-27 10:02:11 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2008/01/6601867
- Thread: https://ratatoskr.run/linux-raid/2008/01/6601867/t.md

```text
Hi,

After having been through a few ups and downs with md and mdadm I think it would be a good idea if mdadm had a safe mode for growing raid5.
Safe mode would entail several things:
1. It would kick off a resync.
2. It would write to the spare drive to ensure it is ok. (we have to wait for the resync anyway)
3. It would make a backup file mandatory.
4. It would only allow to grow the raid by one device. (because if more than one of the new drives go bad, we have a big problem)

I know it would probably result in a bit of a deviation of the usual mdadm behaviour but I think its worth it.
Kind regards,
Alex.

========================================================================
#    _  __          _ __     http://www.nagilum.org/ \n icq://69646724 #
#   / |/ /__ ____ _(_) /_ ____ _  nagilum@nagilum.org \n +491776461165 #
#  /    / _ `/ _ `/ / / // /  ' \  Amiga (68k/PPC): AOS/NetBSD/Linux   #
# /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/   Mac (PPC): MacOS-X / NetBSD /Linux #
#           /___/     x86: FreeBSD/Linux/Solaris/Win2k  ARM9: EPOC EV6 #
========================================================================


----------------------------------------------------------------
cakebox.homeunix.net - all the machine one needs..

```

## Attachments

- [(unnamed)](https://ratatoskr.run/linux-raid/2008/01/6601867/attachment/0) (application/pgp-signature, 195 bytes)
