Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2011 14:39:49 GMT
From:      Jonathan <jonathan@kc8onw.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/157293: mfiutil/mfi does not allow adding a previously configured drive to be added to a new array
Message-ID:  <201105241439.p4OEdnq9095126@red.freebsd.org>
Resent-Message-ID: <201105241440.p4OEeBSf003999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157293
>Category:       bin
>Synopsis:       mfiutil/mfi does not allow adding a previously configured drive to be added to a new array
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 24 14:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD SERENITY.kc8onw.net 8.2-STABLE FreeBSD 8.2-STABLE #2 r219138: Tue Mar  1 13:42:29 EST 2011     root@SERENITY.kc8onw.net:/usr/obj/usr/src/sys/SERENITY  amd64
>Description:
My server lost power and the RAID controller did not see the 2TB drive when the system came back up.  The tech at the datacenter told the controller to continue booting despite the drive being "missing" and then removed and re-inserted the drive at my request.  Now that the system has booted the RAID controller sees the drives as shown below.

SERENITY# mfiutil show drives
mfi0 Physical Drives:
(  419G) ONLINE            <SEAGATE ST3450802SS 0002 serial=3SR00N6E> SAS enclosure 1, slot 0
(  419G) ONLINE            <SEAGATE ST3450802SS 0002 serial=3SR00JN1> SAS enclosure 1, slot 1
(  419G) ONLINE            <SEAGATE ST3450802SS 0002 serial=3SR00DCQ> SAS enclosure 1, slot 2
( 1863G) UNCONFIGURED GOOD <WDC WD2002FYPS-0 1G01 serial=WD-WCAVY5131503> SATA enclosure 1, slot 3

If I try to reconfigure the drive as a JBOD or RAID0 I get the error
SERENITY# mfiutil create jbod E01:S03
mfiutil: Command failed: Wrong firmware or drive state
mfiutil: Failed to add volume: Input/output error
SERENITY# mfiutil create raid0 E01:S03
mfiutil: Command failed: Wrong firmware or drive state
mfiutil: Failed to add volume: Input/output error

Is there anyway to do this with mfiutil or will I have to go onsite (a 3 hour drive one way) and try to reconfigure the drive via the controller BIOS?

I also found this report from 9 months ago that had the same problem but I did not see a resolution http://lists.freebsd.org/pipermail/freebsd-scsi/2010-September/004526.html
>How-To-Repeat:
Temporarily lose a drive on a controller that uses the mfi driver and after telling the RAID control to continue booting anyway try to re-create the array/jbod device with mfiutil.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105241439.p4OEdnq9095126>