Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 16:06:14 +0300
From:      "Putinas Piliponis" <Putinas.Piliponis@hansa.lt>
To:        "Giovanni P. Tirloni" <gpt@tirloni.org>, <questions@freebsd.org>
Cc:        current@freebsd.org
Subject:   RE: atacontrol and SATA RAID
Message-ID:  <217202CB5FF8AE439E263CE3D48ECB50757E5D@honda.int.hansa.lt>

next in thread | raw e-mail | index | archive | help
atacontrol addspare ar0 ad6 should do the trick


-----Original Message-----
From: owner-freebsd-current@freebsd.org
[mailto:owner-freebsd-current@freebsd.org] On Behalf Of Giovanni P.
Tirloni
Sent: Friday, October 29, 2004 3:24 PM
To: questions@freebsd.org
Cc: current@freebsd.org
Subject: Re: atacontrol and SATA RAID

Giovanni P. Tirloni wrote:
> Hi,
>=20
>  I've a Intel SE7210TP1 motherboard with Adaptec HostRAID and I've=20
> created a RAID1 array with 2 SATA disks using the following command:
>=20
>   atacontrol create RAID1 ad4 ad6
>=20
>  The system installed on /dev/ar0 just fine and I played a bit with=20
> atacontrol detaching and attaching the disks.
>=20
>  Detaching ad6 worked without problems with the following commands:
>=20
>   atacontrol detach 3
>   atacontrol attach 3
>   atacontrol rebuild 0
>=20
>  But when I tried to detach ad4 (after rebuilding array from previous=20
> detachment) I got an error saying the array was broken. Now when
booting=20
> it shows this:
>=20
>  ar0: 152627MB <ATA RAID1 array> [19457/255/63] status: DEGRADED
subdisks:
>     disk0 READY on ad4 at ata2-master
>     disk1 DOWN no device found for this disk
>=20
>  but atacontrol list shows ad6 there. So my question is: what's the=20
> proper way of doing de attach/detach operation ?
>=20

  I did a fresh install then turned the machine off and removed on=20
disk. It booted again just fine. Then I turned it off again and=20
inserted the disk I had removed. Now it will panic:

  panic: softdep_setup_inomapdep: found inode
  cpuid =3D 0
  boot() called on cpu#0
  Uptime: 2s

  If I removed the disk and boot again it will work and show the=20
following message:

  ar0: 152627MB <ATA RAID1 array> [19457/255/63] status: DEGRADED=20
subdisks:
  disk0 READY on ad4 at ata2-master
  disk1 DOWN no device found for this disk

  How can I replace a failed disk with this setup ? Given what I've=20
read I'm not really using the controller's RAID support but only the=20
RAID support present in the ata subsystem. Is that true ? In the BIOS=20
I don't have any arrays.

Thank you,

--=20
Giovanni P. Tirloni

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to
"freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?217202CB5FF8AE439E263CE3D48ECB50757E5D>