From owner-freebsd-questions@FreeBSD.ORG Fri Jul 31 10:54:05 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D22A1065693 for ; Fri, 31 Jul 2009 10:54:05 +0000 (UTC) (envelope-from g.danecki@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9A32A8FC17 for ; Fri, 31 Jul 2009 10:54:04 +0000 (UTC) (envelope-from g.danecki@gmail.com) Received: by fxm6 with SMTP id 6so75269fxm.43 for ; Fri, 31 Jul 2009 03:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=6PqYtEJi+XxGPYNlnpAcEhiUXjDZpfpMbtj3UoHoASA=; b=wTEHfcV7cAH1mEkNtHVF9p8GnS+WSQx58wBgwmMiO8LefErnyoMX19wIjGNdWKyITh V9I4idJrIUsCST0eC1wu6OnL6nW6X0uD3pKhqGhK3F9BKxKRA3z2s+/YxEI2FuQ8B51b j6rnHMc5r1549aka1rHRYjLU5qvcZq3YoGqJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=cosh/OaGT1aPmAF7sePUFyUavxPGBRKTZCsXYeJ7Ik/C+0D4/hfjFZELTQreWe232G btJA0AjeLOpY5lzWn9hZBuN4+PUN1FaixypgQO+YywZOAz1O1yx1Eh1cHeOc88Z3Vzla N6apRPlntpvqZ8NmTpRVSdGbJ8wTgr7Ur/CfY= MIME-Version: 1.0 Received: by 10.223.110.211 with SMTP id o19mr1329422fap.57.1249035891687; Fri, 31 Jul 2009 03:24:51 -0700 (PDT) From: Grzegorz Danecki Date: Fri, 31 Jul 2009 12:24:31 +0200 Message-ID: <41b95770907310324j397b5810v6793c9c314f8ce61@mail.gmail.com> To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: gmirror on different disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 10:54:05 -0000 Hello everybody! I'm just wondering, I had gmirror with two disks: Master: ad0 Serial ATA II Master: ad2 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 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 so, it looks fine. Can I expect any problems now because of different sizes? Any problems when RAID will be almost full? I mean - should I make the RAID once again with exactly the same drives, or can I leave it as it is right now? Thanks in advance! -- Grzegorz Danecki