mirror of
https://github.com/ewwhite/zfs-ha.git
synced 2026-05-15 22:05:04 -06:00
[GH-ISSUE #36] How best to handle locking over NFS #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/zfs-ha#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tullis on GitHub (Dec 1, 2020).
Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/36
Thanks @ewwhite for your hard work on this.
The system that I am building based upon this guide is in testing now, but I have an issue regarding locks over NFS.
I have an NFS export defined for virtual machines, using the
sharenfsparameter.The options are:
sync,no_subtree_check,no_wdelay.I have mounted this NFS share on a Linux client and I am using it to host a VM for test purposes.
When I try a managed failover, the ZFS resource in pacemaker attempts to export the pool, but it gets an error that the pool is in use. For example.
There are no other local processes on the machine, so I think that it is only the only NFS kernel server that is holding the locks open. The protocol in use is NFS version 4.2.
Do you tend to use NFS version 3 for this kind of requirement, where
nolockcan be specified on the client?@ewwhite commented on GitHub (Dec 1, 2020):
Hello. This works best with NFS3.
@tullis commented on GitHub (Dec 1, 2020):
Thanks very much.