From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 07:54:05 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 A737916A402 for ; Mon, 30 Apr 2007 07:54:05 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id 5368813C4B0 for ; Mon, 30 Apr 2007 07:54:05 +0000 (UTC) (envelope-from farremosen@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1386699wra for ; Mon, 30 Apr 2007 00:54:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=pAXDSjGrv46BtEh+iIEO7h7Q796XJYv27l8FZf5ZtCugGIRQp71MIaUk+19hYJzRpaynZdWXbuLdy5XqFSt7Bcx8bZnTDGKOfRTiilkwdZ3gQhExXfv07H4O9DO/fmZiB/s4bWiieIKp54wn0IuImsaz6hVmFAXo4KiIAmBijEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rGmJxFvuh8nMsQN8U4hJmpPSWpzl4jQn5egipYalSp+Zp7dvYtAgHeeYuTHRb/uGm8WasuC+1RM31Nzbz1uHcMMno9RmZzSAQewI1fj9PZsJNhwPk2iJ6siQ/R9daZ5ZDwUDHpPQGoQu5s8VTp1zs/1eZYVSYQ1QUDxvyNzv/DA= Received: by 10.114.36.1 with SMTP id j1mr1917535waj.1177919644223; Mon, 30 Apr 2007 00:54:04 -0700 (PDT) Received: by 10.114.120.3 with HTTP; Mon, 30 Apr 2007 00:54:04 -0700 (PDT) Message-ID: Date: Mon, 30 Apr 2007 09:54:04 +0200 From: "=?ISO-8859-1?Q?Klaus_Friis_=D8stergaard?=" To: "Jerry McAllister" In-Reply-To: <20070430024158.GB15045@gizmo.acns.msu.edu> MIME-Version: 1.0 References: <20070430024158.GB15045@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 07:54:05 -0000 2007/4/30, Jerry McAllister : > > > > Hi, > > > > I have a raidcontroller high-point 1640 with 4 disks of 400 GB in a rai= d > 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. 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 othe= r > 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 --=20 Klaus F. =D8stergaard,