From owner-freebsd-stable@FreeBSD.ORG Wed Mar 25 14:49:59 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D71571065673 for ; Wed, 25 Mar 2009 14:49:59 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from sorbesgroup.com (mail.sorbesgroup.com [217.159.241.118]) by mx1.freebsd.org (Postfix) with ESMTP id 634398FC1C for ; Wed, 25 Mar 2009 14:49:59 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from localhost (localhost.localdomain [127.0.0.1]) by sorbesgroup.com (Postfix) with ESMTP id 42DB03C5160B for ; Wed, 25 Mar 2009 16:26:12 +0200 (EET) Received: from sorbesgroup.com ([127.0.0.1]) by localhost (sorbesgroup.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30062-08 for ; Wed, 25 Mar 2009 16:26:11 +0200 (EET) Received: from [192.168.0.80] (andrei [192.168.0.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sorbesgroup.com (Postfix) with ESMTP id 158D23C5149F for ; Wed, 25 Mar 2009 16:26:10 +0200 (EET) Message-ID: <49CA4498.2020007@bsd.ee> Date: Wed, 25 Mar 2009 16:50:00 +0200 From: Andrei Kolu User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: FreeBSD Stable References: <49CA3795.609@bsd.ee> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at localhost Subject: Re: 32bit filesystem limitations X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 14:50:00 -0000 Ivan Voras wrote: > Andrei Kolu wrote: > >> Hi, >> >> I have trouble to create FreeBSD 7.1 i386 partition/slice to 3Ware 8port >> raid kontroller with 8x500GB drives attached to it. Raid 5 massive is >> 3,1TB in size and during sysinstall installation I select whole >> available space but after restart I can access only 1,2TB from it. What >> is the problem? >> > > MS-DOS fdisk partitions and bsdlabel partitions both have 32-bit > limitations on the file system size. You should use gpart to partition > the large volume. That is, except if you want to boot from it also - > then it's a bit problematic; it's best to create two logical drives in > your RAID controller - one small drive for the OS (something like 8 GB > to keep the ports and all) and the rest for the data. > > I created 20GB slice for system and selected everything else for /data but after restart I see again 1,2TB /data. After second sysinstall attempt I created another 2TB slice and now at least I can use whole space. Not so good but it works. Second attempt: Now I reserved 20GB for "boot volume" from 3Ware 9650SE controller and looks like it ...oops...did it again....deem. # df -H Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 2.1G 146M 1.8G 8% / devfs 1.0k 1.0k 0B 100% /dev /dev/da1s1d 1.2T 4.1k 1.1T 0% /data /dev/da0s1d 3.1G 12k 2.9G 0% /tmp /dev/da0s1f 8.3G 450M 7.2G 6% /usr /dev/da0s1e 4.2G 281k 3.8G 0% /var NOTE: during sysinstall partition creatin it showd me 3.2TB of /data... # dmesg da0 at twa0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 20479MB (41943039 512 byte sectors: 255H 63S/T 2610C) cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed da1 at twa0 bus 0 target 0 lun 1 da1: Fixed Direct Access SCSI-5 device da1: 100.000MB/s transfers da1: 3317309MB (6793848833 512 byte sectors: 255H 63S/T 422897C)