Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2007 12:06:05 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        freebsd-geom@freebsd.org
Subject:   Re: RAID 1 configuration failure(Provider Too Small)
Message-ID:  <468D411D.8070400@miralink.com>
In-Reply-To: <20070705184811.GA950@garage.freebsd.pl>
References:  <468D3C0B.8070203@miralink.com> <20070705184811.GA950@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote:
> On Thu, Jul 05, 2007 at 11:44:27AM -0700, Sean Bruno wrote:
>   
>> I'm trying to setup a 2 disk RAID 1 on my Dell PE 1850 between two identical Seagate SCSI drives with the howto at: 
>> http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
>>
>> I am able to convert my root drive(da0) to geom and reboot just fine.  I am failing when I run:
>>
>> |*gmirror insert gm0 /dev/da1*|
>>
>>
>> The second step of converting the mirror drive of my RAID1 (da1) fails with the same "Provider da1 too small" error no matter what I attempt to do.  The drives are 
>> reporting exactly the same size according to fdisk(see below).  Any ideas here?
>>     
>
> fdisk? You are operating on raw disks, so it doesn't matter what
> fdisk(8) reports. Compare disk sizes with diskinfo(8).
>
>   
Ah...thanks!  That makes more sense.  I guess I'll re-install on the 
smaller drive and then mirror to the larger one?  Does that sound 
reasonable?

desdemona# diskinfo da0 da1
da0     512     73407868928     143374744       8924    255     63
da1     512     73407820800     143374650       8924    255     63


Sean




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468D411D.8070400>