Re: atacontrol and SATA RAID

From: Giovanni P. Tirloni <gpt_at_tirloni.org>
Date: Fri, 29 Oct 2004 14:48:33 -0300
Putinas Piliponis wrote:
> atacontrol addspare ar0 ad6 should do the trick

  If I try that with the ad6 disk removed I get the following error:

    atacontrol: ioctl(ATARAIDADDSPARE): Device not configured

  If I insert the disk I had removed (but this time I formated it
  through the BIOS) it panics with the following message:

    ar0: 152627MB <ATA RAID1 array> [19457/255/63] status: READY
    subdisks:
      disk0 READY on ad4 at ata2-master
      disk1 READY on ad6 at ata3-master
    SPM: AP CPU #1 Launched!
    Mounting root from ufs:/dev/ar0s1a
    /: bad dir ino 2 at offset 0: mangled entry
    /: bad dir ino 2 at offset 0: mangled entry
    /: bad dir ino 2 at offset 0: mangled entry
    /: bad dir ino 2 at offset 0: mangled entry
    /: bad dir ino 2 at offset 0: mangled entry
    init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:
    /stand/sysinstall
    panic: no init
    cpuid = 1
    boot() called on cpu#1
    Uptime: 1s

  I'm worried about how am I going to replace a dead disk if it won't 
let me boot with a new disk inserted as ad6.

Thanks,

-- 
Giovanni P. Tirloni
Received on Fri Oct 29 2004 - 15:49:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC