From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 13:30:27 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 169611065673 for ; Sun, 8 Aug 2010 13:30:27 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id B95E98FC17 for ; Sun, 8 Aug 2010 13:30:26 +0000 (UTC) Received: by qwg5 with SMTP id 5so5314129qwg.13 for ; Sun, 08 Aug 2010 06:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=D0RcEqdyEIhgbXzaPZetRMHYNLQtVoHMpj2P+wdA/go=; b=L0HjGLQKvmw6/JhKBu4ipsYcRhgkMKzwuhQCMRH4MdwC8dcAqZfyZXguJ7efvmYPJd 5gwTcOLYOvUFQ9IelTG+MG3cQFhvFvYBm2ZT5BnIlTVSnaX1JeA3H/fxRasnPFqQnRQq 609WhPj7DqrdlZ9fipOUvJkfzxVrKzugs3iWQ= 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 :cc:content-type; b=qGiYH2tmqpYUInbmF4UT+leXb3vat+Xf74FFM6ivZ7PJ2iPcXJrEywT65OSZjtC/FS 1u8EDhxLMYioaHuCM+PXPGti5CI5fJbjNum/Y3h3F+wC2BchUn4TexNnnNXN5XkM1azu roMJWBmc/W9jcwnBYX0wt4o8n+5m6+NzgsZSw= MIME-Version: 1.0 Received: by 10.229.251.134 with SMTP id ms6mr6433942qcb.55.1281274225811; Sun, 08 Aug 2010 06:30:25 -0700 (PDT) Received: by 10.229.250.140 with HTTP; Sun, 8 Aug 2010 06:30:25 -0700 (PDT) In-Reply-To: <4C5EA29B.7040401@infracaninophile.co.uk> References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> Date: Sun, 8 Aug 2010 14:30:25 +0100 Message-ID: From: krad To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dick Hoogendijk , 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 13:30:27 -0000 On 8 August 2010 13:27, Matthew Seaman wrote: > On 08/08/2010 12:43:48, Dick Hoogendijk wrote: > > Years back I ran FreeBSD, so I have some experience. The last couple of > > 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. > > > > I have a couple of questions: > > > > [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-b134 > > > > 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 > > -- > 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 > > if you want an easy zfsroot install use the pcbsd installer as it supports zfs installation and can install plain freebsd