From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 06:31:52 2004 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 47B0D16A4CE for ; Sun, 25 Jan 2004 06:31:52 -0800 (PST) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D724643D48 for ; Sun, 25 Jan 2004 06:31:50 -0800 (PST) (envelope-from robert@webtent.com) Received: from columbus (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i0PEVej10144; Sun, 25 Jan 2004 09:31:41 -0500 From: Robert Fitzpatrick To: Matthew Seaman In-Reply-To: <20040125110337.GA5755@happy-idiot-talk.infracaninophile.co.uk> References: <1074986019.4114.53.camel@columbus> <20040125110337.GA5755@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1075041101.5739.14.camel@columbus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 25 Jan 2004 09:31:41 -0500 Content-Transfer-Encoding: 7bit cc: FreeBSD Subject: Re: Mounting free space 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: Sun, 25 Jan 2004 14:31:52 -0000 On Sun, 2004-01-25 at 06:03, Matthew Seaman wrote: > You need to edit that, using the command: > > # bsdlabel -e aac0s1 > > which will put you into the editor specified in your $EDITOR > environment variable (defaults to: vi(1)) with that text in there. > Edit the text so that it looks like: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 71681967 0 unused 0 0 > h: 71681967 0 4.2BSD 1024 8192 16 > > [ie. copy the 'size' value that your system automatically puts into > the c: partition entry] > This is what I have below, I added the labels to the right of how I'm using them now and they were setup during install. The whole disk is used for FreeBSD. I know that I have 100GB of free space left on the c: partition. What I'd like to do is take 20GB of that free space only and make mount it. That 100MB is for remote backup of some clients, I have one now that will be sending up to 20GB. Next week, I may create another 5GB for another customer. I like the idea of having a separate partition for each customers data. 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4096000 0 4.2BSD 2048 16384 28552 # / 2000MB b: 4139008 4096000 swap c: 312448122 0 unused 0 0 # "raw" part, don't edit d: 40960000 8235008 4.2BSD 2048 16384 28552 # /usr 20000MB e: 20480000 49195008 4.2BSD 2048 16384 28552 # /var 10000MB f: 2048000 69675008 4.2BSD 2048 16384 28552 # /tmp 1000MB g: 35923968 71723008 4.2BSD 2048 16384 28552 # /home 17541MB Anyway, I just want to take part of the free space, not all of it, right now, and want to be sure about what I'm doing. How do I get just that 20GB setup? Using your example, is this what I need to do in the editor: # size offset fstype [fsize bsize bps/cpg] > c: 71681967 0 unused 0 0 > h: 40960000 0 4.2BSD 1024 8192 16 Thanks for the great instructions. -- Robert