Thanks. Worked like a charm.

/Markus

Marco Peereboom wrote:
since it is softraid you use the sd entry.

like bioctl -R /dev/sd3a sd2

On Sat, Nov 21, 2009 at 01:53:50AM +0100, Markus Bergkvist wrote:
Hi

I had to replace one of the drives in a softraid raid level 1 setup. How do I kick off a rebuild? This is apparently not the correct way, or something else is broken here...

# bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid0
# bioctl -ih softraid0 Volume Status Size Device softraid0 0 Degraded 190G sd2 RAID1
      0 Online               190G 0:0.0   noencl <sd0a>
      1 Offline                0B 0:1.0   noencl <sd1a>
# bioctl -R 0:0.0 sd1a bioctl: BIOCINQ: Inappropriate ioctl for device

OpenBSD 4.6-current (GENERIC) #386: Thu Nov 19 12:17:55 MST 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

/Markus

Reply via email to