[Linux-HA] resource-agents: exportfs: Unlocking filesystems on stop by default

2014-03-11 Thread Kristoffer Grönlund
Hi, I have created a submit request for the NFS exportfs agent to change the default for the parameter unlock_on_stop from 0 to 1. The resource agent should really release all locks which the NFS server holds when stopping the resource. When this option was introduced, the default was kept as 0

[Linux-HA] Antw: resource-agents: exportfs: Unlocking filesystems on stop by default

2014-03-11 Thread Ulrich Windl
Hi! I'm wondering: Does unlock mean that all file locks are invalidated? If so, I think it's a bad idea, because for a migration of the NFS server the exports will be stopped/started, thus loosing all locks. That's not what a HA NFS-Server should do. HA NFS-Servers try hard to preserve locks.

Re: [Linux-HA] Antw: resource-agents: exportfs: Unlocking filesystems on stop by default

2014-03-11 Thread Lars Marowsky-Bree
On 2014-03-11T12:37:39, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: I'm wondering: Does unlock mean that all file locks are invalidated? If so, I think it's a bad idea, because for a migration of the NFS server the exports will be stopped/started, thus loosing all locks. That's not

Re: [Linux-HA] Antw: resource-agents: exportfs: Unlocking filesystems on stop by default

2014-03-11 Thread Ulrich Windl
Lars Marowsky-Bree l...@suse.com schrieb am 11.03.2014 um 12:45 in Nachricht 2014034553.gk13...@suse.de: On 2014-03-11T12:37:39, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: I'm wondering: Does unlock mean that all file locks are invalidated? If so, I think it's a bad idea,