From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 21 15:00:19 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BD0C1065670 for ; Thu, 21 Jan 2010 15:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EAF018FC15 for ; Thu, 21 Jan 2010 15:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0LF0IRR093360 for ; Thu, 21 Jan 2010 15:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0LF0ItT093359; Thu, 21 Jan 2010 15:00:18 GMT (envelope-from gnats) Resent-Date: Thu, 21 Jan 2010 15:00:18 GMT Resent-Message-Id: <201001211500.o0LF0ItT093359@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oles Hnatkevych Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DB3C1065670 for ; Thu, 21 Jan 2010 14:57:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1F18FC08 for ; Thu, 21 Jan 2010 14:57:52 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0LEvpk8058587 for ; Thu, 21 Jan 2010 14:57:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0LEvpjg058586; Thu, 21 Jan 2010 14:57:51 GMT (envelope-from nobody) Message-Id: <201001211457.o0LEvpjg058586@www.freebsd.org> Date: Thu, 21 Jan 2010 14:57:51 GMT From: Oles Hnatkevych To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/143056: atacontrol can not create raid1 (mirror) from one drive X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 15:00:19 -0000 >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: