zfs/tests/zfs-tests/tests/functional/cli_root
Stefan Lendl 66670ba9f0
fix(mount): do not truncate shares not zfs mount
When running zfs share -a resetting the exports.d/zfs.exports makes
sense the get a clean state.
Truncating was also called with zfs mount which would not populate the
file again.
Add test to verify shares persist after mount -a.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Closes #15607 
Closes #15660
2024-01-12 12:05:11 -08:00
..
zdb zdb: show BRT statistics and dump its contents 2023-11-27 13:35:07 -08:00
zfs Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_bookmark Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_change-key Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_clone Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_copies Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_create Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_destroy Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_diff autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
zfs_get Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_ids_to_path Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_inherit Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_jail Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_load-key ZTS: Fix zfs_load-key failures on F39 2023-11-27 13:24:37 -08:00
zfs_mount Update the behavior of mountpoint property 2023-09-19 17:15:24 -07:00
zfs_program cmd: add 'help' subcommand to zpool and zfs 2023-09-19 09:06:47 -07:00
zfs_promote Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_property arc_read()/arc_access() refactoring and cleanup 2022-12-22 12:10:24 -08:00
zfs_receive Fixes in head_errlog feature with encryption 2023-05-08 13:35:03 -07:00
zfs_rename Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_reservation Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_rollback Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_send Use setproctitle to report progress of zfs send 2023-01-17 10:17:35 -08:00
zfs_set Add '-u' - nomount flag for zfs set 2023-10-02 16:58:54 -07:00
zfs_share fix(mount): do not truncate shares not zfs mount 2024-01-12 12:05:11 -08:00
zfs_snapshot Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_sysfs Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_unload-key Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_unmount Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_unshare Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_upgrade Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_wait autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
zhack Allow zhack label repair to restore detached devices. 2023-05-03 09:03:57 -07:00
zpool Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add Add delay between zpool add zvol and zpool destroy 2022-10-21 10:05:13 -07:00
zpool_attach Ignore pool ashift property during vdev attachment 2023-07-20 09:57:16 -07:00
zpool_clear Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_create ZTS: Test for all known zpool feature sets 2023-11-09 10:58:23 -08:00
zpool_destroy Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_detach Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_events Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_expand ZTS: Fix zpool_expand_001_pos 2022-08-09 13:26:46 -07:00
zpool_export Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_get RAID-Z expansion feature 2023-11-08 10:19:41 -08:00
zpool_history Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_import Extend import_progress kstat with a notes field 2023-12-05 14:27:56 -08:00
zpool_initialize Add the ability to uninitialize 2023-05-18 10:02:20 -07:00
zpool_labelclear autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
zpool_offline Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_online Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_remove Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_reopen autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
zpool_replace Ignore pool ashift property during vdev attachment 2023-07-20 09:57:16 -07:00
zpool_resilver Fix concurrent resilvers initiated at same time 2023-05-24 12:28:09 -07:00
zpool_scrub Teach zpool scrub to scrub only blocks in error log 2023-05-18 11:59:42 -07:00
zpool_set Add support for zpool user properties 2023-04-21 10:20:36 -07:00
zpool_split Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_status Enable the head_errlog feature to remove errors 2023-05-09 08:53:27 -07:00
zpool_sync Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_trim Reduce trim min size even lower for tests to reduce flakiness 2023-09-27 12:06:24 -07:00
zpool_upgrade Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_wait autoconf: use include directives instead of recursing down test data 2022-05-10 10:20:19 -07:00
cli_common.kshlib Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00