[Dirvish] dirvish and an lv snapshot
dhoworth at mrc-lmb.cam.ac.uk
Thu Aug 12 08:44:48 UTC 2010
Przemek Klosowski wrote:
> On Wed, Aug 11, 2010 at 7:03 PM, Eric Searcy <emsearcy at gmail.com> wrote:
>> Similarly, a "post-client"-ran lvsnapshot.sh script could be modified to change its cwd outside the mountpoint before it tries to umount.
> Even that might not work, because 'cd' in the script will change the
> current directory of the shell running the script, and not the parent
> dirvish process which might be parked in the same directory.
> I didn't check that it is the case--please do the test and report the results.
That would be my suspicion too. Surely the answer then is just to do a
lazy unmount? umount -l ...
More information about the Dirvish