Subject: bin/29158: raidctl(8) states that reading kernel from raid set is not possible
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <anders@dinsen.net>
List: netbsd-bugs
Date: 01/30/2005 06:46:00
>Number: 29158
>Category: bin
>Synopsis: raidctl(8) states that reading kernel from raid set is not possible
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 30 06:46:00 +0000 2005
>Originator: Anders Dinsen
>Release: NetBSD 2.0
>Organization:
Anders Dinsen
(+45) 28 18 49 25
anders@dinsen.net
www.dinsen.net/anders
>Environment:
System: NetBSD otto.lan.dinsen.net 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
In raidctl(8) man page, it is stated that it is not possible to
read the kernel from a raid set. This is not correct on i386
and presumably other architectures and the NetBSD guide correctly
shows how this can be done.
>How-To-Repeat:
Type ``man raidctl''
>Fix:
--- raidctl.8 23 May 2004 11:01:11 -0000 1.38.2.2
+++ raidctl.8 30 Jan 2005 06:44:39 -0000
@@ -169,7 +169,6 @@
All components of the set must be of type
.Dv RAID
in the disklabel.
-Note that the kernel being booted must currently reside on a non-RAID set.
.It Fl B Ar dev
Initiate a copyback of reconstructed data from a spare disk to
its original disk.
@@ -1208,7 +1207,7 @@
arguments.
.Pp
Note that kernels can only be directly read from RAID 1 components on
-alpha and pmax architectures.
+some architectures (e.g. alpha, i386, pmax and sparc).
On those architectures, the
.Dv FS_RAID
file system is recognized by the bootblocks, and will properly load the