mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
a28c1a58fe
ZFS NFS shares mounted on a client with NFSv3 and with open locks will fail to reclaim those locks after a server reboot. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Wilson <george.wilson@delphix.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Don Brady <don.brady@delphix.com> Closes #8398
19 lines
414 B
SYSTEMD
19 lines
414 B
SYSTEMD
[Unit]
|
|
Description=ZFS file system shares
|
|
Documentation=man:zfs(8)
|
|
After=nfs-server.service nfs-kernel-server.service
|
|
After=smb.service
|
|
Before=rpc-statd-notify.service
|
|
Wants=zfs-mount.service
|
|
PartOf=nfs-server.service nfs-kernel-server.service
|
|
PartOf=smb.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
|
|
ExecStart=@sbindir@/zfs share -a
|
|
|
|
[Install]
|
|
WantedBy=zfs.target
|