Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2006 12:06:32 +0200
From:      Philippe Pegon <Philippe.Pegon@crc.u-strasbg.fr>
To:        Thierry Lacoste <th.lacoste@wanadoo.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: monitoring raid arrays
Message-ID:  <449525A8.2060403@crc.u-strasbg.fr>
In-Reply-To: <004b01c691eb$b3bf0420$0201a8c0@aldebaran>
References:  <004b01c691eb$b3bf0420$0201a8c0@aldebaran>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thierry Lacoste wrote:
> I'm running FreeBSD 6.1 on a Compaq Proliant and a Dell PowerEdge 1800.
> They have hardware raid 1 arrays controlled respectively by a Compaq 
> Smart Array 532
> controller and PERC 4/SC.
> 
> Here is the relevant dmesg output on the Proliant:
> ciss0: <Compaq Smart Array 532> port 0x4000-0x40ff mem 
> 0xf7fc0000-0xf7ffffff,0xf7ef0000-0xf7ef3fff irq 24 at device 3.0 on pci7
> [snip]
> da0 at ciss0 bus 0 target 0 lun 0
> da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
> da0: 135.168MB/s transfers
> da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C)
> 
> Here is the relevant dmesg output on the PowerEdge:
> amr0: <LSILogic MegaRAID 1.53> mem 0xf80f0000-0xf80fffff irq 37 at 
> device 5.0 on pci2
> amr0: delete logical drives supported by controller
> amr0: <LSILogic PERC 4/SC> Firmware 351S, BIOS 1.10, 64MB RAM
> [snip]
> amr0: delete logical drives supported by controller
> amrd0: <LSILogic MegaRAID logical drive> on amr0
> amrd0: 139900MB (286515200 sectors) RAID 1 (optimal)
> 
> What are my options to monitor the status of these arrays?

for ciss, you can use camcontrol (in the base system) like that:

# camcontrol inquiry da0
pass0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
pass0: 135.168MB/s transfers

for amr, you can use the new port /usr/ports/sysutils/amrstat like that:

# amrstat
Logical volume 0        optimal (16.96 GB, RAID1)
Physical drive 0:0      online
Physical drive 0:1      online

> 
> Best regards,
> Thierry.

--
Philippe Pegon



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?449525A8.2060403>