From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 14:07:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F6D016A400 for ; Mon, 30 Apr 2007 14:07:40 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5541913C45B for ; Mon, 30 Apr 2007 14:07:39 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l3UE4r52017269; Mon, 30 Apr 2007 10:04:53 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l3UE4rCV017268; Mon, 30 Apr 2007 10:04:53 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 30 Apr 2007 10:04:53 -0400 From: Jerry McAllister To: Klaus Friis =?iso-8859-1?Q?=D8stergaard?= Message-ID: <20070430140453.GA17245@gizmo.acns.msu.edu> References: <20070430024158.GB15045@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: scsi raid geometry high-point rocketraid 1640 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 14:07:40 -0000 On Mon, Apr 30, 2007 at 09:54:04AM +0200, Klaus Friis Østergaard wrote: > 2007/4/30, Jerry McAllister : > > > > > >> Hi, > >> > >> I have a raidcontroller high-point 1640 with 4 disks of 400 GB in a raid > >5 > >> array given me 1200 GB. The bios utility of the controller zero build > >the > >> array with 64 kb > >> > >> FDISK says that the geometry is 145923/255/63 and it is incorrect. Then > >it > >> says that for scsi it is the translation mode the raid controller is > >using. > > > >Usually you want to accept what fdisk does. Just make the slices > >that you want. Geometry is virtual on these systems. > > > >> > >> How do I find this? > >> > >> If I continue with the defaults I only get 1144654 MB like missing 100 > >GB. > > > >Well, I would expect you to get something less than 1,490 GB just from > >the difference between the manufacturer use of GB (1,000,000,000 Bytes) > >and the way the OS uses GB (1,073,741,824 Bytes). > > > That is the missing link, the raid controller says 1200 GB if recalculated, > using 1.073741824 it gives 1,117.59 GB multiplied by 1024 it gives > 1144409 MB which is what FDISK gives default. Wow. Don't tell me I got one (out of how many?). I shall celebrate. ////jerry > > I don't know how much the raidcontroller eats up to manage > >the raid. Raid 5 takes a piece for its redundancy/error > >correction. A raid 5 would eat at least 20% and maybe up to 30% if it > >is rather inefficient. > > > WIth 4 disks it is 25% as 4th disk make the redundancy. > > After that you will lose some because of inconvenient remnants of space > >that doesn't get used. Then, there are amounts for superblocks and other > >aspects of building a filesystem, etc. I think that tends to be around > >10% > >altogether. > > > >So, your number seems somewhat probable, offhand, without detailed > >calculations. > > > >What operations did you do to get to that point? Mine would be an > >fdisk that makes one slice of the entire device, a bsdlabel that > >divides the slice in to about 6 partitions (including swap) and > >a newfs on each partition except swap. > > > I only need the array only for one big slice and one partition for data > storage. > > > Thanks for the help > -- > Klaus F. Østergaard,