From owner-freebsd-questions@FreeBSD.ORG Wed Jul 21 11:08:40 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 5349A1065679 for ; Wed, 21 Jul 2010 11:08:40 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C899C8FC22 for ; Wed, 21 Jul 2010 11:08:39 +0000 (UTC) Received: by bwz12 with SMTP id 12so89449bwz.13 for ; Wed, 21 Jul 2010 04:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=2F7vCgQSnQ+GtdiDWA6kzvmjhHle01ZYkU2aJPd5Qyg=; b=HJC4BkPGc6IPbLIIuo5z0vTbSDfLRDN5VPofLCphsO/nawVhcjw8Cqbr4EtdnV8y0s S1r7n6pGXqh/hEkn6asz22OfQSquC2MTLsU9o5NE/3jVccqnS23YZjclb+j3MfdLWR+p oln5wJix6xpruzOfEXnlNBs1b+vZVsaZGVt28= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ovYgdK2iEHpqtVJJTy5nCt3AqDq7tGfWDPpvtphG6KK+Fqkm/WwMkWtRgo/dlRxqLb 5MH39QAX26L+yA417yItdVzYXgPIpDOwjj8BlYIErHBWJvqze1UyG27JDePHSEYNGiMw Kc0fS5LQU9C5ObbDFUNLjiVXp2unvGsq++l1g= Received: by 10.204.25.145 with SMTP id z17mr6072805bkb.104.1279710518388; Wed, 21 Jul 2010 04:08:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.76.68 with HTTP; Wed, 21 Jul 2010 04:08:18 -0700 (PDT) In-Reply-To: <4C46C356.6000101@comclark.com> References: <4C452644.6060508@comclark.com> <20100720134205.3168f4f1@scorpio> <4C45EA1C.6070601@comclark.com> <20100720153209.74ec26e6@scorpio> <4C45FCE1.7010006@comclark.com> <20100720163651.0daf727d@scorpio> <4C46BAAD.5000507@unsane.co.uk> <4C46C356.6000101@comclark.com> From: Valentin Bud Date: Wed, 21 Jul 2010 14:08:18 +0300 Message-ID: To: Aiza Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Vincent Hoffman Subject: Re: new jail utility is available. announcement. 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: Wed, 21 Jul 2010 11:08:40 -0000 On Wed, Jul 21, 2010 at 12:52 PM, Aiza wrote: > > Not yet, when I have a spare box I might, although I quite like using >> zfs for jails as you can limit the disk usage dynamically per zfs >> filesystem and I didnt see any support there yet, even basic support >> like there is with ezjail would be nice. >> >> > Zfs was left out because its over kill. Sparse image jails gives the same > protection at a 10th of the overhead. > > Hello community, ZFS shouldn't be left out. Besides limiting the disk usage dynamically per zfs FS you have another big advantage - snapshots. Suppose you want to upgrade ports is a jail and something goes kaboom you just revert to the previous working snapshot. I agree you can copy the image back and forth but zfs snapshots are faster and not that space consuming. The layout that I plan to use is the following: storage/jails |>storage/jails/group1 | | | |>storage/jails/group1/jail1 | |>storage/jails/group1/jail2 | |>storage/jails/group2 | |> ... | Group can be any kind of characteristic you want to take into account regarding those jails (eg. group1 - mail servers, group2 - web servers, groupX - companyY, etc.). You can also go with more levels of depth but for me it's enough. This way if your server doesn't handle all the jails you have running, simply buy new hardware, install FBSD (or just copy the ZFS root container over to the new system) and migrate the jails over. I am waiting for network stack virtualization to come out and dreaming about live jails migration in the future of FBSD :). I would like you to reconsider ZFS support and thanks for qjail :). a great day, v -- network warrior