]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # CDDL HEADER START | |
3 | # | |
4 | # The contents of this file are subject to the terms of the | |
5 | # Common Development and Distribution License (the "License"). | |
6 | # You may not use this file except in compliance with the License. | |
7 | # | |
8 | # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
9 | # or http://www.opensolaris.org/os/licensing. | |
10 | # See the License for the specific language governing permissions | |
11 | # and limitations under the License. | |
12 | # | |
13 | # When distributing Covered Code, include this CDDL HEADER in each | |
14 | # file and include the License file at usr/src/OPENSOLARIS.LICENSE. | |
15 | # If applicable, add the following below this CDDL HEADER, with the | |
16 | # fields enclosed by brackets "[]" replaced with your own identifying | |
17 | # information: Portions Copyright [yyyy] [name of copyright owner] | |
18 | # | |
19 | # CDDL HEADER END | |
20 | # | |
21 | ||
22 | # | |
23 | # Copyright 2009 Sun Microsystems, Inc. All rights reserved. | |
24 | # Use is subject to license terms. | |
25 | # | |
26 | ||
27 | # | |
28 | # Copyright (c) 2013, 2014 by Delphix. All rights reserved. | |
29 | # Copyright 2016 Nexenta Systems, Inc. All rights reserved. | |
30 | # | |
31 | ||
32 | # Set the expected properties of zpool | |
33 | typeset -a properties=( | |
34 | "size" | |
35 | "capacity" | |
36 | "altroot" | |
37 | "health" | |
38 | "guid" | |
39 | "load_guid" | |
40 | "version" | |
41 | "bootfs" | |
42 | "delegation" | |
43 | "autoreplace" | |
44 | "cachefile" | |
45 | "checkpoint" | |
46 | "failmode" | |
47 | "listsnapshots" | |
48 | "autoexpand" | |
49 | "dedupditto" | |
50 | "dedupratio" | |
51 | "free" | |
52 | "allocated" | |
53 | "readonly" | |
54 | "comment" | |
55 | "expandsize" | |
56 | "freeing" | |
57 | "fragmentation" | |
58 | "leaked" | |
59 | "multihost" | |
60 | "feature@async_destroy" | |
61 | "feature@empty_bpobj" | |
62 | "feature@lz4_compress" | |
63 | "feature@multi_vdev_crash_dump" | |
64 | "feature@spacemap_histogram" | |
65 | "feature@enabled_txg" | |
66 | "feature@hole_birth" | |
67 | "feature@extensible_dataset" | |
68 | "feature@embedded_data" | |
69 | "feature@bookmarks" | |
70 | "feature@filesystem_limits" | |
71 | "feature@large_blocks" | |
72 | "feature@sha512" | |
73 | "feature@skein" | |
74 | "feature@edonr" | |
75 | "feature@device_removal" | |
76 | "feature@obsolete_counts" | |
77 | "feature@zpool_checkpoint" | |
78 | "feature@spacemap_v2" | |
79 | ) | |
80 | ||
81 | # Additional properties added for Linux. | |
82 | if is_linux; then | |
83 | properties+=( | |
84 | "ashift" | |
85 | "feature@large_dnode" | |
86 | "feature@userobj_accounting" | |
87 | "feature@encryption" | |
88 | "feature@project_quota" | |
89 | "feature@allocation_classes" | |
90 | ) | |
91 | fi |