diff options
author | NeilBrown <neilb@suse.de> | 2013-11-28 15:15:30 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-11-28 15:15:30 +1100 |
commit | 9ca39acb3e8bc31811e463d19fae81c5501aea65 (patch) | |
tree | 6b00343e8d70fd33f95d838499b24a93c971704e /udev-md-raid-assembly.rules | |
parent | c1736844ba49ec1a8731b5815abfd6530b982a3b (diff) |
Incremental: add --export handling.
If --export is given with --incremental, then
MD_DEVNAME
is output which gives the name of the device (in /dev/md) that
is the array (or container) that the device would be added to.
Also
MD_STARTED
is set to one of
no
unsafe
yes
nothing
to indicate if the array was started. IF MD_STARTED=unsafe
then it may be appropriate to run
mdadm -R /dev/md/$MD_DEVNAME
after a timeout to ensure newly degraded array are started.
If
MD_FOREIGN=yes
it might be appropriate to suppress this as the array is
probably not critical.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'udev-md-raid-assembly.rules')
0 files changed, 0 insertions, 0 deletions