From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 18:49:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E25B1106564A for ; Tue, 27 Jan 2009 18:49:41 +0000 (UTC) (envelope-from vlad.sekulic@utoronto.ca) Received: from bureau63.ns.utoronto.ca (bureau63.ns.utoronto.ca [128.100.132.160]) by mx1.freebsd.org (Postfix) with ESMTP id 872D68FC2A for ; Tue, 27 Jan 2009 18:49:41 +0000 (UTC) (envelope-from vlad.sekulic@utoronto.ca) Received: from localhost (webmail7.ns.utoronto.ca [128.100.132.79]) by bureau63.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id n0RIna0c022331; Tue, 27 Jan 2009 13:49:37 -0500 Received: from sb-sys.cs.toronto.edu (sb-sys.cs.toronto.edu [128.100.5.75]) by webmail.utoronto.ca (Horde MIME library) with HTTP; Tue, 27 Jan 2009 13:49:36 -0500 Message-ID: <20090127134936.02bl16g2s4g4o8gw@webmail.utoronto.ca> Date: Tue, 27 Jan 2009 13:49:36 -0500 X-ID: sekulicv From: Vladislav Sekulic To: Jerry McAllister References: <20090126220411.b9c04ypy0wo04wkk@webmail.utoronto.ca> <20090127155314.GC91587@gizmo.acns.msu.edu> In-Reply-To: <20090127155314.GC91587@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2009.1.27.183729 Cc: freebsd-questions@freebsd.org Subject: Re: Adding partitions to gmirror device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 18:49:42 -0000 Thanks, Wojciech and Jerry, for your help. Quoting Jerry McAllister : > First of all, you say that you have allocated 27GB of 238GB available. > Is that 238GB in the existing slice - gm0s1 or is it outside of > that slice? (NOTE, the 's' in the device name stands for slice - > so it is slice 1 of a possible 4). > It's 27GB used within the existing slice; gm0s1 spans the entire disk. > It could be helpful if you posted you /etc/fstab file and also > what is printed if you do: bsdlabel gm0s1 or, if it is what > they call 'dangerously dedicated' do: bsdlabel gm0 > $ sudo bsdlabel /dev/mirror/gm0s1 # /dev/mirror/gm0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 0 4.2BSD 2048 16384 8 b: 8320016 1048576 swap c: 488375937 0 unused 0 0 # "raw" =20 part, don't edit d: 2097152 9368592 4.2BSD 2048 16384 28528 e: 10485760 11465744 4.2BSD 2048 16384 28528 f: 41943040 21951504 4.2BSD 2048 16384 28528 > If it is all in that gmos1 slice, then just use bsdlabel on that > slice to add the rest to another partition within that slice. Just > boot from something other than that mirror, make sure nothing > in gm0 is mounted and then do: bsdlabel -e gm0s1 and fix it > up as needed. > Great, makes sense. I'll boot from the FreeBSD livecd and do this. Thanks again! Vlad -- Vladislav Sekulic Research Computing System Administrator Systems and Networks Research Group Dept. of Computer Science, University of Toronto http://www.cs.toronto.edu/~pocsys