From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 11 20:44:40 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 014BD106568A for ; Sat, 11 Oct 2008 20:44:40 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id CA83A8FC13 for ; Sat, 11 Oct 2008 20:44:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so959066rvf.43 for ; Sat, 11 Oct 2008 13:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kr/GVxHX55WDTMjkU4na7SRV8NhlEt5OPDftz/RMFzw=; b=NJHphhKUCvricrUBlMSazvlrcApNwYtBERWRLW+74t5rdpReuK8EeEIOG74e54HKzp aLyzHEfSOH82m99QJkxAbkd86hZ3AKts54mO+A6eozMCUdbv6aLSnLJl+R3OGgJxES7i X78izG8hd0+3YF7BWPSgEAG3zripn6r00w90E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FUvGHakzj/ppHJExCCqO5CgGGl3Hp5fTisrtfMcG9uZnnej8lcXJWKytXQMJvY0uVA vJ2vxSHRrmAe/LNuiMBZWcIg603Gby0fCiQzNJD0SApSYwSOeOwdHv2Nh0S8PtV139BL sg6arjlJco/Cy8nOF0VzvYxmNKg9KHjiUSt1Q= Received: by 10.141.153.16 with SMTP id f16mr1740812rvo.17.1223757430695; Sat, 11 Oct 2008 13:37:10 -0700 (PDT) Received: by 10.141.168.12 with HTTP; Sat, 11 Oct 2008 13:37:10 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 20:37:10 +0000 From: "Freddie Cash" To: freebsd-hackers@freebsd.org In-Reply-To: <200810111810.m9BIAGPw059975@apollo.backplane.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810111810.m9BIAGPw059975@apollo.backplane.com> Subject: Re: ZFS boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 20:44:40 -0000 On 10/11/08, Matthew Dillon wrote: > With regards to the traditional BSD partitioning scheme, having a > separate /usr, /home, /tmp, etc... there's no reason to do that stuff > any more with ZFS (or HAMMER). As separate partitions, no. As separate filesystems, definitely. While HAMMER PFSes may not support these things yet, ZFS allows you to tailor each filesystem to its purpose. For example, you can enable compression on /usr/ports, but have a separate /usr/ports/distfilles and /usr/ports/work that aren't compressed. Or /usr/src compressed and /usr/obj not. Have a small record (block) size for /usr/src, but a larger one for /home. Give each user a separate filesystem for their /home/, with separate snapshot policies, quotas, and reservations (initial filesystem size). Creating new filesystems with ZFS is as simple as "zfs create -o mountpoint=/wherever pool/fsname". If you put a little time into planning the hierarchy/structure, you can take advantage off the properties inheritance features of ZFS as well. > You just need one, and can break it > down into separate management domains within the filesystem > (e.g. HAMMER PFS's). Similar kind of idea. > Most linux dists don't bother with multiple partitions any more. > They just have '/' and maybe a small boot partition, and that's it. Heh, that's more proof of the difficulties inherent with old-school disk partitioning, compared to pooled storage setups, than an endorsement of using a single partition/filesystem. :) -- Freddie Cash fjwcash@gmail.com