Don't loose count when adding too many plexes to a volume.
[dragonfly.git] / sys / dev / raid / vinum / statetexts.h
blob1d2d826fe096019af4c38a7863d2e3acfe64ae8b
1 /* Created by ./makestatetext on Wed Jan 5 10:05:30 CST 2000. Do not edit */
3 /*-
4 * Copyright (c) 1997, 1998
5 * Nan Yang Computer Services Limited. All rights reserved.
7 * This software is distributed under the so-called ``Berkeley
8 * License'':
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. All advertising materials mentioning features or use of this software
19 * must display the following acknowledgement:
20 * This product includes software developed by Nan Yang Computer
21 * Services Limited.
22 * 4. Neither the name of the Company nor the names of its contributors
23 * may be used to endorse or promote products derived from this software
24 * without specific prior written permission.
26 * This software is provided ``as is'', and any express or implied
27 * warranties, including, but not limited to, the implied warranties of
28 * merchantability and fitness for a particular purpose are disclaimed.
29 * In no event shall the company or contributors be liable for any
30 * direct, indirect, incidental, special, exemplary, or consequential
31 * damages (including, but not limited to, procurement of substitute
32 * goods or services; loss of use, data, or profits; or business
33 * interruption) however caused and on any theory of liability, whether
34 * in contract, strict liability, or tort (including negligence or
35 * otherwise) arising in any way out of the use of this software, even if
36 * advised of the possibility of such damage.
38 * $FreeBSD: src/sys/dev/vinum/statetexts.h,v 1.9 2000/02/29 06:07:01 grog Exp $
39 * $DragonFly: src/sys/dev/raid/vinum/statetexts.h,v 1.2 2003/06/17 04:28:33 dillon Exp $
42 /* Drive state texts */
43 char *drivestatetext[] =
45 "unallocated",
46 "referenced",
47 "down",
48 "up",
51 /* Subdisk state texts */
52 char *sdstatetext[] =
54 "unallocated",
55 "uninit",
56 "referenced",
57 "init",
58 "empty",
59 "initializing",
60 "initialized",
61 "obsolete",
62 "stale",
63 "crashed",
64 "down",
65 "reviving",
66 "reborn",
67 "up",
70 /* Plex state texts */
71 char *plexstatetext[] =
73 "unallocated",
74 "referenced",
75 "init",
76 "faulty",
77 "down",
78 "initializing",
79 "corrupt",
80 "degraded",
81 "flaky",
82 "up",
85 /* Volume state texts */
86 char *volstatetext[] =
88 "unallocated",
89 "uninit",
90 "down",
91 "up",