6.0-BETA1: ATA RAID rebuild not working

Frode Nordahl frode at nordahl.net
Thu Jul 28 21:36:16 GMT 2005


On 28. jul. 2005, at 21.17, Søren Schmidt wrote:

> Are you sure that atacontrol is in sync with the kernel ? the ioctl  
> interface changed some time ago.

Yes, I run with a fresh install from 6.0-BETA1 ISO.

> At any rate UNLESS your disks are on a "write metadata" supported  
> controller, the rebuild wont  survive a boot since the metadata  
> cannot be written back to the disks. The kernel will complain to  
> this fact if it applies to your system.

I did the previous tests on a onboard Promise FastTrak 150 ATA  
controller, and on a ICH5 in SATA mode, using FreeBSD Pseudoraid.

Now testing on a genuine Promise PCI SATA controller:
# dmesg |grep ^atapci0
atapci0: <Promise PDC20571 SATA150 controller> port 0x7400-0x747f, 
0x7000-0x70ff mem 0xf0220000-0xf0220fff,0xf0200000-0xf021ffff irq 24  
at device 1.0 on pci3

# dmesg |grep ^ar0
ar0: 77247MB <Promise Fasttrak RAID1> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

On this machine the dd runs as it should, but atacontrol status shows  
0% all the way through, and the RAID is still broken.

Frode Nordahl
frode at nordahl.net





More information about the freebsd-current mailing list