]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Monitor: skip array if error getting size
authorAnna Czarnowska <anna.czarnowska@intel.com>
Tue, 11 Jan 2011 10:36:37 +0000 (11:36 +0100)
committerNeilBrown <neilb@suse.de>
Wed, 12 Jan 2011 05:16:14 +0000 (16:16 +1100)
commitde697acc4c8d0bc361cf5bd2edca33ade1274405
tree0d6e42b5418bc26032543ab52fe351ed51eca833
parent2dd0d6971ca499b32ff9c0a4b2af6e66ad859723
Monitor: skip array if error getting size

load_super tries to load container first anyway but if it fails
eg. after physically removing a disk
then it tries to read metadata from container device.
This will always fail and print confusing errors.
So use load_container instead of load_super on container.

On failure to read metadata we should skip this array.
It will be dealt with the next time round.

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Monitor.c