1# SPDX-License-Identifier: CDDL-1.0 2# 3# This file and its contents are supplied under the terms of the 4# Common Development and Distribution License ("CDDL"), version 1.0. 5# You may only use this file in accordance with the terms of version 6# 1.0 of the CDDL. 7# 8# A full copy of the text of the CDDL should have accompanied this 9# source. A copy of the CDDL is also available via the Internet at 10# https://opensource.org/license/CDDL-1.0. 11# 12 13# 14# Copyright (c) 2022, Klara Inc. 15# 16 17# Set the expected properties of a vdev 18typeset -a properties=( 19 capacity 20 state 21 guid 22 asize 23 psize 24 ashift 25 size 26 free 27 allocated 28 comment 29 expandsize 30 fragmentation 31 bootsize 32 parity 33 path 34 devid 35 physpath 36 encpath 37 fru 38 parent 39 children 40 numchildren 41 read_errors 42 write_errors 43 checksum_errors 44 initialize_errors 45 null_ops 46 read_ops 47 write_ops 48 free_ops 49 claim_ops 50 trim_ops 51 null_bytes 52 read_bytes 53 write_bytes 54 free_bytes 55 claim_bytes 56 trim_bytes 57 removing 58 allocating 59 rotational 60 failfast 61 checksum_n 62 checksum_t 63 io_n 64 io_t 65 slow_io_events 66 failure_domain 67 failure_group 68 slow_io_n 69 slow_io_t 70 trim_support 71 trim_errors 72 slow_ios 73 scheduler 74) 75