From owner-freebsd-fs@FreeBSD.ORG Sun Feb 27 20:13:16 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 69B4B106566B for ; Sun, 27 Feb 2011 20:13:16 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id C21828FC08 for ; Sun, 27 Feb 2011 20:13:15 +0000 (UTC) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.4/8.14.4) with ESMTP id p1RJvEuu034603; Sun, 27 Feb 2011 13:57:16 -0600 (CST) (envelope-from james-freebsd-fs2@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-fs2@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=PY7VHWf4zM8ussgqcA51qEIV9Vml6H/eRFOSfiqDPB2VTZYS9ni56IVy6Pj8tfhKb 3w/lFkklXSj6om0SimpFRG6z+VFRlWzrsOIs1YLcyAwQ315DPUtGpkut1TgJrO/QNbL QIDiHcvq4ggDjrJY5pvemd4dtyo6HC3nUoyY88M= Message-ID: <4D6AAC9A.4000602@jrv.org> Date: Sun, 27 Feb 2011 13:57:14 -0600 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Emil Smolenski References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: [ZFS] Booting from zpool created on 4k-sector drive 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: Sun, 27 Feb 2011 20:13:16 -0000 Emil Smolenski wrote: > Hello, > > There is a hack to force zpool creation with minimum sector size equal > to 4k: > > # gnop create -S 4096 ${DEV0} > # zpool create tank ${DEV0}.nop > # zpool export tank > # gnop destroy ${DEV0}.nop > # zpool import tank > > This change is permanent. The only possibility to change the value of > ashift is: zpool destroy/create and restoring pool from backup. Is ashift a property of the pool or a property of the device? I'm wonder about the disk replacement scenario, where the replacement disk cannot be smaller than the disk it replaces.