xref: /dflybsd-src/sys/dev/raid/vinum/statetexts.h (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
186d7f5d3SJohn Marino /*-
286d7f5d3SJohn Marino  * Copyright (c) 1997, 1998
386d7f5d3SJohn Marino  *	Nan Yang Computer Services Limited.  All rights reserved.
486d7f5d3SJohn Marino  *
586d7f5d3SJohn Marino  *  This software is distributed under the so-called ``Berkeley
686d7f5d3SJohn Marino  *  License'':
786d7f5d3SJohn Marino  *
886d7f5d3SJohn Marino  * Redistribution and use in source and binary forms, with or without
986d7f5d3SJohn Marino  * modification, are permitted provided that the following conditions
1086d7f5d3SJohn Marino  * are met:
1186d7f5d3SJohn Marino  * 1. Redistributions of source code must retain the above copyright
1286d7f5d3SJohn Marino  *    notice, this list of conditions and the following disclaimer.
1386d7f5d3SJohn Marino  * 2. Redistributions in binary form must reproduce the above copyright
1486d7f5d3SJohn Marino  *    notice, this list of conditions and the following disclaimer in the
1586d7f5d3SJohn Marino  *    documentation and/or other materials provided with the distribution.
1686d7f5d3SJohn Marino  * 3. All advertising materials mentioning features or use of this software
1786d7f5d3SJohn Marino  *    must display the following acknowledgement:
1886d7f5d3SJohn Marino  *	This product includes software developed by Nan Yang Computer
1986d7f5d3SJohn Marino  *      Services Limited.
2086d7f5d3SJohn Marino  * 4. Neither the name of the Company nor the names of its contributors
2186d7f5d3SJohn Marino  *    may be used to endorse or promote products derived from this software
2286d7f5d3SJohn Marino  *    without specific prior written permission.
2386d7f5d3SJohn Marino  *
2486d7f5d3SJohn Marino  * This software is provided ``as is'', and any express or implied
2586d7f5d3SJohn Marino  * warranties, including, but not limited to, the implied warranties of
2686d7f5d3SJohn Marino  * merchantability and fitness for a particular purpose are disclaimed.
2786d7f5d3SJohn Marino  * In no event shall the company or contributors be liable for any
2886d7f5d3SJohn Marino  * direct, indirect, incidental, special, exemplary, or consequential
2986d7f5d3SJohn Marino  * damages (including, but not limited to, procurement of substitute
3086d7f5d3SJohn Marino  * goods or services; loss of use, data, or profits; or business
3186d7f5d3SJohn Marino  * interruption) however caused and on any theory of liability, whether
3286d7f5d3SJohn Marino  * in contract, strict liability, or tort (including negligence or
3386d7f5d3SJohn Marino  * otherwise) arising in any way out of the use of this software, even if
3486d7f5d3SJohn Marino  * advised of the possibility of such damage.
3586d7f5d3SJohn Marino  */
3686d7f5d3SJohn Marino 
3786d7f5d3SJohn Marino /*
3886d7f5d3SJohn Marino  * Drive state texts
3986d7f5d3SJohn Marino  */
4086d7f5d3SJohn Marino char *drivestatetext[] = {
4186d7f5d3SJohn Marino 	"unallocated",
4286d7f5d3SJohn Marino 	"referenced",
4386d7f5d3SJohn Marino 	"down",
4486d7f5d3SJohn Marino 	"up",
4586d7f5d3SJohn Marino };
4686d7f5d3SJohn Marino 
4786d7f5d3SJohn Marino /*
4886d7f5d3SJohn Marino  * Subdisk state texts
4986d7f5d3SJohn Marino  */
5086d7f5d3SJohn Marino char *sdstatetext[] = {
5186d7f5d3SJohn Marino 	"unallocated",
5286d7f5d3SJohn Marino 	"uninit",
5386d7f5d3SJohn Marino 	"referenced",
5486d7f5d3SJohn Marino 	"init",
5586d7f5d3SJohn Marino 	"empty",
5686d7f5d3SJohn Marino 	"initializing",
5786d7f5d3SJohn Marino 	"initialized",
5886d7f5d3SJohn Marino 	"obsolete",
5986d7f5d3SJohn Marino 	"stale",
6086d7f5d3SJohn Marino 	"crashed",
6186d7f5d3SJohn Marino 	"down",
6286d7f5d3SJohn Marino 	"reviving",
6386d7f5d3SJohn Marino 	"reborn",
6486d7f5d3SJohn Marino 	"up",
6586d7f5d3SJohn Marino };
6686d7f5d3SJohn Marino 
6786d7f5d3SJohn Marino /*
6886d7f5d3SJohn Marino  * Plex state texts
6986d7f5d3SJohn Marino  */
7086d7f5d3SJohn Marino char *plexstatetext[] = {
7186d7f5d3SJohn Marino 	"unallocated",
7286d7f5d3SJohn Marino 	"referenced",
7386d7f5d3SJohn Marino 	"init",
7486d7f5d3SJohn Marino 	"faulty",
7586d7f5d3SJohn Marino 	"down",
7686d7f5d3SJohn Marino 	"initializing",
7786d7f5d3SJohn Marino 	"corrupt",
7886d7f5d3SJohn Marino 	"degraded",
7986d7f5d3SJohn Marino 	"flaky",
8086d7f5d3SJohn Marino 	"up",
8186d7f5d3SJohn Marino };
8286d7f5d3SJohn Marino 
8386d7f5d3SJohn Marino /*
8486d7f5d3SJohn Marino  * Volume state texts
8586d7f5d3SJohn Marino  */
8686d7f5d3SJohn Marino char *volstatetext[] = {
8786d7f5d3SJohn Marino 	"unallocated",
8886d7f5d3SJohn Marino 	"uninit",
8986d7f5d3SJohn Marino 	"down",
9086d7f5d3SJohn Marino 	"up",
9186d7f5d3SJohn Marino };
92