From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 14:33:17 2008 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 196C6106568F for ; Wed, 24 Sep 2008 14:33:17 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from mail.poughkeepsieschools.org (mail.poughkeepsieschools.org [64.72.66.117]) by mx1.freebsd.org (Postfix) with ESMTP id E29238FC0C for ; Wed, 24 Sep 2008 14:33:16 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from [10.20.0.10] (port=49981 helo=mbookpro.tcentral.lan) by mail.poughkeepsieschools.org with esmtpsa (TLSv1:AES128-SHA:128) (BSD WebSolutions, Inc.) (envelope-from ) id 1KiVQZ-000Fxj-Ss for freebsd-questions@freebsd.org (authenticated as bcook@poughkeepsieschools.org); Wed, 24 Sep 2008 10:33:16 -0400 X-BSD-Virus-Check: ClamAV 0.93.1/8324 on mail.poughkeepsieschools.org; Wed, 24 Sep 2008 10:33:16 -0400 Cc: freebsd-questions@freebsd.org Message-Id: <1290221F-10BF-456A-81F5-A0F5F39E66E9@poughkeepsieschools.org> From: "B. Cook" In-Reply-To: <8995AD16-46C2-4E97-A821-92B501FC65AC@poughkeepsieschools.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 24 Sep 2008 10:33:15 -0400 References: <8995AD16-46C2-4E97-A821-92B501FC65AC@poughkeepsieschools.org> X-Mailer: Apple Mail (2.929.2) Subject: Re: quick slice question.. 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: Wed, 24 Sep 2008 14:33:17 -0000 On Sep 23, 2008, at 3:33 PM, B. Cook wrote: > I have slices a, d, e, f, g, and h.. I wouldn't be able to get one > more would I? > > using gmirror and RELENG_7_0.. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " So after reading many messages regarding sysinstall and gmirror not liking to work with each other.. what fdisk, dd, disklabel commands am I looking for to create a second slice in my gmirror raid? fdisk ******* Working on device /dev/mirror/gm0 ******* parameters extracted from in-core disklabel are: cylinders=30394 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=30394 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 488279547 (238417 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: fdisk -p # /dev/mirror/gm0 g c30394 h255 s63 p 1 0xa5 63 488279547 a 1 at the moment I have a /dev/mirror/gm0s1d that is /usr/local/www I need to make that into a slice so that I can mount /usr/local/www and / usr/local/dev. So my current fstab looks like this for this entry: /dev/mirror/gm0s1d /usr/local/www ufs rw 2 2 what I think I am looking to end up with is this: /dev/mirror/gm0s2a /usr/local/www ufs rw 2 2 /dev/mirror/gm0s2b /usr/local/dev ufs rw 2 2 Would it be easier to break the raid, add the slice then recreate the raid again? Thanks again in advance.