From owner-freebsd-current Mon Jan 6 13:34:45 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C480F37B401; Mon, 6 Jan 2003 13:34:42 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id B720F43ED4; Mon, 6 Jan 2003 13:34:41 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h06LYdFM034292; Mon, 6 Jan 2003 16:34:39 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Mon, 6 Jan 2003 16:34:37 -0500 To: Nate Lawson , "David O'Brien" From: Garance A Drosihn Subject: Re: mirrored root fs? Cc: current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:54 AM -0800 1/6/03, Nate Lawson wrote: >On Mon, 6 Jan 2003, David O'Brien wrote: >> On Mon, Jan 06, 2003 at 10:27:21AM -0800, Nate Lawson wrote: > > > I'd like to have a mirrored root partition. I tried ccd(4) > > > but the boot blocks couldn't find the fs. Any idea how much > > > work it would take to enable booting a ccd root? Also, does > > > vinum already support this? > > > > I've moved ccdconfig and ccd.conf to /boot and made /boot its > > own FS, with the intention of doing what you want to do. I > > never got around to testing this setup. :-( > >That is suboptimal for me since I'd still have to manually mirror >the /boot partition (dd) every time I updated the kernel. Not a >huge problem but not quite what I want to do. That is not necessarily a problem. I've meant to setup something where I would create a snapshot of the root partition, and then duplicate data from that snapshot to a different partition. My thinking was that I could set this up as a cron job, and back up the root partition every night. Probably do a 'dd' or an 'rsync', followed by a step to change /etc/fstab on the destination so it would be right for the destination. ("create a snapshot" in the UFS/softupdates sense of the phrase) This wouldn't be as up-to-date as official mirroring, but then my root partition doesn't change all that much, so a daily snapshot should be fine. Of course, I've never actually gotten around to implementing this, but my guess is that it's very doable and the result would be very flexible. (no special hardware, no special software, no special configs) About all I've done is that I always create a spare partition that's the same size as my root partition, and occasionally I test a backup to it... :-) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message