On 6/24/06, Alex Franks <[EMAIL PROTECTED]> wrote:
On 6/23/06, Joao Barros <[EMAIL PROTECTED]> wrote:
> On 6/23/06, Alex Franks <[EMAIL PROTECTED]> 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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to