modified message on failure to read metadata in Manage
Loading container may fail if e.g. one of the disks in container has been detached but udev has not realized the change. Addition to such array will fail because reading superblock from one of disks in array fails. Current message is a bit confusing. Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
fa89bdeeaf
commit
0081eb007c
2
Manage.c
2
Manage.c
|
@ -637,7 +637,7 @@ int Manage_subdevs(char *devname, int fd,
|
|||
/* FIXME this is a bad test to be using */
|
||||
if (!tst->sb) {
|
||||
close(tfd);
|
||||
fprintf(stderr, Name ": cannot find valid superblock in this array - HELP\n");
|
||||
fprintf(stderr, Name ": cannot load array metadata from %s\n", devname);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue