Revision 9db6dbce scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
537 | 537 |
else: |
538 | 538 |
degr_text = "ok" |
539 | 539 |
buf.write(" %s, status %s" % (sync_text, degr_text)) |
540 |
elif dtype == constants.LD_LV: |
|
541 |
if degr: |
|
542 |
degr_text = " *DEGRADED* (failed drive?)" |
|
543 |
else: |
|
544 |
degr_text = "" |
|
545 |
buf.write(degr_text) |
|
540 | 546 |
buf.write("\n") |
541 | 547 |
|
542 | 548 |
if dev["iv_name"] is not None: |
Also available in: Unified diff