From owner-freebsd-current Thu Dec 7 16:44: 3 2000 From owner-freebsd-current@FreeBSD.ORG Thu Dec 7 16:43:58 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from thelab.hub.org (CDR22-166.accesscable.net [24.138.22.166]) by hub.freebsd.org (Postfix) with ESMTP id A91F037B400 for ; Thu, 7 Dec 2000 16:43:57 -0800 (PST) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id eB80gdw40312; Thu, 7 Dec 2000 20:42:39 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 7 Dec 2000 20:42:33 -0400 (AST) From: The Hermit Hacker To: "Rogier R. Mulhuijzen" Cc: growfs@tomsoft.com, freebsd-current@FreeBSD.ORG Subject: Re: growfs(8) for FreeBSD In-Reply-To: <4.3.2.7.0.20001207213006.00be4600@mail.drwilco.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erk, I fear you mis-understand ... FreeBSD has a feature called 'VINUM', which is a volume manager ... basically, it allows you to create RAID or Stripe'd file systems (or concat ones) ... what growfs allows is someone to add an n+1 drive to their RAID/Stripe and increase the size of the file system by that drive, without having to backup the drive, re-format and then restore ... I've used Solaris' version and have been much waiting for it to become available under FreeBSD ... On Thu, 7 Dec 2000, Rogier R. Mulhuijzen wrote: > Is it also capable of shrinking filesystems? I've sometimes wanted to grow > my /var or / slice using space freed by shrinking /usr (on a default > partitioned disk). Up to now I've solved it through symlinks, but that > doesn't really deserve the beauty award. I'd imagine a lot of new users > wouldn't mind being able to change partition size on a fully configured > machine without having to resort to backup, reslice, restore.... > > Anyways, sounds like a very handy tool already! > > Just my $0,02 > > DocWilco > > At 10:34 7-12-00 -0800, you wrote: > >Hi, > > > >Due to vinum it is no problem to add disks and grow your volumes but up to > >now you couldn't easily make use of that new space for a file system, except > >using sequence of ufsdump/newfs/ufsrestore or something similar. > > > >Thomas (tomsoft@freebsd.org) and me (chm@freebsd.org) have written a growfs(8) > >for FreeBSD. Currently we can only grow unmounted file systems (in a clean > >state) without any active snapshots inside. It is foreseen to enhance > >growfs to > >grow mounted file systems as well, and handle active snapshots correctly. > >This requires some infrastructure which is then only available in FreeBSD-5, > >whilst the current design runs also happily on FreeBSD-4 and FreeBSD-3 > >(tested) and possibly even on FreeBSD-2 (untested). > > > >To help us gathering the needed data for fixing bugs in growfs we additionally > >wrote ffsinfo(8), a (very) extended version of dumpfs. > > > >We've sent a couple of snapshots of our code to Kirk McKusick and to Greg > >Lehey. Greg also volunteered :-) for reviewing the code. We also maintain > >some sort of (for some contractual reasons unilaterally) contact with Don > >Coleman who is doing the same thing for BSD/OS. > > > >-- > >Ciao > > > > > > Christoph &:-) > > > > > > > >M$: Where do you want to go today? > >Linux: Where do you want to go tomorrow? > >FreeBSD: Are you guys comming, or what? > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-current" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message