Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 14:30:58 +0000
From:      Dropbox <>
Subject:   =?utf-8?q?Daniel_Kelles_invited_you_to_check_out_Dropbox?=
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi there,

Daniel Kelles wants you to try Dropbox! Dropbox lets you bring all your pho=
tos, docs and videos with you anywhere and share them easily.

Get started here.

- The Dropbox Team

To stop receiving invites from Dropbox, please go to
Dropbox, Inc., PO Box 77767, San Francisco, CA 94107
From owner-freebsd-stable@FreeBSD.ORG  Wed Apr  1 21:44:46 2015
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Received: from (
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by (Postfix) with ESMTPS id 12F948B2
 for <>; Wed,  1 Apr 2015 21:44:46 +0000 (UTC)
Received: from ( [])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "*", Issuer "RapidSSL SHA256 CA - G3" (verified OK))
 by (Postfix) with ESMTPS id CA74CE98
 for <>; Wed,  1 Apr 2015 21:44:45 +0000 (UTC)
Received: from ( [])
 by (8.15.1/8.15.1/NETPLEX) with ESMTP id t31LifMk044485;
 Wed, 1 Apr 2015 17:44:43 -0400
X-Virus-Scanned: by AMaViS and Clam AntiVirus (
X-Greylist: Message whitelisted by DRAC access database, not delayed by
 milter-greylist-4.4.3 ( []);
 Wed, 01 Apr 2015 17:44:43 -0400 (EDT)
Date: Wed, 1 Apr 2015 17:44:41 -0400 (EDT)
From: Daniel Eischen <>
Reply-To: Daniel Eischen <>
To: Peter Wemm <>
Subject: Re: Trying to clone a ZFS drive, can't get ashift=12
In-Reply-To: <>
Message-ID: <>
References: <>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Mailman-Version: 2.1.18-1
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, 01 Apr 2015 21:44:46 -0000

On Tue, 31 Mar 2015, Peter Wemm wrote:

> On Wednesday, April 01, 2015 12:30:46 AM Daniel Eischen wrote:
>> I have an Oracle (nee Sun) X4-2 server with identical 300GB SAS
>> drives.  I did an MBR ZFS install from FreeBSD 10.1-RELEASE CD
>> and have it updated to p6:
> [..]
>>    # zpool create -o cachefile=/tmp/newpool.cache bootpoolNew label/boot0
>>    # zdb -U /tmp/newpool.cache | grep ashift
>>                ashift: 9
>> What gives?  How do I get it to use 4k?
> Before creating the pool, try:
> #  sysctl vfs.zfs.min_auto_ashift=12

Thanks, and to Dmitri also.  This seemed to do the trick.

It is interesting that the default in the 10.1-RELEASE
CD doesn't match the actual OS that is installed.

> But watch your alignment of the MBR slices/partitions. I think you'll find it
> easier to manage with gpt for a data disk, eg:
> # gpart create -s gpt da1
> # gpart add -t freebsd-zfs -a 4k da1
> combine that with the sysctl above you should have everything on 4k.
> Setting -a just sets the rounding for the start/end sectors, it doesn't affect
> zfs when its sizing the sector size internally.
> btw; for a 300G drive you might not want 4k - this changes the base allocation
> size to be 8 times larger.  You might find your space efficiency less than ideal
> if you have a lot of tiny files.

The server is a web server and poudriere package builder, with some
postgres and mysql databases as backends for the web services.  We
don't anticipate user data or home/project directories.

My first ZFS install was Solaris 11, which recommended (mandated?)
that rpool be from a slice not an entire disk, and boot from
an SMI (VTOC) disk.  So I followed the same convention when
installing FreeBSD.


Want to link to this message? Use this URL: <>