1#!/bin/ksh -p 2# vim: filetype=sh 3# 4# CDDL HEADER START 5# 6# The contents of this file are subject to the terms of the 7# Common Development and Distribution License (the "License"). 8# You may not use this file except in compliance with the License. 9# 10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11# or http://www.opensolaris.org/os/licensing. 12# See the License for the specific language governing permissions 13# and limitations under the License. 14# 15# When distributing Covered Code, include this CDDL HEADER in each 16# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17# If applicable, add the following below this CDDL HEADER, with the 18# fields enclosed by brackets "[]" replaced with your own identifying 19# information: Portions Copyright [yyyy] [name of copyright owner] 20# 21# CDDL HEADER END 22# 23# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25 26# Set the expected properties of zpool 27typeset -a properties=( 28 "size" 29 "capacity" 30 "altroot" 31 "health" 32 "guid" 33 "version" 34 "bootfs" 35 "delegation" 36 "autoreplace" 37 "cachefile" 38 "failmode" 39 "listsnapshots" 40 "autoexpand" 41 "dedupditto" 42 "dedupratio" 43 "free" 44 "allocated" 45 "readonly" 46 "comment" 47 "expandsize" 48 "freeing" 49 "fragmentation" 50 "leaked" 51 "bootsize" 52 "checkpoint" 53 "feature@async_destroy" 54 "feature@empty_bpobj" 55 "feature@lz4_compress" 56 "feature@multi_vdev_crash_dump" 57 "feature@spacemap_histogram" 58 "feature@enabled_txg" 59 "feature@hole_birth" 60 "feature@extensible_dataset" 61 "feature@embedded_data" 62 "feature@bookmarks" 63 "feature@filesystem_limits" 64 "feature@large_blocks" 65 "feature@large_dnode" 66 "feature@sha512" 67 "feature@skein" 68 # "feature@edonr" Edonr is not yet implemented on FreeBSD 69 "feature@device_removal" 70 "feature@obsolete_counts" 71 "feature@zpool_checkpoint" 72 "feature@spacemap_v2" 73) 74 75export DISK=${DISKS%% *} 76