From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 05:09:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B072116A4CE for ; Tue, 3 Feb 2004 05:09:38 -0800 (PST) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 44DDF43D39 for ; Tue, 3 Feb 2004 05:09:36 -0800 (PST) (envelope-from pilkis@gmx.net) Received: (qmail 18319 invoked by uid 65534); 3 Feb 2004 13:09:33 -0000 Received: from unknown (EHLO pilkishome) (62.68.63.42) by mail.gmx.net (mp021) with SMTP; 03 Feb 2004 14:09:33 +0100 X-Authenticated: #6832473 Message-ID: <002c01c3ea56$f7b38410$1e64a8c0@spotripoli.local> From: "Putinas" To: References: <200402031255.i13CtL8F022022@cwsys.cwsent.com> Date: Tue, 3 Feb 2004 15:09:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1251"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2055 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2055 X-Mailman-Approved-At: Tue, 03 Feb 2004 05:23:39 -0800 Subject: Re: atacontrol rebuild and iostat X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 13:09:38 -0000 but the hardware mirroring is disabled in bios ( Asus P4P800 deluxe ) , and I also have array from ad0 and ad2 disk, which are connected to normal ICH5 controller, also when rebuilding there is no i/o shown there is no there mention about any raid support in them: atapci0: port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 atapci1: port 0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.2 on pci0 ----- Original Message ----- From: "Cy Schubert" To: "Putinas Piliponis" Sent: Tuesday, February 03, 2004 2:55 PM Subject: Re: atacontrol rebuild and iostat > In message <04cf01c3ea3f$56394960$0464a8c0@spotripoli.local>, "Putinas > Piliponi > s" writes: >> Hmm, another notice... >> I created array, right now it's rebuilding >> >> atacontrol status ar0 >> ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 3% completed >> >> to check is it really doing what I expect I run >> iostat ad4 ad6 1 >> and I see 0 transfer to devices: >> pilkis@freebsd:/usr/src# iostat ad4 ad6 1 >> tty ad4 ad6 cpu >> tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id >> 1 1219 0.50 0 0.00 0.50 0 0.00 17 0 6 1 76 >> 0 180 0.00 0 0.00 0.00 0 0.00 0 0 2 3 96 >> 0 60 0.00 0 0.00 0.00 0 0.00 0 0 2 2 97 >> 0 60 0.00 0 0.00 0.00 0 0.00 0 0 2 2 95 >> 0 60 0.00 0 0.00 0.00 0 0.00 0 0 0 0 99 >> 0 60 0.00 0 0.00 0.00 0 0.00 1 0 1 2 96 >> >> to be sure what I didn't miss something I also run >> iostat ar0 >> also no transfers 0.00MB/s >> >> Why nothing ? > > Iostat doesn't see the I/Os because RAID rebuilds occur within the > controller, the I/Os are not initiated in the O/S nor any of its > utilities, > therefore the FreeBSDS kernel doesn't see them. The O/S doesn't see the > I/Os. Atacontrol see 3% because it specifically queries the controller for > that information. > > This is true of all hardware RAID controllers and true of all operating > systems. > > > Cheers, > -- > Cy Schubert http://www.komquats.com/ > BC Government . FreeBSD UNIX > Cy.Schubert@osg.gov.bc.ca . cy@FreeBSD.org > http://www.gov.bc.ca/ . http://www.FreeBSD.org/ > > > >