From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 03:58:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D27116A41F; Sat, 10 Sep 2005 03:58:13 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C358543D45; Sat, 10 Sep 2005 03:58:12 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j8A3w61t010761; Fri, 9 Sep 2005 22:58:06 -0500 (CDT) (envelope-from dan) Date: Fri, 9 Sep 2005 22:58:06 -0500 From: Dan Nelson To: Danny Howard Message-ID: <20050910035805.GH84582@dan.emsphone.com> References: <20050909185935.GI31865@ratchet.nebcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050909185935.GI31865@ratchet.nebcorp.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.10i Cc: freebsd-scsi@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Fibre Channel disks to two Systems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 03:58:13 -0000 In the last episode (Sep 09), Danny Howard said: > As I understand it, I can have an FC loop with one or more drives, > connected to two servers, and either server can talk to one or the > other drives exclusively. My QUESTION is: how is the arbitration > done in FreeBSD? You run camcontrol on either server and activate / > deactivate drives in the loop? Easiest way is with something like ports/sysutils/heartbeat. No device locking is needed. Have the start script do a quick fsck, mount the device, and start your server processes (or if pgsql can use raw disk devices like Oracle, skip the fsck and mount steps). -- Dan Nelson dnelson@allantgroup.com