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) 2012, 2015 by Delphix. All rights reserved. 29# 30 31set -A RW_FS_PROP "quota=536870912" \ 32 "reservation=536870912" \ 33 "recordsize=262144" \ 34 "mountpoint=/tmp/mnt$$" \ 35 "checksum=fletcher2" \ 36 "compression=lzjb" \ 37 "atime=off" \ 38 "devices=off" \ 39 "exec=off" \ 40 "setuid=off" \ 41 "readonly=on" \ 42 "snapdir=visible" \ 43 "canmount=off" \ 44 "local:department=123" 45 46set -A RW_VOL_PROP "volblocksize=16384" \ 47 "checksum=fletcher2" \ 48 "compression=lzjb" \ 49 "readonly=on" \ 50 "local:department=123" 51 52set -A RW_VOL_CLONE_PROP "checksum=fletcher2" \ 53 "compression=lzjb" \ 54 "readonly=on" \ 55 "local:department=123" 56 57set -A FS_ONLY_PROP "quota=536870912" \ 58 "recordsize=65536" \ 59 "mountpoint=/tmp/mnt$$" \ 60 "atime=off" \ 61 "devices=off" \ 62 "exec=off" \ 63 "setuid=off" \ 64 "snapdir=visible" \ 65 "canmount=off" \ 66 "version=1" 67if is_freebsd; then 68 FS_ONLY_PROP+=("jailed=on") 69else 70 FS_ONLY_PROP+=("zoned=on") 71fi 72 73set -A VOL_ONLY_PROP "volblocksize=16384" "volsize=536870912" 74