From d024b0a7eb520d5d7f2238b31c18eabe3775e731 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 11 Jul 2008 08:50:06 +1000 Subject: [PATCH] Always assume_clean for raid0, linear, multipath, faulty For arrays that don't have redundancy (raid0, linear etc), the clean/dirty distinction doesn't mean anything. So always 'assume clean' for these arrays. --- Create.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Create.c b/Create.c index 68a42301..91937dfb 100644 --- a/Create.c +++ b/Create.c @@ -441,6 +441,8 @@ int Create(struct supertype *st, char *mddev, int mdfd, ( level == 6 && (insert_point < raiddisks || second_missing < raiddisks)) || + ( level <= 0 ) + || assume_clean ) info.array.state = 1; /* clean, but one+ drive will be missing*/ -- 2.39.2