From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 06:52:50 2008 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 DDD7A106567C for ; Tue, 2 Dec 2008 06:52:49 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 717808FC13 for ; Tue, 2 Dec 2008 06:52:49 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1511802nfh.33 for ; Mon, 01 Dec 2008 22:52:48 -0800 (PST) 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ysx3XMtPWE4gqb6MrrWrqo3uFGRFrwjivOGIlmWRxfw=; b=XWTiHgvJc7NMEfa11bguTU2e+xeE3e322L1cmQbYRDHPauH6/STai6U8IxSOEpN+FJ Fo0rXux50OlPtjirREczQGtxdzeNOOdiKg4haHyTzsO8oRvr/JiISjWoIftpq0i+xILK VaA6oqRX1yQdjZ9FvRHHlJEH07MDJV1CaeuBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uKi41sMqUT6IfFRhYg2Q0I++0VICNR/mc3jo5HxTg8fqI9btmmBs0VB8SuKlzC+8vh nhpbaB3jPBMREmHBBPcAhMK0dDN1a1xg7Ry4pcTiCmCg2r/z/jFst/c0ABFl9KMClZuh 49vIC2REevQD+c6wFizOId4D+Lkv/N9zyfkpU= Received: by 10.210.29.11 with SMTP id c11mr5975472ebc.141.1228200768108; Mon, 01 Dec 2008 22:52:48 -0800 (PST) Received: by 10.210.117.7 with HTTP; Mon, 1 Dec 2008 22:52:48 -0800 (PST) Message-ID: <139b44430812012252u45786fa6q888cf93d5f65bb67@mail.gmail.com> Date: Tue, 2 Dec 2008 08:52:48 +0200 From: "Valentin Bud" To: "Kirk Strauser" In-Reply-To: <200812011321.43430.kirk@strauser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200812010959.15647.kirk@strauser.com> <20081201184722.S10680@wojtek.tensor.gdynia.pl> <200812011321.43430.kirk@strauser.com> Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: Disenchanted with ZFS; alternatives? 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, 02 Dec 2008 06:52:50 -0000 On Mon, Dec 1, 2008 at 9:21 PM, Kirk Strauser wrote: > On Monday 01 December 2008 11:49:46 Wojciech Puchar wrote: > >> UFS is excellent. your problem is that you like to have "lots of >> filesystems". why don't just make one or one per disk? > > For all the usual reasons: faster fsck, ability to set attributes on each > filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause > problems in /var, etc. > > A big local reason is that Amanda is much easier to configure when you're using > a bunch of filesystems because it runs tar with --one-file-system set. If /var > is separate from / and I want to back them up separately, I just tell Amanda > to dump / and /var. If /var is part of / then I have to say "dump / except > for /var (and /tmp and /usr and ...)". Why don't you use the ZFS backup tools: snapshots, zfs send | receive (this in case you have a second box with zfs) or zfs send | [ tar | gzip | bzip ] to compress the snapshot and do whatever you want with it. The snapshots backup file system (data sets) and it's ultra fast: # du -h /home/user 20G /home/user # time zfs snapshot tank/home/user@021208 zfs snapshot tank/home/user@021208 0.00s user 0.00s system 0% cpu 0.855 total Now the compression will take a little more but you get the idea. a great day, v > >> i have one per disk/mirror configuration everywhere except one place where >> i made separate filesystem for /var/spool/squid for some reasons. > > Oh, there are definitely advantages to that setup. It just complicates certain > admin functions (see above). With something like ZFS that makes creating new > filesystems trivially easy, they're nice to use. > >> tell me what's your needs and how many/what disks you have. > > Right now I have a 750GB (with another on order) and a 320GB. The box is a > multi-purpose home server with mail, several websites, and a bunch of local > file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage). > >> UFS is best-performer on real load, runs on almost no RAM, but uses more >> if available for caching. > > That's my main beef with ZFS at the moment. I don't mind if it uses a lot of > RAM - that's what I bought it for! - but that it doesn't seem to use it > effectively (at least on my workload). > > - Kirk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >