From owner-freebsd-fs@FreeBSD.ORG Tue Jul 26 20:07:28 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DDE5106564A for ; Tue, 26 Jul 2011 20:07:28 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id D27F48FC15 for ; Tue, 26 Jul 2011 20:07:27 +0000 (UTC) Received: by gyf3 with SMTP id 3so703080gyf.13 for ; Tue, 26 Jul 2011 13:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E3mXvGBf5f3u1wP19CHgp8dr/Jaf1PM2VUBGAGQRwjw=; b=hi8Xz1t+tBb1oGLoWPSSG6tDlX6IZYIgcliXLsM+gzfipVFaO2RCmiOQ0K09sFggMA K7NHsp19Am4puuzYGZMa2pU7Q/VFieAhb1wNXVKox9D1uk3SzQLpUYS5zLcGlAKcPnkB zI8rKyRq4cFmkkFujWCDUcjlbiKmIFQ+4g4EI= MIME-Version: 1.0 Received: by 10.236.137.140 with SMTP id y12mr7253226yhi.191.1311710846912; Tue, 26 Jul 2011 13:07:26 -0700 (PDT) Received: by 10.236.103.15 with HTTP; Tue, 26 Jul 2011 13:07:26 -0700 (PDT) In-Reply-To: <4E2C9419.4000205@rcn.com> References: <4E2C9419.4000205@rcn.com> Date: Tue, 26 Jul 2011 21:07:26 +0100 Message-ID: From: krad To: Gary Corcoran Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: 3TB drives on ZFS and booting 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: Tue, 26 Jul 2011 20:07:28 -0000 On 24 July 2011 22:52, Gary Corcoran wrote: > I have seen conflicting information on the internet about this, and so > I would like a direct answer from someone who knows for sure. Does > FreeBSD's > ZFS work with 3TB drives, and is it possible to do a ZFS-only (i.e. boot > from > ZFS) installation with 3TB drives on FreeBSD? I presume that since ZFS was > designed > to handle huge filesystems, it would have no problem with 3TB drives, but I > guess > the real question is the ZFS boot code - can it currently handle >2TB > drives? > Bottom line: would I be able to successfully build (and of course boot) a > FreeBSD > ZFS-only system using only 3TB drives? > > Thanks, > Gary > > ______________________________**_________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org > " > The main issue with 3tb drives will be the 4k sector size. This applies to most of the 2tb drives as well. Make sure you use GPT layout and align it. IE make sure each gpt partiion start sector is / by 8 and its size is. Here is mine for an example $ gpart show ada0 => 34 3907029101 ada0 GPT (1.8T) 34 6 - free - (3.0k) 40 128 1 freebsd-boot (64k) 168 6291456 2 freebsd-swap (3.0G) 6291624 3900213229 3 freebsd-zfs (1.8T) also make sure you use gpt boot blocks that can cope with 4k aligned drives. Use the ones from current or these binary ones http://people.freebsd.org/~pjd/zfsboot/