On Wednesday 07 May 2008, Mykel Alvis spake thus:
> It SEEMS (but I'm not sure) of the following
> A) When my dirvish server connects to the client, it attempts to cd to the
> target tree prior to running the pre-client.  I have no idea why that would
> be, but it doesn't cause the rest of it to fail.
> B) When my dirvish server is finished, the process remains cd'd in the tree
> filesystem.  This causes the umount of post-client script to fail, causing
> the lvremove to fail, leaving my client with a potentially ugly situation
> involving a residual LVM snapshot.

I believe the answer is in the dirvish.conf man page.  Here's an extract from 
the pre-server, pre-client, etc. section:

  Each pre or post shell_commands will be run with these environment
  variables DIRVISH_SERVER, DIRVISH_CLIENT, DIRVISH_SRC, DIRVISH_DEST
  and DIRVISH_IMAGE set.  The current directory will be DIRVISH_SRC on
  the client and DIRVISH_DEST on the server.

That last sentence looks to me like it fits your symptoms...

Cheers
-- 
Eric Mountain
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to