Re: gmirror: Not all disks connected

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sun, 24 Apr 2005 21:30:18 +0200
On Sun, Apr 24, 2005 at 11:09:12PM +0400, Toxa wrote:
+> On Sun, Apr 24, 2005 at 11:43:43AM +0200, Pawel Jakub Dawidek wrote:
+> 
+> > Please read description of 'forget' subcommand.
+> 
+> Well, FYI, the problem *I THINK* was in the fact disks are not equal in
+> size (ad1 is 3 sectors bigger):
+> 
+> ad0: 38203MB <SAMSUNG SP0411N/TW100-11> [77619/16/63] at ata0-master UDMA100
+> ad1: 38204MB <SAMSUNG SP0411N/TW100-11> [77622/16/63] at ata0-slave UDMA100
+> 
+> In this case, fresh system was installed onto ad0, gm0 was created on ad1, 
+> when synchronise with added ad0 (as described in your step-by-step guide).
+> The first synchronisation process (after addinbg ad0 into gm0) *was ok*,
+> but after reboot, *I THINK*, gmirror discovered ad0 is less size than
+> ad1 and refused to include it into gm0. Is this a bug or feature?
+> 
+> The problem was solved by forget'ing gm0, creating gm1 on ad0, whet rebooting and adding
+> ad1 (wthic is bigger than ad0) into it. Now everything seems to work
+> ok...

If you created gmirror giving first smaller disk and then connecting bigger
one it should be ok. If disk which you want to insert is smaller than
already existing components, gmirror should return an error, so this is
probably not the case.

PS. This step-by-step guide is not mine - Ralf S. Engelschall is its author.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Sun Apr 24 2005 - 17:30:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC