NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39514: ataraid(4): basic bio(4) support
>Number: 39514
>Category: kern
>Synopsis: ataraid(4): basic bio(4) support
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Sep 10 20:05:00 +0000 2008
>Originator: Juan RP
>Release: Latest
>Organization:
>Environment:
NetBSD sasha 4.99.72 NetBSD 4.99.72 (MASTER.DEBUG) #15: Wed Sep 10 21:47:55
CEST 2008
juan@sasha:/home/juan/build/amd64/obj/sys/arch/amd64/compile/MASTER.DEBUG amd64
>Description:
The ataraid(4) driver doesn't have support to query the status of
the logical disks. There are some printfs if something bad happens,
but that's not enough.
I've added basic support for ataraid(4) to show status about its
logical disk and physical disks associated. Here's an example
of the output with a RAID 1 volume on an Intel MatrixRAID
controller.
$ sudo bioctl ld0 show
Volume Status Size Device/Label Level Stripe
=============================================================
0 Online 234G ld0 Volume0 RAID 1 N/A
0:0 Online 234G 0:3.0 wd3 <WDC WD2500YS-01SHB1 20.06C06>
0:1 Online 234G 0:4.0 wd4 <WDC WD2500YS-01SHB1 20.06C06>
$
Will send a patch once PR kern/39511 is applied (I think tron@ will
handle it).
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index