Is there any method of forcibly umounting an NFS mounted directory?
We have a test environment managed under puppet that is also our DR environment. In a DR scenario we'll be umounting all NFS shares from out test array and remounting to our DR array.
However, as this is a test environment we have users logged on, so when Puppet attempts to unmount the test directories, it fails with "umount: /test/dir: device is busy" if I fuser against the /test/dir directory and kill the PID all is OK.
I need a method of either forcibly umounting the array, or killing all PID's using the mounted directores so Puppet can unmount them. I'd like all this done from Puppet.