diff options
author | Neil Brown <neilb@suse.de> | 2005-06-14 00:14:32 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-14 00:14:32 +0000 |
commit | a3ea87b781ec67f642e5cd26f631ec30474824a6 (patch) | |
tree | 0d4e4c0b961cf6ecbd2d37def8bfb3a1bc9c12f6 | |
parent | 6ac0e993850f4e77dfcc7a7bd25463c41526783b (diff) | |
download | mdadm-a3ea87b781ec67f642e5cd26f631ec30474824a6.tar.gz mdadm-a3ea87b781ec67f642e5cd26f631ec30474824a6.tar.xz mdadm-a3ea87b781ec67f642e5cd26f631ec30474824a6.zip |
Allow --force flag with --grow
.. so that you can 'grow' a raid1 to only one device.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | mdadm.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,7 @@ Changes Prior to 1.12.0 release unless -v is given (-vv gives the old behaviour with -Dsv). This is because the device list can change and so is not a stable aspect of the array + - Allow --force with --grow so '-Gfn1' works (on raid1) Changes Prior to 1.11.0 release - Fix embarassing bug which causes --add to always fail. @@ -466,6 +466,7 @@ int main(int argc, char *argv[]) continue; case O(BUILD,'f'): /* force honouring '-n 1' */ + case O(GROW,'f'): /* ditto */ case O(CREATE,'f'): /* force honouring of device list */ case O(ASSEMBLE,'f'): /* force assembly */ case O(MISC,'f'): /* force zero */ |