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=512M" \ 32 "reservation=512M" \ 33 "recordsize=256K" \ 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 "aclmode=discard" \ 44 "aclinherit=discard" \ 45 "canmount=off" \ 46 "local:department=123" 47 48is_global_zone && \ 49 set -A RW_FS_PROP ${RW_FS_PROP[*]} "sharenfs=on" "zoned=on" 50 51set -A RW_VOL_PROP "volblocksize=16K" \ 52 "checksum=fletcher2" \ 53 "compression=lzjb" \ 54 "readonly=on" \ 55 "local:department=123" 56 57set -A RW_VOL_CLONE_PROP "checksum=fletcher2" \ 58 "compression=lzjb" \ 59 "readonly=on" \ 60 "local:department=123" 61 62set -A FS_ONLY_PROP "quota=512M" \ 63 "recordsize=64K" \ 64 "mountpoint=/tmp/mnt$$" \ 65 "sharenfs=on" \ 66 "atime=off" \ 67 "devices=off" \ 68 "exec=off" \ 69 "setuid=off" \ 70 "zoned=on" \ 71 "snapdir=visible" \ 72 "aclmode=discard" \ 73 "aclinherit=discard" \ 74 "canmount=off" \ 75 "version=1" 76 77set -A VOL_ONLY_PROP "volblocksize=16K" "volsize=512M" 78