Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 13:23:19 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   RAID rebuild problem
Message-ID:  <200605171323.19970.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart2103341.FDcWiof7KI
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I had a RAID split (for unknown reasons) and had..
=2E..
atapci0: <Promise PDC20378 SATA150 controller> port 0x8000-0x803f,0x7800-0x=
780f,0x7400-0x747f mem 0xfb300000-0xfb300fff,0xfb200000-0xfb21ffff irq 18 a=
t device 8.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
=2E..
ad0: 238475MB <HDT722525DLA380 V44OA96A> at ata2-master SATA150
ad1: 238475MB <HDT722525DLA380 V44OA96A> at ata3-master SATA150
ar0: 238418MB <Promise Fasttrak RAID1> status: DEGRADED
ar0: disk0 READY (master) using ad0 at ata2-master
ar0: disk1 DOWN no device found for this subdisk
ar1: 238418MB <Promise Fasttrak RAID1> status: DEGRADED
ar1: disk0 DOWN no device found for this subdisk
ar1: disk1 READY (mirror) using ad1 at ata3-master

So I did the following..
I deleted the second array..
sudo atacontrol delete ar1

and added the disk as a spare ..
sudo atacontrol addspare ar0 ad1

and rebuilt the array..
sudo atacontrol rebuild ar0

However the status stayed at 0%. I noticed that atacontrol ran dd (which I
think is so that the ATA kernel code has an opportunity to update the=20
mirror in the strategy routine). Even when the dd had finished it stayed
stuck at 0%.

kiruna:~>sudo atacontrol status ar0
ar0: ATA RAID1 subdisks: ad0 ad1 status: REBUILDING 0% completed

I did a manual dd and it seems to be running as I expect, but it still
reads 0%.

kiruna:~>uname -a
=46reeBSD kiruna.gsoft.com.au 6.0-RC1 FreeBSD 6.0-RC1 #0: Wed Oct 26 13:29:=
47 UTC 2005     root@chungli-pr.gsoft.com.au:/usr/obj/local0/src/sys/GENESI=
S  amd64

I plan to try rebuilding it in the BIOS but I would dearly like to be able=
=20
to rebuild arrays without having to resort to the BIOS.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart2103341.FDcWiof7KI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEap4v5ZPcIHs/zowRAqgBAKCI9aVqa5wY7e5RXCaa36dEqfZQKwCZAVmW
9ltpekdZwu2goF1kxqZMIpQ=
=53wM
-----END PGP SIGNATURE-----

--nextPart2103341.FDcWiof7KI--



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