From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 22:21:07 2008 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 6FD94106567A for ; Fri, 29 Feb 2008 22:21:07 +0000 (UTC) (envelope-from bp@barryp.org) Received: from itasca.hexavalent.net (itasca.hexavalent.net [67.207.138.180]) by mx1.freebsd.org (Postfix) with ESMTP id 490DC8FC2B for ; Fri, 29 Feb 2008 22:21:07 +0000 (UTC) (envelope-from bp@barryp.org) Received: from host-42-60-230-24.midco.net ([24.230.60.42] helo=eden.barryp.org) by itasca.hexavalent.net with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1JVCxO-00016S-KV for freebsd-fs@freebsd.org; Fri, 29 Feb 2008 15:39:54 -0600 Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JVCxI-0003RB-Hx; Fri, 29 Feb 2008 15:39:48 -0600 Message-ID: <47C87BB3.3010301@barryp.org> Date: Fri, 29 Feb 2008 15:40:03 -0600 From: Barry Pederson User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Forrest Aldrich References: <47C8656A.6080808@forrie.com> In-Reply-To: <47C8656A.6080808@forrie.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS as / filesystem on 7.0 ? 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: Fri, 29 Feb 2008 22:21:07 -0000 Forrest Aldrich wrote: > I recently updated my existing 6.x systems to 7.0. Excited to see ZFS > support, after looking through the current documentation, it doesn't > appear we can use ZFS as the / filesystem, or am I mistaken (or is that > even advisable). The sysinstall doesn't seem to provide you with the > option for ZFS on the newly created partitions. So I could have / as > UFS2 and /usr (et al) as ZFS. > > Could someone clarify? Perhaps I missed something in the documentation. > > > Thanks. You need to have /boot on a UFS partition, and then in /boot/loader.conf you can have something like zfs_load="YES" vfs.root.mountfrom="zfs:tank/root" so that the root filesystem is in ZFS. I doubt sysinstall supports any of that, you'll have to do it manually. There's a wiki page describing some of this. http://wiki.freebsd.org/ZFSOnRoot I've had good luck putting /boot on a CompactFlash device, and dedicating the entire regular harddisk(s) to ZFS (no slices or partitions). glabeling the disks before putting them into a ZFS pool seems to be a good idea too - that way they have a fixed name you can refer to that doesn't change if they get moved to different physical ports. Barry