raid (atacontrol) problems
Igor Tseglevsky
tsypa at ipnet.ru
Tue Sep 23 02:13:21 PDT 2003
Strange problems with RAID. If disks are located on different controllers
after rebooting one of disks disappears. Disks on one controller coexist in
RAID normally.
Any ideas? Please, help!
cf# atacontrol status 0
atacontrol: ioctl(ATARAIDSTATUS): Device not configured
cf# atacontrol create mirror ad1 ad4
ar0 created
cf# atacontrol status 0
ar0: ATA RAID1 subdisks: ad1 ad4 status: READY
cf# fastboot
cf# atacontrol status 0
ar0: ATA RAID1 subdisks: ad1 DOWN status: DEGRADED
In dmesg:
ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA66
ad1: 76319MB <ST380011A> [155061/16/63] at ata0-slave UDMA66
ad2: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 76319MB <ST380011A> [155061/16/63] at ata1-master UDMA33
ad4: 76319MB <ST380011A> [155061/16/63] at ata2-master UDMA100
ad6: 76319MB <ST380011A> [155061/16/63] at ata3-master UDMA100
ar0: WARNING - mirror lost
ar0: 76319MB <ATA RAID1 array> [9729/255/63] status: DEGRADED subdisks:
disk0 READY on ad1 at ata0-slave
disk1 DOWN no device found for this disk
Similarly for ad2 and ad6.
Other situation with same controller:
cf# atacontrol status 0
atacontrol: ioctl(ATARAIDSTATUS): Device not configured
cf# atacontrol create mirror ad1 ad2
ar0 created
cf# atacontrol status 0
ar0: ATA RAID1 subdisks: ad1 ad2 status: READY
cf# fastboot
cf# atacontrol status 0
ar0: ATA RAID1 subdisks: ad1 ad2 status: READY
Similarly for ad4 and ad6.
cf# uname -a
FreeBSD cf 5.1-RELEASE-p5 FreeBSD 5.1-RELEASE-p5 #0: Mon Sep 22 07:46:00 GMT 2003 tsypa at cf:/usr/obj/usr/src/sys/GENERIC i386
cf#
Some dmesg about controllers:
atapci0: <Promise PDC20269 UDMA133 controller> port 0xdf90-0xdf9f,0xdfe0-0xdfe3,0xdfa8-0xdfaf,0xdfe4-0xdfe7,0xdff0-0xdff7 mem 0xfeafc000-0xfeafffff irq 11 at device 8.0 on pci2
ata2: at 0xdff0 on atapci0
ata3: at 0xdfa8 on atapci0
atapci1: <Intel ICH UDMA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
Igor.
More information about the freebsd-hackers
mailing list