search for: 6a61a8d

Displaying 2 results from an estimated 2 matches for "6a61a8d".

Did you mean: 6a61a8d6e
2018 Jan 14
0
[PATCH v2 1/3] appliance: init: Avoid running degraded md devices
...ct backend ------------------------------------------------ master : 835.2ms ±1.1ms : 670.4ms ±0.3ms master+patch : 837.7ms ±2.4ms : 671.8ms ±0.2ms --- appliance/init | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/appliance/init b/appliance/init index c04ee45..6a61a8d 100755 --- a/appliance/init +++ b/appliance/init @@ -130,14 +130,16 @@ if test "$guestfs_network" = 1; then fi fi -# Scan for MDs. -mdadm -As --auto=yes --run +# Scan for MDs but don't run arrays unless all expected drives are present +mdadm -As --auto=yes --no-degraded # S...
2018 Jan 12
5
[PATCH 1/1] appliance: init: Avoid running degraded md devices
'--no-degraded' flag in the first mdadm call inhibits the startup of array unless all expected drives are present. This will prevent starting arrays in degraded state. Second mdadm call (after LVM is scanned) will scan unused yet devices and make an attempt to run all found arrays even they are in degraded state. Two new tests are added. This fixes rhbz1527852. Here is boot-benchmark