From owner-freebsd-cluster Tue Dec 10 0:48:58 2002 Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 049C937B401 for ; Tue, 10 Dec 2002 00:48:57 -0800 (PST) Received: from grant.org (grant.org [206.190.164.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 700EE43EB2 for ; Tue, 10 Dec 2002 00:48:56 -0800 (PST) (envelope-from mgrant@splat.grant.org) Received: from splat.grant.org (mgrant@splat.grant.org [213.39.2.177]) by grant.org (8.12.6/8.12.6) with ESMTP id gBA8mhVM076119; Tue, 10 Dec 2002 03:48:44 -0500 (EST) (envelope-from mgrant@splat.grant.org) Received: (from mgrant@localhost) by splat.grant.org (8.11.6+Sun/8.11.6) id gBA8kBO08833; Tue, 10 Dec 2002 09:46:11 +0100 (MET) Date: Tue, 10 Dec 2002 09:46:11 +0100 (MET) Message-Id: <200212100846.gBA8kBO08833@splat.grant.org> From: Michael Grant To: joshua@roughtrade.net Subject: Re: sharing files within a cluster Cc: freebsd-cluster@freebsd.org Sender: owner-freebsd-cluster@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joshua Goodall wrote: > Conceptually, if you have two machines, they could act as servers > for each other. ... > NFS cross-mounts again will do I've never heard of this, could you please explain perhaps by example what you're talking about? To my knowledge, one cannot cross-mount with nfs. > With shared NFS mounts, the obvious answer is: use Maildirs. They > are multiple-writer-safe and NFS-safe. I suggest experimenting with > Coda in this scenario; particularly try an "unplug" test during > delivery. I think that with proper locking or rather I should say *consistent* locking, a single mbox file should work with both servers writing to the same file. Just need to use a type of locking that's going to work across coda or whatever, for example the type of locking that creates a .lock file or uses a lock manager. Creating a .lock file can be dangerous since it can get stuck and have to be deleted manually if the box which is locking that mail file goes down. Anyone know if when a machine goes down in coda if the it's style of locks are automatically released? Michael Grant To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cluster" in the body of the message