Subject: Re: root-on-raid on amd64?
To: None <port-amd64@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: port-amd64
Date: 05/26/2006 16:07:49
Geert Hendrickx wrote:
> Hi, 
> 
> does NetBSD/amd64 3.0 support root-on-raidframe (RAID-1) yet?  The raid(4)
> manpage says it doesn't in 3.0 but does in -current, however I can't find
> this difference in the bootxx code.  Maybe the manpage is just out-dated in
> 3.0, and root-on-raid is already supported in 3.0/amd64?  Can anyone
> confirm?  
> 
> 	Geert
> 
> PS: please keep me CC'd.  

Hi,

I can confirm it does:

# uname -rsm
NetBSD 3.0 amd64
# mount
/dev/raid0a on / type ffs (local)
/dev/raid0e on /home type ffs (local)
mfs:338 on /tmp type mfs (synchronous, noexec, nosuid, nodev, noatime, 
local)
kernfs on /kern type kernfs (local)
# raidctl -s raid0
Components:
            /dev/wd0a: optimal
            /dev/wd1a: optimal
No spares.
Component label for /dev/wd0a:
    Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
    Version: 2, Serial Number: 200509050, Mod Counter: 199
    Clean: No, Status: 0
    sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
    Queue size: 100, blocksize: 512, numBlocks: 386527488
    RAID Level: 1
    Autoconfig: Yes
    Root partition: Yes
    Last configured as: raid0
Component label for /dev/wd1a:
    Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
    Version: 2, Serial Number: 200509050, Mod Counter: 199
    Clean: No, Status: 0
    sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
    Queue size: 100, blocksize: 512, numBlocks: 386527488
    RAID Level: 1
    Autoconfig: Yes
    Root partition: Yes
    Last configured as: raid0
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
#

r.