From owner-freebsd-fs@FreeBSD.ORG Mon Feb 21 12:35:12 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 628BF106566B; Mon, 21 Feb 2011 12:35:12 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C50408FC08; Mon, 21 Feb 2011 12:35:11 +0000 (UTC) Received: by wyb32 with SMTP id 32so1739509wyb.13 for ; Mon, 21 Feb 2011 04:35:10 -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 :content-transfer-encoding; bh=OUi3oL0IsjtFGjt0BBUfS6Yxs8YeYklsnVUIvCAeJgI=; b=b6wNR8IP1SxGaJCxwko1OBFNAbW9F/cSdMAz2bZaiS3vKhRsHvq2hcErJtIh/5/p1Y Uk2HLEoOanNEap5Xw43VdSprcibMAEtBRxWTXV3JRny40zHgYFvpKPvGad44jESB4ZHL 8d/zEVEKRyLcz3ZJUUpuaTqaIXK01wJ79MgFc= 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:content-transfer-encoding; b=Cs+EEMwmJukdO7hnK3tX9Jp2EHoznpja0ylRtlQGtO7cGP2CvBQDW7n86BmOwciZLI ru2mnuO6IO3yWmG+rcXy/tWMXBxbkBoOMVWa5RfdM7XA9OnjtDJtv6glXnWZPk+dscCm OgVOuPnA4bf32+K6EhQiMVu2w4g1vbnjwdRzs= MIME-Version: 1.0 Received: by 10.216.178.138 with SMTP id f10mr1059570wem.98.1298291710772; Mon, 21 Feb 2011 04:35:10 -0800 (PST) Received: by 10.216.80.147 with HTTP; Mon, 21 Feb 2011 04:35:10 -0800 (PST) In-Reply-To: References: <4D5DD580.9040701@freebsd.org> Date: Mon, 21 Feb 2011 12:35:10 +0000 Message-ID: From: krad To: Lawrence Stewart Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Mon, 21 Feb 2011 12:35:12 -0000 On 20 February 2011 11:25, krad wrote: > 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=3D12)? 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 > =3D> =A0 =A0 =A0 =A034 =A03907029101 =A0ad7 =A0GPT =A0(1.8T) > =A0 =A0 =A0 =A0 =A034 =A0 =A0 =A0 =A0 128 =A0 =A01 =A0freebsd-boot =A0(64= K) > =A0 =A0 =A0 =A0 162 =A0 =A0 =A0 =A0 =A0 6 =A0 =A0 =A0 - free - =A0(3.0K) > =A0 =A0 =A0 =A0 168 =A0 =A0 6291456 =A0 =A02 =A0freebsd-swap =A0(3.0G) > =A0 =A0 6291624 =A03900213229 =A0 =A03 =A0freebsd-zfs =A0(1.8T) > =A03906504853 =A0 =A0 =A0524282 =A0 =A04 =A0freebsd-ufs =A0(256M) > after realigning the boot partition it still failed to boot