From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 10 14:42:33 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 05B0E1065688 for ; Fri, 10 Oct 2008 14:42:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 921A78FC1C for ; Fri, 10 Oct 2008 14:42:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA08.westchester.pa.mail.comcast.net with comcast id R2dQ1a01A16LCl0582hETK; Fri, 10 Oct 2008 14:41:14 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.westchester.pa.mail.comcast.net with comcast id R2hC1a00F2P6wsM3S2hCCP; Fri, 10 Oct 2008 14:41:14 +0000 X-Authority-Analysis: v=1.0 c=1 a=nOJ1pGDTh_cA:10 a=QycZ5dHgAAAA:8 a=yIrVwuVQQqKs7Gv1ov4A:9 a=RSr9XloNvUsri024B51Oe-uKWjMA:4 a=EoioJ0NPDVgA:10 a=ttedcufwrkMA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D267AC9419; Fri, 10 Oct 2008 07:41:11 -0700 (PDT) Date: Fri, 10 Oct 2008 07:41:11 -0700 From: Jeremy Chadwick To: Evren Yurtesen Message-ID: <20081010144111.GA34609@icarus.home.lan> References: <200810091411.m99EB0Vo007538@lurza.secnetix.de> <20081010023428.87556dt18ejyzf48@mail.ispro.net> <20081009200641.60d0b236@bhuda.mired.org> <48EF5052.2000707@ispro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EF5052.2000707@ispro.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Sean Bruno , freebsd-hackers@FreeBSD.ORG, Mike Meyer , Oliver Fromme , Shaun Amott Subject: Re: continuous backup solution for FreeBSD 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: Fri, 10 Oct 2008 14:42:33 -0000 On Fri, Oct 10, 2008 at 03:53:38PM +0300, Evren Yurtesen wrote: > Mike Meyer wrote: >> On Fri, 10 Oct 2008 02:34:28 +0300 >> yurtesen@ispro.net wrote: >> >>> Quoting "Oliver Fromme" : >>> >>>> These features are readily available right now on FreeBSD. >>>> You don't have to code anything. >>> Well with 2 downsides, >> >> Once you actually try and implement these solutions, you'll see that >> your "downsides" are largely figments of your imagination. > > So if it is my imagination, how can I actually convert UFS to ZFS > easily? Everybody seems to say that this is easy and that is easy. It's not that easy. I really don't know why people are telling you it is. Converting some filesystems are easier than others; /home (if you create one) for example is generally easy: 1) ZFS fs is called foo/home, mounted as /mnt 2) fstat, ensure nothing is using /home -- if something is, shut it down or kill it 3) rsync or cpdup /home files to /mnt 4) umount /home 5) zfs set mountpoint=/home foo/home 6) Restart said processes or daemons "See! It's like I said! EASY!" You can do this with /var as well. Now try /usr. Hope you've got /rescue available, because once /usr/lib and /usr/libexec disappear, you're in trouble. Good luck doing this in multi-user, too. And finally, the root fs. Whoever says "this is easy" is kidding themselves; it's a pain. You get to make a new filesystem called /boot, and have all sorts of fun. It's really not a snap-fingers-voila thing, and I will gladly argue with anyone who thinks otherwise. Is it do-able though? Yes. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |