From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 23 02:13:21 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52CFC16A4B3 for ; Tue, 23 Sep 2003 02:13:21 -0700 (PDT) Received: from ipnet.ru (relay.ipnet.ru [62.16.100.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE44943FF5 for ; Tue, 23 Sep 2003 02:13:18 -0700 (PDT) (envelope-from tsypa@post.spbip.net) Received: from [127.0.0.1] (HELO post.spbip.net) by ipnet.ru (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 2542659 for freebsd-hackers@freebsd.org; Tue, 23 Sep 2003 09:12:58 +0000 Received: (from tsypa@localhost) by post.spbip.net (8.12.8p1/8.12.8/Submit) id h8N9Cvb4034186 for freebsd-hackers@freebsd.org; Tue, 23 Sep 2003 09:12:57 GMT Date: Tue, 23 Sep 2003 09:12:57 +0000 From: Igor Tseglevsky To: freebsd-hackers@freebsd.org Message-ID: <20030923091257.GF88647@ipnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.4i Subject: raid (atacontrol) problems X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 09:13:21 -0000 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 [155061/16/63] at ata0-master UDMA66 ad1: 76319MB [155061/16/63] at ata0-slave UDMA66 ad2: DMA limited to UDMA33, non-ATA66 cable or device ad2: 76319MB [155061/16/63] at ata1-master UDMA33 ad4: 76319MB [155061/16/63] at ata2-master UDMA100 ad6: 76319MB [155061/16/63] at ata3-master UDMA100 ar0: WARNING - mirror lost ar0: 76319MB [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@cf:/usr/obj/usr/src/sys/GENERIC i386 cf# Some dmesg about controllers: atapci0: 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: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 Igor.