From owner-freebsd-scsi@FreeBSD.ORG Tue Jun 15 15:24:49 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F72716A4CE for ; Tue, 15 Jun 2004 15:24:49 +0000 (GMT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D7443D1D for ; Tue, 15 Jun 2004 15:24:49 +0000 (GMT) (envelope-from j@ida.interface-business.de) Received: by ida.interface-business.de (Postfix, from userid 107) id 257F27AC9; Tue, 15 Jun 2004 17:24:47 +0200 (MET DST) Date: Tue, 15 Jun 2004 17:24:47 +0200 From: Joerg Wunsch To: freebsd-scsi@freebsd.org Message-ID: <20040615172447.D47727@ida.interface-business.de> Mail-Followup-To: freebsd-scsi@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden Subject: Drive statistics broken after replacing a drive? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 15:24:49 -0000 I've got a Sun machine here where I've setup a vinum RAID-5 volume for /usr/ports, mainly in order to play a bit with the RAID-5 feature where I've never had an occasion before. So in order to get a feeling for what needs to be done to replace a failed drive of a RAID-5 plex, I started a "cvs update" on that /usr/ports directory, in order to get some heavy disk traffic. Then, I pulled one of the drives. The kernel properly announces the drive failure, vinum degrades the RAID-5 plex, the "cvs update" is continuing normally (not unexpectedly ;-). I then replaced the drive by another one, labelled it, and restarted the appropriate vinum structures in order to re-synchronize the RAID group. All worked out pretty well, the RAID-5 plex is up & running again -- but "iostat" no longer updates any statistics for that drive. While all the remaining disks participating in that RAID group display heavy traffic in iostat, and all the drive LEDs flicker as well, the disk's statistics for the new-born drive keep solid at 0: # iostat -d -w1 da3 da4 da5 da6 da3 da4 da5 da6 KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s 19.38 1 0.01 19.35 1 0.01 19.29 1 0.01 6.17 0 0.00 2.00 4 0.01 2.00 16 0.03 2.00 14 0.03 0.00 0 0.00 2.00 23 0.04 2.00 3 0.01 2.00 21 0.04 0.00 0 0.00 ^C (The first line is the accumulated statistics, it never changes again for da6.) -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/