summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Zylowski <michal.zylowski@intel.com>2017-11-08 15:43:41 +0100
committerJes Sorensen <jsorensen@fb.com>2017-11-09 18:00:52 +0100
commitcca672081e7f03d2763fdc7915379d37d581ad8b (patch)
tree245942df92049f991cdd8ead28b9c0689082a423
parentTo support clustered raid10 (diff)
downloadmdadm-cca672081e7f03d2763fdc7915379d37d581ad8b.tar.xz
mdadm-cca672081e7f03d2763fdc7915379d37d581ad8b.zip
imsm: More precise message when spanned raid is created
When RAID is created between VMD and SATA disks, printed message is "Mixing devices attached to different VMD domains is not allowed". This message is unclear and misleading because creating spanned containers between different VMD domains is allowed. Set error message to more precise text. Signed-off-by: Michal Zylowski <michal.zylowski@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
-rw-r--r--super-intel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/super-intel.c b/super-intel.c
index b561fe20..2f912f22 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -4500,8 +4500,7 @@ static int find_intel_hba_capability(int fd, struct intel_super *super, char *de
hba = hba->next;
}
fprintf(stderr, ").\n"
- " Mixing devices attached to different %s is not allowed.\n",
- hba_name->type == SYS_DEV_VMD ? "VMD domains" : "controllers");
+ " Mixing devices attached to different controllers is not allowed.\n");
}
return 2;
}