Thread (7 messages) 7 messages, 3 authors, 2015-06-25

Re: (R) in mdstat output, clean && degraded

From: Phil Turmel <hidden>
Date: 2015-06-23 20:12:58

Hi Jared,

On 06/23/2015 02:56 PM, Jared Mauch wrote:
I’ve been searching high and low the past few days and have been unable to diagnose what this (R) is in my raid1 mdstat output indicates.
Replacement device.
It seems something is ‘stuck’ somehow as I’m not sure how the array is both clean and degraded at the same time.
Role '0', currently sdd1, is being replaced with sdg1.  Both appear to
be working as expected and are therefore individually 'clean'.  Role '1'
is missing, and therefore the array as a whole is degraded.

Looks to me like you lost a device and should have used --add to put a
new device into service, but you used --replace instead.  --replace is
for use when a functioning device shows signs of failing and is to be
replaced 'on-the-fly'.

[trim /]
   Device Role : Replacement device 0
   Array State : R. ('A' == active, '.' == missing, 'R' == replacing)
However, the array doesn't seem to be making progress on the replacement
(didn't even start ?), so this pathological situation might have
triggered a bug in the resync code.

Neil?

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help