From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 10:18:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D797316A4CE; Sat, 26 Jun 2004 10:18:56 +0000 (GMT) Received: from natnoddy.rzone.de (natnoddy.rzone.de [81.169.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A8D843D1F; Sat, 26 Jun 2004 10:18:56 +0000 (GMT) (envelope-from Robert.Eckardt@Robert-Eckardt.de) Received: from quasar.eckardt.org ([217.81.171.241]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i5QAHXTb022716; Sat, 26 Jun 2004 12:17:33 +0200 (MEST) Received: from www.eckardt.org (localhost.eckardt.org [127.0.0.1]) by quasar.eckardt.org (8.12.10/8.12.10) with ESMTP id i5QAHVvs046686; Sat, 26 Jun 2004 12:17:31 +0200 (CEST) (envelope-from Robert.Eckardt@Robert-Eckardt.de) From: "Robert Eckardt" To: Alberto De Boni , freebsd-questions@freebsd.org Date: Sat, 26 Jun 2004 12:17:31 +0200 Message-Id: <20040626095042.M37423@Robert-Eckardt.de> In-Reply-To: <40DD349E.5000908@neobe.it> References: <40DD349E.5000908@neobe.it> X-Mailer: Open WebMail 2.21 20031110 X-OriginatingIP: 192.168.0.1 (roberte) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: owner-freebsd-questions@freebsd.org Subject: Re: SmartCtl and Array Disks, BSD 4.10 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 10:18:57 -0000 On Sat, 26 Jun 2004 10:32:30 +0200, Alberto De Boni wrote > Hi, > just a little question. I've installed BSD 4.10 on a motherboard > with Highpoint array Raid 0-1controller. I've used two 80Gb Maxtor > HDD configured as mirror. All works very fine, atacontrol let me to > add a spare disk as i need, the O.s. works without any problem and > performaneces are very good. Now, i would like to add S.M.A.R.T > control on my disks and here we are with the problems: > > BSD let me se only a combined device called ar0 (and of course this > is right). The problem is that smartcontrol cannot check smart data > on ar0 device. Is there a way to see the two real device ad4/ad6 and > check for smart datas? Hi, Can't speak for 4.10, but 5.2.1 sees the devices. Robert 11:48 quasar:/root 0#% cat /var/run/dmesg.boot | egrep 'a[dr][0-9 ]|atap' FreeBSD 5.2.1-RELEASE #3: Sun Mar 14 14:32:01 CET 2004 Preloaded elf module "/boot/kernel/snd_ad1816.ko" at 0xc0b321ac. atapci0: port 0xb000-0xb0ff,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 irq 10 at device 0.0 on pci1 atapci0: [MPSAFE] ata2: at 0xa000 on atapci0 ata3: at 0xa800 on atapci0 atapci1: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 GEOM: create disk ad4 dp=0xc47f2660 ad4: 78533MB [159560/16/63] at ata2-master UDMA100 GEOM: create disk ad5 dp=0xc47f2460 ad5: 117246MB [238216/16/63] at ata2-slave UDMA133 GEOM: create disk ad6 dp=0xc47f2560 ad6: 78533MB [159560/16/63] at ata3-master UDMA100 GEOM: create disk ad7 dp=0xc48e9460 ad7: 117246MB [238216/16/63] at ata3-slave UDMA133 GEOM: create disk ar0 dp=0xc48e35e0 ar0: 78533MB [10011/255/63] status: READY subdisks: disk0 READY on ad4 at ata2-master disk1 READY on ad6 at ata3-master GEOM: create disk ar1 dp=0xc48e31e0 ar1: 117246MB [14946/255/63] status: READY subdisks: disk0 READY on ad5 at ata2-slave disk1 READY on ad7 at ata3-slave Mounting root from ufs:/dev/ar1s1a 11:49 quasar:/root 0#% atacontrol status ar1 ar1: ATA RAID1 subdisks: ad5 ad7 status: READY 11:49 quasar:/root 0#% atacontrol status ar0 ar0: ATA RAID1 subdisks: ad4 ad6 status: READY 11:49 quasar:/root 0#% atacontrol list ATA channel 0: Master: acd0 ATA/ATAPI rev 0 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 ATA/ATAPI rev 6 Slave: ad5 ATA/ATAPI rev 7 ATA channel 3: Master: ad6 ATA/ATAPI rev 6 Slave: ad7 ATA/ATAPI rev 7 11:49 quasar:/root 0#% atacontrol cap 2 1 ATA channel 2, Slave, device ad5: ATA/ATAPI revision 7 device model Maxtor 6Y120P0 serial number Y333551E firmware revision YAR41BW0 cylinders 16383 heads 16 sectors/track 63 lba supported 240121728 sectors lba48 not supported dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes dma queued no no 0/0x00 SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes yes 254/0xFE 192/0xC0