summaryrefslogtreecommitdiff
path: root/usr/src/cmd/raidctl/raidctl.c
diff options
context:
space:
mode:
authorzk194757 <none@none>2008-03-19 07:12:56 -0700
committerzk194757 <none@none>2008-03-19 07:12:56 -0700
commita6e966d7f60513f2732bbc387f32f7d45b80f9bc (patch)
treec4fbe965b23555f28a41d6646cd3832fee72e58e /usr/src/cmd/raidctl/raidctl.c
parent2ea701aa039ac7c64509e62bb4a333fb79e9b069 (diff)
downloadillumos-joyent-a6e966d7f60513f2732bbc387f32f7d45b80f9bc.tar.gz
6663752 The mpt raidcfg plugin does not handle the volume missing state
Diffstat (limited to 'usr/src/cmd/raidctl/raidctl.c')
-rw-r--r--usr/src/cmd/raidctl/raidctl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/cmd/raidctl/raidctl.c b/usr/src/cmd/raidctl/raidctl.c
index f81be8b484..ef206c590b 100644
--- a/usr/src/cmd/raidctl/raidctl.c
+++ b/usr/src/cmd/raidctl/raidctl.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*
*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* raidctl.c is the entry file of RAID configuration utility.
@@ -1701,6 +1701,9 @@ snapshot_array(raid_obj_handle_t array_handle, uint8_t indent, uint8_t is_sub,
case ARRAY_STATE_SYNC:
(void) fprintf(stdout, gettext("SYNC"));
break;
+ case ARRAY_STATE_MISSING:
+ (void) fprintf(stdout, gettext("MISSING"));
+ break;
default:
(void) fprintf(stdout, gettext("N/A"));
break;
@@ -2092,6 +2095,9 @@ print_array_attr(raidcfg_array_t *attrp)
case ARRAY_STATE_SYNC:
(void) printf("%-8s", gettext("SYNC"));
break;
+ case ARRAY_STATE_MISSING:
+ (void) printf("%-8s", gettext("MISSING"));
+ break;
default:
(void) printf("%-8s", gettext("N/A"));
break;