Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 11:48:18 +0100
From:      krad <kraduk@gmail.com>
To:        Jeff Chan <jeffc@supranet.net>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: ZFS snapshot restore not quite working; missing steps?
Message-ID:  <CALfReye1xLLKg41ER20vr0GBc-VbDyHmf9=82o70tpojDMK5eQ@mail.gmail.com>
In-Reply-To: <1787422322.20140519221438@supranet.net>
References:  <1129127016.20140517185154@supranet.net> <1198503903.20140518030907@supranet.net> <F8DBD16F6101498A98AA04D29C1FD596@multiplay.co.uk> <236659679.20140518035326@supranet.net> <3E3DCC6DED864A519B02A398B92D1994@multiplay.co.uk> <1879018434.20140519191844@supranet.net> <C791C5E9A90A4D7BB68E39222DC5ABE7@multiplay.co.uk> <1787422322.20140519221438@supranet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
this is what my pool cachefile is set to

[root@carrera /home/krad]# ls -ltr /boot/zfs/zpool.cache
-rw-r--r--  1 root  wheel  1060 Mar 31 11:01 /boot/zfs/zpool.cache
[root@carrera /home/krad]# df -h /boot/zfs/.
Filesystem          Size    Used   Avail Capacity  Mounted on
spool/ROOT/april     11G    1.4G    9.7G    12%    /
[root@carrera /home/krad]# zpool get cachefile,bootfs spool
NAME   PROPERTY   VALUE             SOURCE
spool  cachefile  -                 default
spool  bootfs     spool/ROOT/april  local


you are setting it differently, try the default setting and see if it helps.




On 20 May 2014 06:14, Jeff Chan <jeffc@supranet.net> wrote:

> On Monday, May 19, 2014, 7:26:35 PM, Steven Hartland wrote:
> > ----- Original Message -----
> > From: "Jeff Chan" <jeffc@supranet.net>
>
>
> >> 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.
>
> Thanks Steve,
> Do you have a reference for  vfs.zfs.min_auto_ashift=12?
>
> Cheers,
>
> Jeff C.
> --
> Jeff Chan
> mailto:jeffc@supranet.net
> http://www.jeffchan.com/
>
> _______________________________________________
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReye1xLLKg41ER20vr0GBc-VbDyHmf9=82o70tpojDMK5eQ>