From owner-freebsd-scsi Wed Apr 10 08:16:34 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA13902 for freebsd-scsi-outgoing; Wed, 10 Apr 1996 08:16:34 -0700 (PDT) Received: from novell.com (prv-ums.Provo.Novell.COM [137.65.40.4]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA13889 Wed, 10 Apr 1996 08:16:01 -0700 (PDT) Received: from INET-PRV-Message_Server by fromGW with Novell_GroupWise; Wed, 10 Apr 1996 09:15:26 -0600 Content-Type: text/plain Message-ID: X-Mailer: Novell GroupWise 4.1 Date: Wed, 10 Apr 1996 09:21:20 -0600 From: DARREND@novell.com (Darren Davis) To: stable@freebsd.org Cc: SCSI@freebsd.org Subject: Disk Mirroring Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Is there a way to mirror two disks in FreeBSD? The two different possibilities are at the driver layer or at the filesystem layer. I imagine the driver layer would be the easiest. Just take the block to be written and write it out to both disks. The reason I suggest the filesystem layer is to avoid duplicating the swap space on both disks. It would be cool if the boot code could automatically deal with either disk failing and still having the system boot. Naturally, the driver should be able to deal with either disk failing. Has anyone given this some thought? With disks getting real cheap, it is a good way to have some fault tolerance with out the cost or performance hit of RAID. (Actually, I think mirroring is one form of RAID.) Darren R. Davis Senior Software Engineer Novell, Inc.