From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 23:04:37 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A43106566B for ; Wed, 9 Feb 2011 23:04:37 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 0456D8FC13 for ; Wed, 9 Feb 2011 23:04:36 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p19Man0a003776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Feb 2011 16:36:50 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p19ManME066514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Feb 2011 16:36:49 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p19Mamfl066513; Wed, 9 Feb 2011 16:36:48 -0600 (CST) (envelope-from dan) Date: Wed, 9 Feb 2011 16:36:48 -0600 From: Dan Nelson To: Toomas Aas Message-ID: <20110209223648.GE66849@dan.emsphone.com> References: <20110210000810.13805wi52we1h5wk@webmail.raad.tartu.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110210000810.13805wi52we1h5wk@webmail.raad.tartu.ee> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Wed, 09 Feb 2011 16:36:50 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: questions@freebsd.org Subject: Re: Can RAID driver be loaded from loader.conf? 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: Wed, 09 Feb 2011 23:04:37 -0000 In the last episode (Feb 10), Toomas Aas said: > I'm preparing for a migration from single SATA disk attached to onboard > SATA controller to 3ware 9750-4i RAID system. In preparation, while the > system is still running on single disk, I downloaded the latest tws.ko > driver from LSI website and added it to loader.conf: tws_load="YES" > > Further plan is to install the controller and new disks into the system > alongside with the existing disk, create partitions on new disk and copy > over all the contents using dump and tar. After that remove the existing > single disk. > > Is it safe to assume that the system will boot from RAID if RAID > controller driver is loaded from loader.conf, or is it absolutely required > to have the RAID driver statically built into the kernel? You should be able to load raid drivers as modules just fine. /boot/loader uses BIOS calls to read both the kernel and any modules listed in loader.conf, so if it can load the kernel, it should be able to load the modules too. -- Dan Nelson dnelson@allantgroup.com