From owner-freebsd-fs@FreeBSD.ORG Sun Feb 20 11:25:46 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 BFE7C106566C; Sun, 20 Feb 2011 11:25:46 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE6E8FC08; Sun, 20 Feb 2011 11:25:45 +0000 (UTC) Received: by wwf26 with SMTP id 26so5073926wwf.31 for ; Sun, 20 Feb 2011 03:25:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=JHjUVn0WlSz/LEtaGRacyKpRNNQpPJ3o6sXZkga7uVU=; b=ZrmF6WjQV5TmQlrG2d+ZiPcg1/2MFHudKqaG7LAhHn9Ey26vzlq8t5tu25XfdzN1Iu j4Jlsl9lGbtMxCEUMS5JK2I0oCgTuL9tQMlFZGJ8b5H6laVqoNLbsFciSEDnMKdBoMh7 lXehtk8Kg8zzsCh97xmOmTUiQfE/UaaRSzPBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TFcKCTvrm8X1kNiqp8w2FO+nxPm6TPEL47if7Cugm5qS5yPGjwLldF+TJyZayYxm+T wLZBb2k2zB5mdTzaZq4fHjFITySsVMMvE916pD4Cr+Nyo0Xxd4dNPZBDs3QgFBmgcwxz 5LpNqgFKsHEwxrMm/APB6iMiVyCgeGb2MhqWI= MIME-Version: 1.0 Received: by 10.216.56.65 with SMTP id l43mr1074459wec.113.1298201144514; Sun, 20 Feb 2011 03:25:44 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 20 Feb 2011 03:25:44 -0800 (PST) In-Reply-To: References: <4D5DD580.9040701@freebsd.org> Date: Sun, 20 Feb 2011 11:25:44 +0000 Message-ID: From: krad To: Lawrence Stewart Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org Subject: Re: zfs boot on 4k drives in -STABLE 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, 20 Feb 2011 11:25:46 -0000 On 19 February 2011 10:55, krad wrote: > On 18 February 2011 02:12, Lawrence Stewart wrote: >> On 02/17/11 20:30, krad wrote: >>> Hi, >>> >>> What is the current state of zfs booting of a 4k aligned drive >>> (ashift=12)? I have tried the patch in pr153695 but it wont apply >>> cleanly to stable as I think it is meant for current. Is one going to >>> be made available for STABLE at any point? >> >> It works fine. Use the gptzfsboot and zfsloader from here and you're >> good to go - no patches or anything else required: >> >> http://people.freebsd.org/~pjd/zfsboot/ >> >> Cheers, >> Lawrence >> > > > thanks for the advice ill give it a go > well the binary versions didnt seem to work. The drive is 4k aligned apart from the boot partition. Surely this wouldnt have an affect though would it? # gpart show ad7 => 34 3907029101 ad7 GPT (1.8T) 34 128 1 freebsd-boot (64K) 162 6 - free - (3.0K) 168 6291456 2 freebsd-swap (3.0G) 6291624 3900213229 3 freebsd-zfs (1.8T) 3906504853 524282 4 freebsd-ufs (256M)