From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 15:02:05 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 A3E5B16A41C for ; Wed, 8 Jun 2005 15:02:05 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C4943D49 for ; Wed, 8 Jun 2005 15:02:02 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from beastie.frontfree.net (unknown [219.239.99.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id C3600EB1A6C for ; Wed, 8 Jun 2005 23:02:00 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 11C051324FA; Wed, 8 Jun 2005 23:01:59 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48899-10; Wed, 8 Jun 2005 23:01:53 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 7A8DE132038; Wed, 8 Jun 2005 23:01:52 +0800 (CST) Date: Wed, 8 Jun 2005 23:01:52 +0800 From: Xin LI To: "Raphael H. Becker" Message-ID: <20050608150152.GA49080@frontfree.net> References: <20050608122324.C41471@p-i-n.com> <42A6D850.2070603@centtech.com> <20050608160837.E41471@p-i-n.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20050608160837.E41471@p-i-n.com> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Fri May 27 00:47:15 CST 2005 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: amavisd-new at frontfree.net 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 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:02:05 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 usi= ng > > > one logical drive of about 2326GB.=20 > > >=20 > > > The RAID was preconfigured with two 50% partitions which were assigne= d=20 > > > to two LUNs. FreeBSD 5.4 was able to detect those as da1 and da2 with= =20 > > > full capacity.=20 [...] > Any idea, how to get 2620354MB in one filesystem (using the two ccd'ed > partitions of the RAID)? >=20 > Well, I'm pretty trained in configuring that RAID now so if anyone knows= =20 > 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.=20 >=20 > Just tell me about the blocksizes (see other mail). Err... You don't need to play with the drivers/CAM stuff, why not try the natively supported gpt(8), which works great. - Map the RAID device to a single SCSI device - Do a dd if=3D/dev/zero of=3D/dev/da0 bs=3D16384 count=3D16 to wipe the M= BR - Do a `gpt create /dev/da0' to create your GPT partition table - Do a `gpt add /dev/da0' to create a GPT partition over it - You will now see something like /dev/da0p1, which can be used for subsequent disklabel(8), or just newfs -U /dev/da0p1 Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpwhg/cVsHxFZiIoRAqeuAJ93UH9gQHIRl1YSAvPcKj3YvX5vUACfWr8R eGC07a+w65heUorZxEbUTTE= =Vea5 -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--