diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-02-24 18:45:56 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-02-24 18:45:56 -0700 |
commit | dab4a5134e8d946f3809163af6abb80a945c904c (patch) | |
tree | 74c51faa30b739d3449d00b691295332efffa747 /managemon.c | |
parent | db575f3b9ebfdf0d7ac8dd5f9b1d4b4d0e446e80 (diff) | |
download | mdadm-dab4a5134e8d946f3809163af6abb80a945c904c.tar.gz mdadm-dab4a5134e8d946f3809163af6abb80a945c904c.tar.xz mdadm-dab4a5134e8d946f3809163af6abb80a945c904c.zip |
sysfs: allow sysfs_read to detect and drop removed disks
All operations that rely on loading from an existing container (like
--add) will fail after a disk has been removed. Provide an option to
skip missing / offline disks rather than abort. We attempt to do this
in the load_super_{imsm,ddf}_all cases when mdmon is running i.e. we
already have a consitent version of the metadata running in the system.
Otherwise, we fail as normal and let the administrator fix up the
container.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'managemon.c')
0 files changed, 0 insertions, 0 deletions