From owner-freebsd-questions@FreeBSD.ORG Tue Aug 4 13:17:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F730106566C for ; Tue, 4 Aug 2009 13:17:13 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1B78E8FC14 for ; Tue, 4 Aug 2009 13:17:12 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: by bwz2 with SMTP id 2so2908687bwz.43 for ; Tue, 04 Aug 2009 06:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=D2y7BZCMWKXovrpksYl5ZqkMLIolSO3sXpnyzQLH7Ns=; b=wZXRBEFSxoHlgT0SM6qOX+sJlLR279MjekhJYokQ2B8pvacfMY9QyURbk3M8a9RkGI IoYeRzPQvHYDwWVGQEtvkspycJcA4WasIo+VdA+j1+NKGMVZHj/i5z3K0+9G9+XZWKKC ttL+NcDtkRYfeqfIeNqqPrhQpwrsr2clgugF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JdTnfep5DKNMJgpmljJlOst2mdxhNJFP9m2AmRhUsHQDN6UeVV7pvU/ST1ZqtY3/pL TSB8Mcs8ZrooGcD49PfPAqp4+V4SIlbCyyLzE8rgDz1M/XJ8JyKhRgCsk7JE6T6bLVUj 13hVFUpR4NQIixUHxWZlb+MCVMbDzacOPw9KQ= MIME-Version: 1.0 Received: by 10.103.193.13 with SMTP id v13mr952135mup.68.1249391831538; Tue, 04 Aug 2009 06:17:11 -0700 (PDT) In-Reply-To: References: <1323617427.513901249318108621.JavaMail.root@mail-01.cse.ucsc.edu> <4A77DE98.5000707@mapper.nl> Date: Tue, 4 Aug 2009 14:17:11 +0100 Message-ID: From: chris scott To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ZFS Boot Support from Installer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 13:17:13 -0000 My zfs only system works fine but it based on 8-beta2 built around 16 May( will be rebuilding soon) The main thing to remember to do it make sure your have zfs_loader_support="yes" in your src of make.conf I based my install on this howto http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD If you dont want to go for current in theory if you install the boot blocks and loader from current onto the disk you should be able to boot into 7.2 I havent tested this though On thing I would advise though is don't install the root partition in the root of the zpool I have mine like this system 68.1G 74.6G 21K /system system/home 59.3G 74.6G 59.3G /home system/local-old 952M 74.6G 952M /system/local-old system/root 4G 77.1G 1.53G legacy system/scripts 20K 74.6G 20K /usr/local/scripts system/tmp 31K 4.00G 31K /tmp system/usr-local 396M 74.6G 324M /usr/local system/usr-obj 1.85G 74.6G 1.65G /usr/obj system/usr-ports 193M 74.6G 185M /usr/ports system/usr-ports/distfiles 8.53M 74.6G 8.53M /usr/ports/distfiles system/usr-src 499M 74.6G 303M /usr/src system/var 1014M 74.6G 776M /var system/var/log 192M 74.6G 192M /var/log system/var/mysql 46.4M 74.6G 46.4M /var/db/mysql I did it like this as it is more like an opensolaris setup. If i wanted to say run a new os build I could say install it on a new zfs fs called say root_YYYYMMDD which would be a clone of the original root. I could then flip flop between these installations by resetinng the bootfs option of the pool