Date: Sun, 20 Mar 2011 13:01:57 +0000 (UTC) From: Michael Reifenberger <mr@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219799 - head/tools/tools/nanobsd/rescue/Files/root Message-ID: <201103201301.p2KD1vah079543@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mr Date: Sun Mar 20 13:01:57 2011 New Revision: 219799 URL: http://svn.freebsd.org/changeset/base/219799 Log: Add a file with some remarks for setting up a zfs boot environment Added: head/tools/tools/nanobsd/rescue/Files/root/ZFS_Create.txt (contents, props changed) Added: head/tools/tools/nanobsd/rescue/Files/root/ZFS_Create.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/tools/nanobsd/rescue/Files/root/ZFS_Create.txt Sun Mar 20 13:01:57 2011 (r219799) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +Some remarks for setting up a zfs boot environment + +ZFS Boot sctructure: +boot ++-ROOT + +-root +[+-root2] +[+-root3] + +zpool create -o mountpoint=none boot ... +zpool set listsnapshots=on boot + +zfs create -o mountpoint=/mnt boot/ROOT +zfs create boot/ROOT/root + +Fill -> /mnt/root + +cp /boot/zfs/zpool.cache /mnt/root/boot/zfs/zpool.cache +zpool set bootfs=boot/ROOT/root boot + +set in /mnt/root/boot/loader.conf +#ZFS mandatory +zfs_load="YES" +vfs.root.mountfrom="zfs:boot/ROOT/root" +#ZFS optional +vm.kmem_size="8G" +vfs.zfs.arc_min="1G" +vfs.zfs.arc_max="2G" +vfs.zfs.prefetch_disable="1" +vfs.zfs.zil_disable=1 +vfs.zfs.zio.use_uma=0 +#Power savings +hw.pci.do_power_nodriver=3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103201301.p2KD1vah079543>