Date: Sat, 24 Jun 2006 17:17:43 +0100 From: "Joao Barros" <joao.barros@gmail.com> To: "Alex Franks" <arfranks@gmail.com> Cc: freebsd-questions@freebsd.org, Alex Zbyslaw <xfb52@dial.pipex.com> Subject: Re: Hot-Swapping hard drives on Dell PowerEdge 2850 running FBSD 5.5-PRE Message-ID: <70e8236f0606240917m2d872902sce15c7cbacbdbc36@mail.gmail.com> In-Reply-To: <2f488c030606231623x662d93afl8ff4875989d143c8@mail.gmail.com> References: <2f488c030606221106q4183de17gbff80d696f704505@mail.gmail.com> <449BAE45.7030705@dial.pipex.com> <2f488c030606231113i2b9b4bdcsa1b4192be54b9011@mail.gmail.com> <70e8236f0606231240t77e1b510xd5ecd98c093af559@mail.gmail.com> <2f488c030606231623x662d93afl8ff4875989d143c8@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/24/06, Alex Franks <arfranks@gmail.com> wrote:
> On 6/23/06, Joao Barros <joao.barros@gmail.com> wrote:
> > On 6/23/06, Alex Franks <arfranks@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70e8236f0606240917m2d872902sce15c7cbacbdbc36>
