From owner-freebsd-fs@FreeBSD.ORG Wed Mar 29 10:05:00 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA5F16A41F for ; Wed, 29 Mar 2006 10:05:00 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC9FF43D49 for ; Wed, 29 Mar 2006 10:04:57 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k2TA4tR6098701; Wed, 29 Mar 2006 03:04:55 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <442A5BC7.3040208@samsco.org> Date: Wed, 29 Mar 2006 03:04:55 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: rabing@omc.net References: <442A74F5.22886.69057A7E@rabing.omc.net> In-Reply-To: <442A74F5.22886.69057A7E@rabing.omc.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-fs@freebsd.org Subject: Re: UFS2 with 4TB disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 10:05:00 -0000 Lutz Rabing wrote: > hope this is the right list... > > I have a "FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 13:29:33 CET 2006" system > with an Areca Raid6 controller (12 x 400GB) which presents a 4TB disk (da0) > to the system: > > da0 at arcmsr0 bus 0 target 7 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 166.666MB/s transfers (83.333MHz, offset 32, 16bit), Tagged Queueing Enabled > da0: 3814695MB (7812495360 512 byte sectors: 255H 63S/T 486305C) > > when I newfs and label do work when I install the OS. however, after booting the > system from an usb-stick (da1) and change root-fs to da0 I miss 2TB of storage. > At least I can't tellif it's there or not. "/usr" should be 3.6TB and shows > this: > --------------------------------------------------------------------------- > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 989M 55M 855M 6% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/da0s1e 1.9G 26K 1.8G 0% /tmp > /dev/da0s1f 1.6T 1.6G 1.4T 0% /usr > /dev/da0s1d 9.7G 27M 8.9G 0% /var > devfs 1.0K 1.0K 0B 100% /var/named/dev > > > The label editor from sysinstall shows this: > --------------------------------------------------------------------------- > Disk: da0 Partition name: da0s1 Free: 0 blocks (0MB) > > Part Mount Size Newfs Part Mount Size Newfs > ---- ----- ---- ----- ---- ----- ---- ----- > da0s1a / 1024MB UFS2 N > da0s1b swap 2048MB SWAP > da0s1d /var 10240MB UFS2+S N > da0s1e /tmp 2048MB UFS2+S N > da0s1f /usr 1662GB UFS2+S N > > > Output from sysinstall/FDISK: > --------------------------------------------------------------------------------- > Disk name: da0 FDISK Partition Editor > DISK Geometry: 486305 cyls/255 heads/63 sectors = 7812489825 sectors (3814692MB) > > Offset Size(ST) End Name PType Desc Subtype Flags > > 0 63 62 - 12 unused 0 > 63 3517522466 3517522528 da0s1 8 freebsd 165 > 3517522529 4294972831 7812495359 - 12 unused 0 > > > So, my question is, how big is my "/usr" slice? 1.6TB or 3.6TB? > > Thanks, > Lutz Rabing The FDISK and bsdlabel schemes simply cannot deal with >2TB. You'll need to either put your filesystem directly on the storage device without and slices/labels, or use GPT to create logical partitions. Scott