kern/143056: atacontrol can not create raid1 (mirror) from one drive

Oles Hnatkevych don_oles at able.com.ua
Thu Jan 21 15:00:19 UTC 2010


>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:


More information about the freebsd-bugs mailing list