Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 09:54:06 +0100 (MET)
From:      Michael Grant <mg-fbsd3@grant.org>
To:        car@vitalit.com
Cc:        freebsd-cluster@FreeBSD.ORG
Subject:   Re: sharing fules within a cluster
Message-ID:  <200212100854.gBA8s6508847@splat.grant.org>

next in thread | raw e-mail | index | archive | help
Rouzer, Charles A (Chuck) wrote:
>     Shared SCSI would probably be the way to go in this situation.  iSCSI
> (not sure of driver status) and vinum should enable software RAID mirroring
> of file systems over a network providing you fail-over capabilities without
> shared SCSI.

I emailed the author of vinum, Greg Lehey, a few weeks about about
this.  He says that there are problems with this due to caching:

----Forwarded message----
Date: Wed, 13 Nov 2002 11:44:39 +1030
From: "Greg 'groggy' Lehey"
Subject: Re: multi master vinum over a lan?

On Tuesday, 12 November 2002 at 13:54:03 +0100, Michael Grant wrote:
> I'm trying to add some redundency to my box by adding a second box
> creating a sort of cluster.
>
> I would like /home to be available on both boxes and be in sync, i.e.
> mirrored over a lan or via double-ended scsi.  Is it possible to use
> vinum to do this?
>
> +---------+                +---------+
>>| box 1   |                | box 2   |
>>|  disk1a |---scsi-cable---|  disk1b |
>>|  disk2a |                |  disk2b |
> +---------+                +---------+
>
> run vinum on box 1 to create a mirror using disk1a and disk2a.  on box
> 2, same thing, have a mirror between disk1a and disk2a.  Then mount r/w
> the vinum partition on box1 and box2 simultaneously.
>
> It seems dangerous to have 2 machines mount the same disk(s) read-write.
> But maybe this is a solved problem.

Not really.  The problem is that each system caches disk data locally,
and they don't know about each other.  There are solutions, but not in
the space we're talking about here.

> If vinum can't cope with this, do you have any suggestions?

That's what NFS is for.

Greg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-cluster" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212100854.gBA8s6508847>