From a6e966d7f60513f2732bbc387f32f7d45b80f9bc Mon Sep 17 00:00:00 2001 From: zk194757 Date: Wed, 19 Mar 2008 07:12:56 -0700 Subject: 6663752 The mpt raidcfg plugin does not handle the volume missing state --- usr/src/cmd/raidctl/raidctl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr/src/cmd/raidctl/raidctl.c') 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; -- cgit v1.2.3