From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 14:25:15 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 426A116A41C for ; Wed, 8 Jun 2005 14:25:15 +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 87B7543D49 for ; Wed, 8 Jun 2005 14:25:14 +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 j58EPA4J016328 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 8 Jun 2005 16:25:12 +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 j58EOBhs061018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jun 2005 16:24:11 +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 j58EOAYj009465; Wed, 8 Jun 2005 16:24:10 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j58EOAD3009464; Wed, 8 Jun 2005 16:24:10 +0200 (CEST) (envelope-from ticso) Date: Wed, 8 Jun 2005 16:24:10 +0200 From: Bernd Walter To: "Raphael H. Becker" Message-ID: <20050608142409.GM95969@cicely12.cicely.de> References: <20050608122324.C41471@p-i-n.com> <42A6D850.2070603@centtech.com> <20050608123953.GG95969@cicely12.cicely.de> <20050608154312.D41471@p-i-n.com> <20050608135229.GK95969@cicely12.cicely.de> <20050608161548.F41471@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050608161548.F41471@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, ticso@cicely.de 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 14:25:15 -0000 On Wed, Jun 08, 2005 at 04:15:48PM +0200, Raphael H. Becker wrote: > On Wed, Jun 08, 2005 at 03:52:30PM +0200, Bernd Walter wrote: > > On Wed, Jun 08, 2005 at 03:43:12PM +0200, Raphael H. Becker wrote: > > > On Wed, Jun 08, 2005 at 02:39:53PM +0200, Bernd Walter wrote: > > > > > revision 1.139 > > > > date: 2003/04/30 00:35:22; author: ken; state: Exp; lines: +194 -65 > > > > Add support to CAM for devices with more than 2^32 blocks. (2TB if you're > > > > using 512 byte blocks). > > > > > > So, what will i have to do to get lets say 1kb blocks? > > > > Use a drive that has 1kb blocks. > > I use 1k/sector mo-media since years. > > Sometimes HDDs can be reformated to 1k or even 2k blocks, but you > > likely won't win anything by doing this with modern drives. > > Why do you want to do this? > > Please tell me, if I got wrong here. For me > > "Add support to CAM for devices with more than 2^32 blocks. > (2TB if you're using 512 byte blocks)." > > sounds like > > "if you use double sized blocks you will have double-sized limit with > the same number of blocks." No - it means "more than 2^32 blocks is supported". The annotation below just tells what 2^32 is and what limitation there previously was. > And 1kb would extend the 2TB limit to 4TB, what would work for me here. Obviously, but that's not required - you can have SCSI disks with more than 2^32 512 Byte blocks since more than 2 years. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de