From owner-freebsd-fs@FreeBSD.ORG Sun Feb 20 15:49:06 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 8AFC31065670; Sun, 20 Feb 2011 15:49:06 +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 F20EF8FC1F; Sun, 20 Feb 2011 15:49:05 +0000 (UTC) Received: by wwf26 with SMTP id 26so5194781wwf.31 for ; Sun, 20 Feb 2011 07:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9KeomXdyqkwaFm/4R7F7hotMybTYWe/6vpyFr0VPoFk=; b=Cb3FOCJ48ASF03v5+E8YNJjv43+Fk7PYAOjxDCsrCpCb5orvvd5iNkg+a9/te3AwSj SJKsAmrjaOAgcQxuQNvuGhMhmasb27rfL/IKCqi+/EzEox2O9ciJo+n4TbAL5WNF97Hz WA98eSCNNrD5ATIkdZhr6JRXD6jCu4cXX1mos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CWItC2u1S1itkuCVpncEoegqMRR7z7mneaeRC51/DnH4uNA3F17OjdqGBgozd4EJTW L/jfojEXLKdSbIgYjIwbbx3uswGOGzGFdSvrv1YhzQcrt8dyJJujpHM7/yMegmJU2Nby 89RXwxyPAnS5sJwsJ8uxfSdfiHevIS9Xaq4Es= MIME-Version: 1.0 Received: by 10.216.56.65 with SMTP id l43mr1216956wec.113.1298216944807; Sun, 20 Feb 2011 07:49:04 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 20 Feb 2011 07:49:04 -0800 (PST) Date: Sun, 20 Feb 2011 15:49:04 +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: yRe: 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 15:49:06 -0000 U On Sunday, 20 February 2011, 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(6= 4K) > =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) as I thought realigning the boot partition didn't help >