From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 09:59:10 2004 Return-Path: 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 29C6716A4CE for ; Wed, 28 Apr 2004 09:59:10 -0700 (PDT) Received: from wolfgang.bsduser.ca (ip208-168.ott.istop.com [66.11.168.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0B043D2F for ; Wed, 28 Apr 2004 09:59:09 -0700 (PDT) (envelope-from collins@collins-ca.com) Received: from myonlinemail.ca (localhost.bsduser.ca [127.0.0.1]) by wolfgang.bsduser.ca (8.12.9/8.12.9) with ESMTP id i3SH7Yk7088871; Wed, 28 Apr 2004 13:07:35 -0400 (EDT) (envelope-from collins@collins-ca.com) From: "Chris Collins" To: "Matthew Seaman" Date: Wed, 28 Apr 2004 12:07:34 -0500 Message-Id: <20040428164503.M79217@collins-ca.com> In-Reply-To: <01a301c42d34$3efbdfa0$12c79384@enfield.ac.uk> References: <20040428125933.M1798@collins-ca.com> <01a301c42d34$3efbdfa0$12c79384@enfield.ac.uk> X-Mailer: Open WebMail 2.20 20031014 X-OriginatingIP: 199.43.181.38 (collins) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: freebsd-questions@freebsd.org Subject: Re: Installing RAID question.[Scanned] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 16:59:10 -0000 That is a good tip... I will be sure to "wire down" the new Raid config. Just one more question... my current setup has ad0s1a for / So ad0 is the physical drive definition(controller) and s1a is the logical partition??? and if I was to add the raid card it might chage to something like this sc0s1a ??? Is this safe to assume? Sorry just trying to understand how this all functions... This is my current fstab /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /tmp ufs rw 2 2 /dev/ad0s1g /usr ufs rw,userquota,groupquota 2 2 /dev/ad0s1e /var ufs rw,userquota 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 So my new one would look like this??? if sc0 was the new controller id. /dev/sc0s1b none swap sw 0 0 /dev/sc0s1a / ufs rw 1 1 /dev/sc0s1f /tmp ufs rw 2 2 /dev/sc0s1g /usr ufs rw,userquota,groupquota 2 2 /dev/sc0s1e /var ufs rw,userquota 2 2 /dev/scd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 ---------- Original Message ----------- From: "Matthew Seaman" To: "Chris Collins" Cc: Sent: Wed, 28 Apr 2004 16:19:48 +0100 Subject: Re: Installing RAID question.[Scanned] > On Wed, Apr 28, 2004 at 08:29:39AM -0500, Chris Collins wrote: > > > Has anybody installed a RAID card into a running/production FBSD 4.8 machine? > > I am just wondering if the drive name will change? and if updating the fstab > > file is all that is needed aside from the kernel configuration. My raid card > > does not require the drive to be init to enable mirroring. > > Yes, this is a well known problem -- it's not just adding new RAID > controllers that can cause it. Even something as simple as plugging > in a USB disk before booting can cause the 'da0' device to be > usurped. In order to prevent it, you can "wire down" your current > root drive to be da0 in your kernel configuration -- see the section > "SCSI DEVICE CONFIGURATION" in LINT for details. Something like > this should do the trick: > > device scbus0 at ahc0 > device da0 at scbus0 target 0 unit 0 > > Which says that your first ahc(4) SCSI controller has the first SCSI > bus on the machine, and that da0 lives on that bus at the given > target and unit numbers. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 > 1TH UK ------- End of Original Message -------