From owner-freebsd-questions@FreeBSD.ORG Fri Aug 8 10:59:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA2C737B401 for ; Fri, 8 Aug 2003 10:59:35 -0700 (PDT) Received: from transpacific.net (lincoln.transbay.net [209.133.53.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB0143F75 for ; Fri, 8 Aug 2003 10:59:35 -0700 (PDT) (envelope-from sreese@codysbooks.com) Received: from [192.168.0.24] (stalwart.codysbooks.com [209.133.54.175]) by transpacific.net (8.11.6p2/8.11.4) with ESMTP id h78HxXu70463; Fri, 8 Aug 2003 10:59:33 -0700 (PDT) From: Scott Reese To: Lowell Gilbert In-Reply-To: <444r0savgo.fsf@be-well.ilk.org> References: <1060193827.95208.15.camel@borges> <444r0savgo.fsf@be-well.ilk.org> Content-Type: text/plain Organization: Cody's Books, Inc. Message-Id: <1060365667.58365.13.camel@borges> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 08 Aug 2003 18:01:07 +0000 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: growfs how-to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 17:59:35 -0000 On Fri, 2003-08-08 at 17:51, Lowell Gilbert wrote: > Scott Reese writes: > > > My old 20G drive in my 5.1-RELEASE box started to die last week, so I > > got a new drive (a 40G Seagate) and used Norton Ghost to copy over > > everything from the old drive to the new drive. At the moment, FreeBSD > > still thinks I've only got a 20G drive and I have 20 Gigs of unused > > space. I was thinking of using growfs in order to grow my /usr > > partition to fill the rest of the drive. I've read the man pages for > > growfs, bsdlabel and fdisk but I'm a bit confused about how I should go > > about using these tools to do what I want as I've never really used them > > before except on a new installation. So here are my questions: how > > safe is it to use growfs for this purpose? Can anyone provide or does > > anyone know of a good step-by-step tutorial for this sort of thing? I > > searched around on the web but couldn't find anything useful. > > This is the type of thing it's for. It's a pretty simple interface, > so I don't know how much more of a "how-to" you could get than the > manual already provides... Then perhaps I'm just dense or something...like I said, I've read the man pages for all the tools involved, but they are short on practical examples. From what I've read so far, I would need to re-label the slice to a larger size (?) and then use newfs to format the unused portion (?) and *then* use growfs. I don't have any experience actually doing any of these things on a live system. If I had examples laid out in a step-by-step format, then I would have a better understanding of what I'm supposed to do. The man pages read like stereo instructions and I just want to avoid the possibility that I'll have pieces left over and a nice, fresh, *blank* hard drive when I'm done. The step that scares me most is messing with the disklabels... -Scott