Searched refs:canmount (Results 1 - 22 of 22) sorted by relevance
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_001_pos.ksh | 37 # Setting valid canmount to filesystem, it is successful. 39 # 'zfs set canmount=on|off <fs>' 74 log_must zfs set canmount=$old_ctr_canmount $TESTPOOL/$TESTCTR 76 log_must zfs set canmount=$old_fs_canmount $TESTPOOL/$TESTFS 82 log_assert "Setting a valid property of canmount to file system, it must be successful." 87 old_fs_canmount=$(get_prop canmount $TESTPOOL/$TESTFS) 89 log_fail "Get the $TESTPOOL/$TESTFS canmount error." 90 old_ctr_canmount=$(get_prop canmount $TESTPOOL/$TESTCTR) 92 log_fail "Get the $TESTPOOL/$TESTCTR canmount error." 101 set_n_check_prop "$value" "canmount" " [all...] |
H A D | canmount_004_pos.ksh | 36 # Verify canmount=noauto work fine when setting sharenfs or sharesmb. 39 # 1. Create a fs canmount=noauto. 59 canmnt=$(get_prop canmount $CS_FS) 64 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 68 log_assert "Verify canmount=noauto work fine when setting sharenfs or sharesmb." 75 log_must zfs create -o canmount=noauto -o mountpoint=$oldmpt $CS_FS 95 log_pass "Verify canmount=noauto work fine when setting sharenfs or sharesmb."
|
H A D | canmount_003_pos.ksh | 37 # While canmount=noauto and the dataset is mounted, 42 # 2. Set canmount=noauto for each dataset and check the return value 58 log_must zfs set canmount=${old_canmount[i]} $ds 80 log_assert "While canmount=noauto and the dataset is mounted,"\ 96 old_canmount[i]=$(get_prop canmount $ds) 105 set_n_check_prop "noauto" "canmount" "$dataset" 111 log_pass "Setting canmount=noauto to filesystem while dataset busy pass."
|
H A D | canmount_002_pos.ksh | 37 # Setting valid canmount to filesystem, it is successful. 39 # 'zfs set canmount=noauto <fs>' 43 # 2. Set canmount=noauto for each dataset and check the retuen value 69 log_must zfs set canmount=${old_canmount[i]} $ds 98 log_assert "Setting canmount=noauto to file system, it must be successful." 115 old_canmount[i]=$(get_prop canmount $ds) 122 set_n_check_prop "noauto" "canmount" "$dataset" 140 log_must zfs set canmount="${old_canmount[i]}" $dataset 146 set_n_check_prop "noauto" "canmount" "$dataset" "false" 150 log_pass "Setting canmount [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_inherit/ |
H A D | zfs_inherit_001_neg.ksh | 57 set -A prop $props_str canmount
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_012_neg.ksh | 59 recordsize mountpoint checksum compression canmount atime \
|
H A D | zfs_allow_010_pos.ksh | 66 canmount true false \
|
H A D | delegate_common.kshlib | 247 canmount)
|
/illumos-gate/usr/src/lib/brand/solaris10/zone/ |
H A D | detach.ksh | 66 zfs set canmount=on $ACTIVE_DS >/dev/null 2>&1
|
H A D | clone.ksh | 105 zfs clone -o canmount=noauto $ACTIVE_SRC@$SNAPNAME $ACTIVE_DS
|
H A D | attach.ksh | 190 zfs set canmount=noauto $ACTIVE_DS >/dev/null 2>&1
|
H A D | common.ksh | 237 zfs create -o canmount=noauto $ACTIVE_DS 240 zfs set canmount=noauto $ACTIVE_DS >/dev/null 2>&1
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/ |
H A D | zfs_get_002_pos.ksh | 53 snapdir aclmode aclinherit canmount primarycache secondarycache \
|
H A D | zfs_get_008_pos.ksh | 56 aclmode aclinherit canmount primarycache secondarycache \
|
H A D | zfs_get_009_pos.ksh | 54 zoned snapdir aclmode aclinherit canmount primarycache secondarycache \
|
H A D | zfs_get_001_pos.ksh | 62 snapdir aclmode aclinherit canmount primarycache secondarycache \
|
H A D | zfs_get_005_neg.ksh | 51 aclinherit canmount primarycache secondarycache \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/ |
H A D | history_002_pos.ksh | 86 canmount off canmount on 98 # quota, reservation, canmount can not be inherited. 101 ${props[$i]} != "canmount" ]];
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 280 char canmount[ZFS_MAXPROPLEN]; local 307 /* canmount must be set */ 308 canmount[0] = '\0'; 309 if (zfs_prop_get(zlist[i], ZFS_PROP_CANMOUNT, canmount, 310 sizeof (canmount), NULL, NULL, 0, B_FALSE) != 0 || 311 strcmp(canmount, "off") == 0) 556 * "canmount=off and sharenfs=on". 1394 char canmount[ZFS_MAXPROPLEN]; local 1433 /* canmount must be set */ 1434 canmount[ [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 107 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR 108 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR/$TESTCTR1
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit_001_pos.ksh | 62 log_must zfs set canmount=off $dataset
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 5786 uint64_t zoned, canmount; local 5869 * canmount explicit outcome 5877 canmount = zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT); 5878 if (canmount == ZFS_CANMOUNT_OFF) { 5883 "'canmount' property is set to 'off'\n"), cmdname, 5886 } else if (canmount == ZFS_CANMOUNT_NOAUTO && !explicit) { 6446 /* Ignore canmount=noauto mounts */
|
Completed in 146 milliseconds