Date: Mon, 3 Aug 2009 16:04:31 -0800 From: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> To: freebsd-questions@freebsd.org Subject: Re: gmirror on different disks Message-ID: <200908031604.31455.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> In-Reply-To: <41b95770907310324j397b5810v6793c9c314f8ce61@mail.gmail.com> References: <41b95770907310324j397b5810v6793c9c314f8ce61@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 31 July 2009 02:24:31 Grzegorz Danecki wrote:
> Hello everybody!
>
> I'm just wondering, I had gmirror with two disks:
>
> Master: ad0 <ST3160815AS/4.AAB> Serial ATA II
> Master: ad2 <ST3160815AS/4.AAB> Serial ATA II
>
> unfortunately ad0 failed today, leaving me with degraded array and ad0
> offline.
>
> I did
>
> # gmirror forget gm0, then shutdown, ad0 was replaced with:
>
> ad0: 152626MB <Seagate ST3160815AS 3.AAD> at ata0-master SATA300
>
> with different firmware I think.
>
> Then gmirror insert gm0 /dev/ad0
>
> (...)
> Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: rebuilding provider
> ad0 finished.
> Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: provider ad0
> activated.
>
> But the disk is a little bit smaller:
>
> 1. Name: mirror/gm0
> Mediasize: 160040803328 (149G)
^^
> Sectorsize: 512
> Mode: r5w5e6
> Consumers:
> 1. Name: ad2
> Mediasize: 160041885696 (149G)
^^
> Sectorsize: 512
> Mode: r1w1e1
> State: ACTIVE
> Priority: 0
> Flags: DIRTY
> GenID: 1
> SyncID: 1
> ID: 3791030614
> 2. Name: ad0
> Mediasize: 160040803840 (149G)
^^
> Sectorsize: 512
> Mode: r1w1e1
> State: ACTIVE
> Priority: 0
> Flags: DIRTY
> GenID: 1
> SyncID: 1
> ID: 2477089776
>
> # gmirror status
> Name Status Components
> mirror/gm0 COMPLETE ad2
> ad0
> I mean - should I make the RAID once again with exactly the same drives, or
> can I leave it as it is right now?
The mirror rescaled to the size of the smallest provider and didn't report any
problems during sync, so you should be fine.
--
Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908031604.31455.mel.flynn%2Bfbsd.questions>
