From owner-freebsd-questions@FreeBSD.ORG Sat Jun 24 16:17:56 2006 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 61F7216A49E for ; Sat, 24 Jun 2006 16:17:56 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42F0B43D5F for ; Sat, 24 Jun 2006 16:17:53 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by py-out-1112.google.com with SMTP id 39so986514pyu for ; Sat, 24 Jun 2006 09:17:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YgIdjJNTptmv3mqaE6ZYBPwjRqg9BtYm8s8gSf7Xjs//bUT1BzoxY6QK+OEzb5DS5/dF/zK1n5KKEuh48xrwxmmTaNT7G8/vM8mmBxYk+nGMwJnUGng0uP26tabNFCKDQwW+Pf2TeejbZvkSrcTBmc3TxLN9nhuV8cjPCUBOh0s= Received: by 10.35.20.14 with SMTP id x14mr3673731pyi; Sat, 24 Jun 2006 09:17:43 -0700 (PDT) Received: by 10.35.117.14 with HTTP; Sat, 24 Jun 2006 09:17:43 -0700 (PDT) Message-ID: <70e8236f0606240917m2d872902sce15c7cbacbdbc36@mail.gmail.com> Date: Sat, 24 Jun 2006 17:17:43 +0100 From: "Joao Barros" To: "Alex Franks" In-Reply-To: <2f488c030606231623x662d93afl8ff4875989d143c8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2f488c030606221106q4183de17gbff80d696f704505@mail.gmail.com> <449BAE45.7030705@dial.pipex.com> <2f488c030606231113i2b9b4bdcsa1b4192be54b9011@mail.gmail.com> <70e8236f0606231240t77e1b510xd5ecd98c093af559@mail.gmail.com> <2f488c030606231623x662d93afl8ff4875989d143c8@mail.gmail.com> Cc: freebsd-questions@freebsd.org, Alex Zbyslaw Subject: Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE 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, 24 Jun 2006 16:17:56 -0000 On 6/24/06, Alex Franks wrote: > On 6/23/06, Joao Barros wrote: > > On 6/23/06, Alex Franks wrote: > > > The controller is a Perc 4e/Di as assumed, and I'm still a little > > > unsure as to whether the 2 drives that shipped with the machine are > > > currently set up in a RAID array. The current filesystem is mounted on > > > /dev/amrd0s1[a-f] and I would expect to find the new drives named > > > similarly after using some useful utility that I'm unaware of. Any > > > thoughts? > > > > > > Thanks again. > > > Alex > > > > Try amrstat from ports which will show you something like this: > > > > Logical volume 0 optimal (101.60 GB, RAID5) > > Physical drive 0:0 online > > Physical drive 0:1 online > > Physical drive 1:0 online > > Physical drive 1:2 online > > Physical drive 1:4 hotspare > > > > > > -- > > Joao Barros > > > > Sadly, amrstat-20060414 doesn't build on FBSD 6.0 or earlier (or so > says the error msg I get when trying to build it). I've got megarc > installed but have no idea how to use it and no man page was included > with the port. > > Anyone more familiar with this utility? > > Alex > For what you need to know this should be enough: #megarc -dispCfg -a0 ********************************************************************** MEGARC MegaRAID Configuration Utility(FreeBSD)-1.04(03-02-2005) By LSI Logic Corp.,USA ********************************************************************** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Type ? as command line arg for help Finding Devices On Each MegaRAID Adapter... Scanning Ha 0, Chnl 1 Target 15 ********************************************************************** Existing Logical Drive Information By LSI Logic Corp.,USA ********************************************************************** [Note: For SATA-2, 4 and 6 channel controllers, please specify Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)] Logical Drive : 0( Adapter: 0 ): Status: OPTIMAL --------------------------------------------------- SpanDepth :01 RaidLevel: 5 RdAhead : Adaptive Cache: DirectIo StripSz :064KB Stripes : 4 WrPolicy: WriteThru Logical Drive 0 : SpanLevel_0 Disks Chnl Target StartBlock Blocks Physical Target Status ---- ------ ---------- ------ ---------------------- 0 01 0x00000000 0x043bc000 ONLINE 0 00 0x00000000 0x043bc000 ONLINE 1 00 0x00000000 0x043bc000 ONLINE 1 02 0x00000000 0x043bc000 ONLINE HotSpare Disk at Channel No. 1 and ID No. 4 Contrary to what megarc says, it's -h not -? for help. Hope this helps. -- Joao Barros