monitoring raid arrays
Philippe Pegon
Philippe.Pegon at crc.u-strasbg.fr
Sun Jun 18 10:09:03 UTC 2006
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
More information about the freebsd-questions
mailing list