From owner-freebsd-current Sat Dec 4 15:11:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from flamingo.McKusick.COM (flamingo.mckusick.com [209.31.233.178]) by hub.freebsd.org (Postfix) with ESMTP id C163815363; Sat, 4 Dec 1999 15:11:45 -0800 (PST) (envelope-from mckusick@flamingo.McKusick.COM) Received: from flamingo.McKusick.COM (mckusick@localhost [127.0.0.1]) by flamingo.McKusick.COM (8.9.3/8.9.0) with ESMTP id MAA05073; Sat, 4 Dec 1999 12:44:43 -0800 (PST) Message-Id: <199912042044.MAA05073@flamingo.McKusick.COM> To: Mike Smith Subject: Re: Mounting one FS on more than one system Cc: match@elen.utah.edu, current@freebsd.org In-reply-to: Your message of "Sat, 04 Dec 1999 13:53:26 PST." <199912042153.NAA04820@mass.cdrom.com> Date: Sat, 04 Dec 1999 12:44:43 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To: match@elen.utah.edu cc: current@freebsd.org, mckusick@mckusick.com Subject: Mounting one FS on more than one system In-reply-to: Your message of "Sat, 04 Dec 1999 10:10:20 MST." <19991204170659.B8DEE5420@ee.elen.utah.edu> Date: Sat, 04 Dec 1999 13:53:26 -0800 From: Mike Smith (moved to -current where there are more eyes that are interested) > P.S. Mike, at comdex I spoke to you some about clustering two > computers and one RAID array, remember? You mentioned that > someone had pursued that avenue some, perhaps not to a working > solution, but I don't remember who. Can you (or anyone else) point > me to the guilty parties? We would like to pick up the work and run > with it for a while. Yup, I remember. I also remember going through my stack of business cards wondering whether I remembered to get one from you; obviously not. 8) The sticking issue that we discussed was allowing more than one system to mount a given filesystem; I seemed to recall that Kirk has spoken about this before, and there may be some folks here (or Kirk himself, also copiedd) who may have some more input on the topic. Once this is resolved, everything else is (relatively!) straightforward... -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com Mounting on more than one system is generally problematical unless you are willing to have all systems read-only. The problem is cache coherence between the machines. If one changes a block, the other machines will not see it. Basically, this is why we have the NFS filesystem. That lets a disk be mounted on one machine, but shared out to others. If you wanted to write a protocol that would allow for multiple machines, then you would need to have some central coordinator running some sort of coherency protocol with a complexity akin to that of NFS. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message