Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 14:57:51 GMT
From:      Oles Hnatkevych <don_oles@able.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/143056: atacontrol can not create raid1 (mirror) from one drive
Message-ID:  <201001211457.o0LEvpjg058586@www.freebsd.org>
Resent-Message-ID: <201001211500.o0LF0ItT093359@freefall.freebsd.org>

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

>Number:         143056
>Category:       kern
>Synopsis:       atacontrol can not create raid1 (mirror) from one drive
>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:   Thu Jan 21 15:00:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Oles Hnatkevych
>Release:        FreeBSD 6.4
>Organization:
>Environment:
>Description:
atacontrol create raid1 ad4
This command fails with the message
atacontrol: At least 2 disks must be specified
This is bizarre since there MUST be a possibility to create 'degraded' mirrors for the purpose of attaching a second drive after the one-drive-mirror is created, as part of provisioning. 
If the check is commented in atacontrol.c then it fails with the ioctl error, so the limitation is in the kernel driver.


>How-To-Repeat:

>Fix:


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



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