From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 12:27:21 2010 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 2E9E3106564A for ; Sun, 8 Aug 2010 12:27:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE978FC19 for ; Sun, 8 Aug 2010 12:27:20 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o78CRFBl036591 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 8 Aug 2010 13:27:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C5EA29B.7040401@infracaninophile.co.uk> Date: Sun, 08 Aug 2010 13:27:07 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Dick Hoogendijk References: <4C5E9874.3030606@nagual.nl> In-Reply-To: <4C5E9874.3030606@nagual.nl> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAEC34F8BA604A6FB1B7938B2" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_05,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd questions Subject: Re: zfs question 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: Sun, 08 Aug 2010 12:27:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEC34F8BA604A6FB1B7938B2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/08/2010 12:43:48, Dick Hoogendijk wrote: > Years back I ran FreeBSD, so I have some experience. The last couple o= f > years I ran Solaris, followed by Opensolaris. I am very satisfied. > However, considering the troubles after Oracle took over I have rebuild= > my server system under FreeBSD-8.1 (now running as a virtual machine > under VirtualBox). All works very well and smooth so I'm going to > transfer this VM to a real seperate harddisk. >=20 > I have a couple of questions: >=20 > [1] Transfering the VM is best done using dump/restore I guess? (This > after a smallest creation of fbsd81 on the new harddisk) ? Yes, that would be a pretty good way of doing your vtophys migration. > My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 > (1Tb) The fist is disabled at the moment and the others are ZFS mirrors= > under opensolaris. they are not usable for freebsd because the zfs > versions don't match. I will have to rebuild. ;-) % zpool list -H -o version zroot 14 % zfs list -H -o version / 3 Those are the latest available under 8-STABLE -- 8.1-RELEASE will be the same. > However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I > don't want my system to boot off ZFS like I have now on OpenSolaris-b13= 4 >=20 > I think it is wisest to have the 160Gb IDE drive installed for FreeBSD > system drive w/ UFS2 and after that create two ZFS mirrors from my SATA= > drives. Hmmm... well, booting FreeBSD off ZFS works perfectly well. Apart from the lack of support in sysinstall, I can't see any good reasons to avoid it. However, it's your system, and booting from UFS also works very well, so do whatever pleases you. There's more of a question over whether it's a good idea to put swap onto zfs -- I think the recommendation is still to prefer using a raw partition or gmirror for that. > Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I > still need special settings? The server system is 64bits and has 3Gb > memory. Yes. It works very well. On amd64 you'll get a pretty reasonable setup out of the box (so to speak) which will work fine for most purposes. Of course, if your system has particularly demanding IO patterns, then you may have to tweak some loader.conf or sysctl parameters to get the best results. But that's hardly unique to ZFS. > I hope to get some answers or good reading points. The FreeBSD Wiki entries on ZFS are very useful to read: http://wiki.freebsd.org/ZFS (and the links from that page) especially the recipes for installing various different ZFS based configurations: eg. http://wiki.freebsd.org/RootOnZFS Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigAEC34F8BA604A6FB1B7938B2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxeoqIACgkQ8Mjk52CukIyshgCdFueqNCCY0hqkT043pQQhrVqH Q3IAn2YwAbtJEkLFewnd0LCV+goZCny1 =hH8K -----END PGP SIGNATURE----- --------------enigAEC34F8BA604A6FB1B7938B2--