Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 01:17:42 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Amandeep Pannu <aman@chamkila.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Partiotioning 2.2TB Under FreeBSD 5.2.1
Message-ID:  <20041214231742.GA71191@gothmog.gr>
In-Reply-To: <49246.69.36.228.194.1103056170.squirrel@69.36.228.194>
References:  <41BE41D6.5030202@comcast.net> <49246.69.36.228.194.1103056170.squirrel@69.36.228.194>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-12-14 12:29, Amandeep Pannu <aman@chamkila.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041214231742.GA71191>