From owner-freebsd-scsi@FreeBSD.ORG Wed Jul 23 23:41:05 2003 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 38E5637B401 for ; Wed, 23 Jul 2003 23:41:05 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8EAA43F85 for ; Wed, 23 Jul 2003 23:41:03 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19fY2E-0001O2-00; Wed, 23 Jul 2003 21:48:58 -0700 Date: Wed, 23 Jul 2003 21:48:57 -0700 (PDT) From: Tom Samplonius To: Josh Brooks In-Reply-To: <20030723233123.F10699-100000@mail.econolodgetulsa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org Subject: Re: aaccli: what kind of disk is it ? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 06:41:05 -0000 On Wed, 23 Jul 2003, Josh Brooks wrote: > I have studied the help/usage for aaccli for quite a while, and I cannot > figure out how to do two things: > > a) how can I determine the actual, real size of the disk ? For instance, > I have some 36gig drives that are 36.8 gigs unformatted size, and some > that are 36.4, and so on - if I want to buy a replacement drive to, say, > rebuild a mirror, I have to get one that is the same size or larger - so > how, in aaccli, can I see the actual unformatted size of that disk ? Most RAID devices do rounding: 4, 9, 18, 36, 72, etc. So if the device is a fraction bigger, it just rounds its capacity down to the standard size. Besides, if you are doing RAID1 or RAID5, the controller can only use as much capacity as the smallest disk in the set. So, if you mirror a 9GB and 18GB, you will only get a 9GB set. > b) the type of disk it is ... this would be good enough that I wouldn't > need (a), since I could just look it up on the `net. Is there a way to > see the manufacturer ID string from aaccli - the string that I am shown in > the BIOS and when the system boots ? > > thanks!! Tom