From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 14 23:31:16 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B34B16A4CE for ; Tue, 14 Dec 2004 23:31:16 +0000 (GMT) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C96C43D46 for ; Tue, 14 Dec 2004 23:31:14 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 20909 invoked by uid 207); 14 Dec 2004 23:31:12 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.231):. Processed in 0.818361 secs); 14 Dec 2004 23:31:12 -0000 Received: from dialup231.ach.sch.gr (HELO gothmog.gr) ([81.186.70.231]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 14 Dec 2004 23:31:11 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iBENV2we074122 for ; Wed, 15 Dec 2004 01:31:02 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iBENHgBY072523; Wed, 15 Dec 2004 01:17:42 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 15 Dec 2004 01:17:42 +0200 From: Giorgos Keramidas To: Amandeep Pannu Message-ID: <20041214231742.GA71191@gothmog.gr> References: <41BE41D6.5030202@comcast.net> <49246.69.36.228.194.1103056170.squirrel@69.36.228.194> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49246.69.36.228.194.1103056170.squirrel@69.36.228.194> X-Mailman-Approved-At: Wed, 15 Dec 2004 13:11:50 +0000 cc: freebsd-hackers@freebsd.org Subject: Re: Partiotioning 2.2TB Under FreeBSD 5.2.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 23:31:16 -0000 On 2004-12-14 12:29, Amandeep Pannu wrote: > I have 12WD 200GB SATA drives with RAID5 and glabal spare on 3ware 9000 > series controller. Also one 80GB SATA drive for OS. > I had to manually compile the twa driver. kldload twa. The system started > recognizing the controller and the total capacity. > Although the dao show 2.2TB but when I try to partition the RAID5 the > sysinstall only shows me 271GB. This may be a bug in the way sysinstall handles huge numbers. > Any ideas how to partition or see the whole 2TB. Try using fdisk, bsdlabel and newfs without relying on the sysinstall interface, i.e.: 1. Install a single slice covering the entire disk: # fdisk -I /dev/da0 ******* Working on device /dev/da0 ******* fdisk: invalid fdisk partition table found # fdisk -I /dev/da0 ******* Working on device /dev/da0 ******* # 2. Install a new label on da0s1: # bsdlabel -w /dev/da0s1 3. Edit the label. Keep in mind that in 5.X the 'c' partition covers only the `useful' area of the disk, so you don't have to leave some unused space at the beginning of da0s1c when you set the size of the da0s1a partition: # bsdlabel -e /dev/da0s1 4. Create a new filesystem on da0s1a: # newfs /dev/da0s1a