Date: Wed, 24 Sep 2008 10:33:15 -0400 From: "B. Cook" <bcook@poughkeepsieschools.org> Cc: freebsd-questions@freebsd.org Subject: Re: quick slice question.. Message-ID: <1290221F-10BF-456A-81F5-A0F5F39E66E9@poughkeepsieschools.org> In-Reply-To: <8995AD16-46C2-4E97-A821-92B501FC65AC@poughkeepsieschools.org> References: <8995AD16-46C2-4E97-A821-92B501FC65AC@poughkeepsieschools.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1290221F-10BF-456A-81F5-A0F5F39E66E9>