From owner-freebsd-fs@FreeBSD.ORG Tue May 20 13:33:56 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A119C7; Tue, 20 May 2014 13:33:56 +0000 (UTC) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43E1D25F5; Tue, 20 May 2014 13:33:56 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id l6so505087oag.18 for ; Tue, 20 May 2014 06:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Kbao+SYo4A9R8KfKo26sP4ZbWj1I6F8TF2gQQYxXx4Q=; b=qYVKx6I/rWBDFinezjpbp5BVkdXCDXca80LCg/tW0vY6YqWIboyhoBdOdu4kagmCag VKGwtqeDs5ldkcxczsVV+ivV+lVOmG5/2PO2jNCH8/ZG/HeUDAI+vw5QkKu63k06MG/H qDXBNjxgOYfVLhVbUzOUZenU8nR4aEQDqVYfE+Tf/BLSBGeuU+GzNm0OAI23lwe6FlJ8 j10l769f3E1JWze+BrZ4SS4no2yQkUdMx+ntfzVayeYb0/496klSxt0bnqmBbf29Yr7j g+BInvyMWkA5TOlfkuU8ZxUjIvAELxrEF4aS6PNDj2oso12BQx97WEkkrWwsfy27Sn0z KyrQ== MIME-Version: 1.0 X-Received: by 10.182.43.132 with SMTP id w4mr43632924obl.41.1400592835421; Tue, 20 May 2014 06:33:55 -0700 (PDT) Received: by 10.76.116.231 with HTTP; Tue, 20 May 2014 06:33:55 -0700 (PDT) In-Reply-To: <2dce8d576665e2f89fef4567e54589e4@mail.mikej.com> References: <1129127016.20140517185154@supranet.net> <1198503903.20140518030907@supranet.net> <236659679.20140518035326@supranet.net> <3E3DCC6DED864A519B02A398B92D1994@multiplay.co.uk> <1879018434.20140519191844@supranet.net> <2dce8d576665e2f89fef4567e54589e4@mail.mikej.com> Date: Tue, 20 May 2014 14:33:55 +0100 Message-ID: Subject: Re: ZFS snapshot restore not quite working; missing steps? From: krad To: Michael Jung Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD FS , owner-freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 13:33:56 -0000 put it in sysctl.conf its only really needed at pool creation time anyhow, once the pool is built the ashift is set On 20 May 2014 13:49, Michael Jung wrote: > On , Steven Hartland wrote: > >> ----- Original Message ----- From: "Jeff Chan" >> >> >> Update: using the most current FreeBSD 9.0 - 9.2 ZFS instructions >>> on the wiki page for the initial configuration caused the booting >>> to ZFS to work: >>> >>> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE >>> >>> including the GNOP trick, since these drives are "advanced format" and >>> greater than 2TB size, and the -a 4k alignment to 4k sectors when >>> creating the ZFS partitions. >>> >> >> On later versions you can set vfs.zfs.min_auto_ashift=12 to achieve the >> same thing as the GNOP trick, but thats only needed if your drive doesn't >> have a 4k quirk in our codebase. >> >> Regards >> Steve >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >> > > > > Steve, > > FreeBSD firewall 10.0-STABLE FreeBSD 10.0-STABLE #0 r266313: Sat May 17 > 11:52:18 EDT 2014 root@firewall:/usr/obj/usr/src/sys/VT amd64 > > > Even though /boot/loader.conf contains vfs.zfs.min_auto_ashift=12 the > value does not get set. > > [mikej@firewall ~]$ cat /boot/loader.conf > zfs_load="YES" > kern.maxswzone=16777216 > vfs.zfs.min_auto_ashift=12 > [mikej@firewall ~]$ > > > [mikej@firewall ~]$ sysctl -a | grep ashift > vfs.zfs.max_auto_ashift: 13 > vfs.zfs.min_auto_ashift: 9 > [mikej@firewall ~]$ > > > Regards, > --mikej > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >