Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 23:52:46 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Tom Munro Glass <gentoo@tmgcon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to add a slice and partition to a mirror
Message-ID:  <20090709225246.GA91508@mech-cluster238.men.bris.ac.uk>
In-Reply-To: <200907101012.56788.gentoo@tmgcon.com>
References:  <200907101012.56788.gentoo@tmgcon.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Jul 10, 2009 at 10:12:56AM +1200, Tom Munro Glass wrote:
> I have a FreeBSD 7.2 system that had two 37GB mirrored SCSI drives. These 
> contained a single slice filling the disk with separate partitions for swap, 
> /, /var, /usr and /home.
> 
> Yesterday one of the drives had a catastrophic failure - no problem, the 
> system still worked on one drive as it is supposed to. I have purchased two 
> new 74GB drives because I need more space.
> 
> With just the working 37GB drive connected, I ran:
> 
> # gmirror forget gm0
> 
> Then I connected one of the new 74GB drives and ran:
> 
> # gmirror insert gm0 /dev/da1
> 
> and the mirror rebuilt itself correctly, but of course only half of the new 
> drive is being used.
> 
> I've now removed the 37GB drive and run "gmirror forget gm0" again and the 
> system is running on the new half used 74GB drive.
> 
> How do I define a new slice and partition to fill the second half of this 
> drive?

what is the output of "gpart gm0" ?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090709225246.GA91508>