Searched refs:sharenfs (Results 1 - 25 of 56) sorted by relevance
123
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_009_neg.ksh | 50 val=$(get_prop sharenfs $fs) 52 log_must zfs set sharenfs=off $fs 60 sharenfs_val=$(get_prop sharenfs $fs) 63 log_must zfs set sharenfs=on $fs
|
H A D | zfs_share_007_neg.ksh | 40 # 2. For each option in the list, set the sharenfs property. 41 # 3. Verify that the error code and sharenfs property. 48 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 63 log_note "Setting sharenfs=${badopts[i]} $i " 64 log_mustnot zfs set sharenfs="${badopts[i]}" $TESTPOOL/$TESTFS 72 # To global zone, sharenfs must be set 'off' before malformed testing. 75 # To non-global zone, sharenfs can be set even 'off' or 'on'. 78 log_note "Resetting sharenfs option" 79 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS
|
H A D | zfs_share_005_pos.ksh | 40 # 2. For each option in the list, set the sharenfs property. 48 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 73 log_must zfs set sharenfs="${shareopts[i]}" $TESTPOOL/$TESTFS 75 option=`get_prop sharenfs $TESTPOOL/$TESTFS` 77 log_fail "get sharenfs failed. ($option != ${shareopts[i]})"
|
H A D | zfs_share_008_neg.ksh | 40 # 2. For each dataset in the list, set the sharenfs property. 56 log_mustnot zfs set sharenfs=on ${datasets[i]} 58 option=`get_prop sharenfs ${datasets[i]}` 60 log_fail "set sharenfs failed. ($option == ${datasets[i]})"
|
H A D | zfs_share_003_pos.ksh | 37 # whose sharenfs property is 'off' , will fail with a 43 # - zfs set sharenfs=off <file system> 44 # - zfs set sharenfs=none <file system> 58 log_must zfs inherit -r sharenfs ${fs[((i + 1))]} 82 log_must zfs set sharenfs=off $filesystem 84 log_fail "File system $filesystem is still shared (set sharenfs)." 98 "whose sharenfs property is 'off' " \ 110 "whose sharenfs property is 'off' fails."
|
H A D | zfs_share_004_pos.ksh | 41 # 2. Set the sharenfs property on the file system 54 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 73 log_must zfs set sharenfs=on $filesystem 75 log_fail "File system $filesystem is not shared (set sharenfs)."
|
H A D | zfs_share_006_pos.ksh | 40 # 2. Set the sharenfs property on the dataset 50 log_must zfs set sharenfs=off $TESTPOOL/$TESTCTR 69 # sharenfs property on the dataset and verify that dataset 81 log_must zfs set sharenfs=on $ctr 84 log_fail "File system $mntp is shared (set sharenfs)." 94 log_fail "File system $mntp2 was not shared (set sharenfs)."
|
H A D | zfs_share_011_pos.ksh | 40 # 1. Share the filesystem via 'zfs set sharenfs'. 51 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 70 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS
|
H A D | zfs_share_012_pos.ksh | 52 zfs set sharenfs=off $dataset 70 log_must zfs set sharenfs=on $dataset
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_share/ |
H A D | zfs_share_009_neg.ksh | 64 val=$(get_prop sharenfs $fs) 66 log_must $ZFS set sharenfs=off $fs 74 sharenfs_val=$(get_prop sharenfs $fs) 77 log_must $ZFS set sharenfs=on $fs
|
H A D | zfs_share_005_pos.ksh | 45 # 2. For each option in the list, set the sharenfs property. 62 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 82 log_must $ZFS set sharenfs="${shareopts[i]}" $TESTPOOL/$TESTFS 84 option=`get_prop sharenfs $TESTPOOL/$TESTFS` 86 log_fail "get sharenfs failed. ($option != ${shareopts[i]})"
|
H A D | zfs_share_007_neg.ksh | 45 # 2. For each option in the list, set the sharenfs property. 46 # 3. Verify that the error code and sharenfs property. 62 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 77 log_note "Setting sharenfs=${badopts[i]} $i " 78 log_mustnot $ZFS set sharenfs="${badopts[i]}" $TESTPOOL/$TESTFS 86 # To global zone, sharenfs must be set 'off' before malformed testing. 89 # To non-global zone, sharenfs can be set even 'off' or 'on'. 92 log_note "Resetting sharenfs option" 93 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS
|
H A D | zfs_share_008_neg.ksh | 45 # 2. For each dataset in the list, set the sharenfs property. 70 log_mustnot $ZFS set sharenfs=on ${datasets[i]} 72 option=`get_prop sharenfs ${datasets[i]}` 74 log_fail "set sharenfs failed. ($option == ${datasets[i]})"
|
H A D | zfs_share_003_pos.ksh | 42 # whose sharenfs property is 'off' , will fail with a 48 # - zfs set sharenfs=off <file system> 49 # - zfs set sharenfs=none <file system> 72 log_must $ZFS inherit -r sharenfs ${fs[((i + 1))]} 96 log_must $ZFS set sharenfs=off $filesystem 98 log_fail "File system $filesystem is still shared (set sharenfs)." 112 "whose sharenfs property is 'off' " \ 124 "whose sharenfs property is 'off' fails."
|
H A D | zfs_share_004_pos.ksh | 45 # 2. Set the sharenfs property on the file system 67 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 86 log_must $ZFS set sharenfs=on $filesystem 88 log_fail "File system $filesystem is not shared (set sharenfs)."
|
H A D | zfs_share_006_pos.ksh | 45 # 2. Set the sharenfs property on the dataset 64 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTCTR 83 # sharenfs property on the dataset and verify that dataset 95 log_must $ZFS set sharenfs=on $ctr 98 log_fail "File system $mntp is shared (set sharenfs)." 108 log_fail "File system $mntp2 was not shared (set sharenfs)."
|
H A D | zfs_share_009_pos.ksh | 45 # 1. Share the filesystem via 'zfs set sharenfs'. 66 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 85 log_must $ZFS set sharenfs=on $TESTPOOL/$TESTFS
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 36 # Verify that a file system and its dependent are unshared when turn off sharenfs 41 # 2. Set the sharenfs property on the file system 44 # 5. Turn off the sharenfs property 56 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 72 prop_value=$(get_prop "sharenfs" $filesystem) 76 log_must zfs set sharenfs=on $filesystem 79 log_must zfs set sharenfs=off $filesystem 82 log_fail "File system $filesystem is shared (set sharenfs)." 85 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
H A D | zfs_unshare_004_neg.ksh | 57 shareval=$(get_prop sharenfs $TESTPOOL/$TESTFS) 59 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS 78 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS
|
H A D | zfs_unshare_007_pos.ksh | 35 # 1. Create and share a dataset with sharenfs. 53 # 1. Create and share a dataset with sharenfs. 55 -o sharenfs=on -o mountpoint=$TESTDIR/1 $TESTPOOL/$TESTFS/shared1
|
H A D | zfs_unshare_001_pos.ksh | 53 log_must zfs set sharenfs=off ${mntp_fs[((i+1))]} 91 prop_value=$(get_prop "sharenfs" $filesystem) 96 log_must zfs set sharenfs=on $filesystem 98 log_fail "'zfs set sharenfs=on' fails to make" \ 148 sharenfs_val=$(get_prop "sharenfs" ${mntp_fs[((i+1))]}) 153 log_must zfs set sharenfs=on ${mntp_fs[((i+1))]} 155 log_fail "'zfs set sharenfs=on' fails to share filesystem."
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 41 # Verify that a file system and its dependent are unshared when turn off sharenfs 46 # 2. Set the sharenfs property on the file system 49 # 5. Turn off the sharenfs property 70 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 86 prop_value=$(get_prop "sharenfs" $filesystem) 91 log_must $ZFS set sharenfs=on $filesystem 94 log_must $ZFS set sharenfs=off $filesystem 97 log_fail "File system $filesystem is shared (set sharenfs)." 100 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
H A D | zfs_unshare_004_neg.ksh | 68 shareval=$(get_prop sharenfs $TESTPOOL/$TESTFS) 70 log_must $ZFS set sharenfs=on $TESTPOOL/$TESTFS 89 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_004_pos.ksh | 36 # Verify canmount=noauto work fine when setting sharenfs or sharesmb. 40 # 2. Set sharenfs or sharesmb. 60 shnfs=$(get_prop sharenfs $CS_FS) 64 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 68 log_assert "Verify canmount=noauto work fine when setting sharenfs or sharesmb." 79 log_must zfs set sharenfs="$n" $CS_FS 95 log_pass "Verify canmount=noauto work fine when setting sharenfs or sharesmb."
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | canmount_004_pos.ksh | 41 # Verify canmount=noauto work fine when setting sharenfs or sharesmb. 45 # 2. Set sharenfs or sharesmb. 77 shnfs=$(get_prop sharenfs $CS_FS) 81 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 85 log_assert "Verify canmount=noauto work fine when setting sharenfs or sharesmb." 96 log_must $ZFS set sharenfs="$n" $CS_FS 112 log_pass "Verify canmount=noauto work fine when setting sharenfs or sharesmb."
|
Completed in 181 milliseconds
123