Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 00:29:12 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Fanying Jen <fanying@fynet.com>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Need Help with Dual Machines with One Shared SCSI RAID
Message-ID:  <20000612002912.A10824@panzer.kdm.org>
In-Reply-To: <Pine.LNX.4.21.0006091330330.32341-100000@Fanying.fynet.com>; from fanying@fynet.com on Fri, Jun 09, 2000 at 01:32:06PM -0400
References:  <Pine.LNX.4.21.0006091330330.32341-100000@Fanying.fynet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, Jun 09, 2000 at 13:32:06 -0400, Fanying Jen wrote:
> I am trying to break from Linux for the first time and in a big way. I
> have two 486s
> 
> fanying.fynet.com
> cindy.fynet.com
> 
> which have identical processors, motherboards, memory, controllers,
> video, and even cases. The two machines shared via scsi a single
> external box with a disk array. The disk array is 4 disk in quantity and
> of the type UW SCSI, not U2W SCSI, and of the SE type. The drives are of
> identical make and model, Western Digital 9100-0007. The diagram shows
> the setup below:

[ two machines connected to one RAID array ]

> Machine specs:
> 
> fanying.fynet.com & cindy.fynet.com
> 
> 486DX-33
> 128MB ea
> Amptron DX-9700
> Adaptec 2940UW
> SCSI CDROM
> Intel Intelligence Server Ethernet (i960) -> nice

Have you checked to see whether that adapter is supported?  The generic
8255[7-9] Intel chips are supported, but I dunno about their adapters with
onboard i960's.

> 3Com 3c509B
> No internal hard disks, all of them are in the scsi box.
> 
> What I am trying to do with FreeBSD is to set up a cluster with RAID-1
> and RAID-5. Both machines will boot up from the external disk drives. My
> questions is how I set up the partitions to allow the disk to appear the
> same to both machines and does FreeBSD support mandatory file locking
> which means that any and all files that are being written to are lock
> for the other machines? I need help with this. I see plenty of
> documentation for Linux but my friend at www.saturated.net (FreeBSD Fan)
> says that FreeBSD is more efficient especially for a machine like mine
> and I want to be able to use FreeBSD for a Cluster with a Shared RAID
> SCSI storage.

At the moment FreeBSD doesn't support read/write mounting of
non-network-attached (i.e. filesystems mounted via SCSI, FC, IDE, etc.)
filesystems by multiple machines.

Well, you can do it, but you'll most likely end up with the contents of the
filesystem scrambled, since you'll have two machines writing to it at the
same time.

If you want a setup like that, the only safe way to do it would be if both
machines mounted the RAID array read-only.

You might want to search the freebsd-scsi list archives for a thread that
took place in late April, the subject line was:

"Safe mounting of one file system on multiple hosts?"

There was a little bit of discussion about mounting a disk array on
multiple machines.

Ken
-- 
Kenneth Merry
ken@kdm.org


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




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