From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 15:04:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 94DF516A41C for ; Wed, 8 Jun 2005 15:04:16 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F80743D4C for ; Wed, 8 Jun 2005 15:04:15 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j58F494J017463 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 8 Jun 2005 17:04:10 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j58F31hs061212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jun 2005 17:03:02 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j58F31sY009694; Wed, 8 Jun 2005 17:03:01 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j58F2p8P009693; Wed, 8 Jun 2005 17:02:51 +0200 (CEST) (envelope-from ticso) Date: Wed, 8 Jun 2005 17:02:51 +0200 From: Bernd Walter To: "Raphael H. Becker" Message-ID: <20050608150251.GQ95969@cicely12.cicely.de> References: <20050608122324.C41471@p-i-n.com> <42A6D850.2070603@centtech.com> <20050608160837.E41471@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050608160837.E41471@p-i-n.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de Cc: freebsd-current@freebsd.org, Eric Anderson Subject: Re: Accessing SCSI-Devices >2TB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 15:04:16 -0000 On Wed, Jun 08, 2005 at 04:08:37PM +0200, Raphael H. Becker wrote: > On Wed, Jun 08, 2005 at 06:36:48AM -0500, Eric Anderson wrote: > > Raphael H. Becker wrote: > > > I tried to attach our new external RAID to my RENEG_5_4 box today using > > > one logical drive of about 2326GB. > > > > > > The RAID was preconfigured with two 50% partitions which were assigned > > > to two LUNs. FreeBSD 5.4 was able to detect those as da1 and da2 with > > > full capacity. > > I used plan b (see below) and reverted back to 2 LUNs each mapped to one > partition of the logical drive. > > After the RAID-initialisation (it does some background-init) I was able > to get those drives as da1 and da2 using "camcontrol rescan ...": > > da1 at ahc1 bus 0 target 0 lun 0 > da1: Fixed Direct Access SCSI-3 device > da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled > da1: 1310177MB (2683242496 512 byte sectors: 255H 63S/T 167024C) > da2 at ahc1 bus 0 target 0 lun 1 > da2: Fixed Direct Access SCSI-3 device > da2: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled > da2: 1310177MB (2683242496 512 byte sectors: 255H 63S/T 167024C) > > Did a simple > > ccdconfig ccd0 64 none /dev/da1 /dev/da2 > > (Kernel with "device ccd") then to get a /dev/ccd0. Works. > > > > b) reverting to 2 Partitions and doing ccd(4) on the resulting /dev/da(1|2) > > This is what I did (using gvinum). > > How to get disklabel running with this? Use gpt to partition - which was already mention in this thread. disklabel won't do and since gpt was already widely accepted there was not reason to have a new disklabel. > # disklabel ccd0 > disklabel: disks with more than 2^32-1 sectors are not supported > > I'm afraid I need to use fdisk to split my ccd'ed RAID again to get two > smaller partitions. So, this is exactly what I've done in the > RAID controller: RAID'ing 12 Drives to a logical drive, split them up > into 2 Partitions and assigning two LUNs to get two drives for FreeBSD, > ccd'ing them to one drive and finally splitting it up into two > partitions using fdisk. :-/ > This would effectivly save me an fdisk and a ccd(4) and some trouble. > > Any idea, how to get 2620354MB in one filesystem (using the two ccd'ed > partitions of the RAID)? > > Well, I'm pretty trained in configuring that RAID now so if anyone knows > a solution, how to get rid of the 2TB-Limit for one drive (/dev/da1), > maybe using larger blocks of about 1k or 2k, I just need to configure > that RAID as a single large logical drive. There is no such limit. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de