Date: Fri, 29 Oct 2010 00:26:56 -0700 From: Artem Belevich <fbsdlist@src.cx> To: Rumen Telbizov <telbizov@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Degraded zpool cannot detach old/bad drive Message-ID: <AANLkTinc1yQrwVsf%2Bk9LW5J50twbtcQ-d1SV_rny06Su@mail.gmail.com> In-Reply-To: <AANLkTiktrL7LHkh3HLGqZeZx7ve6arBrs8ZE57NwtfN1@mail.gmail.com> References: <AANLkTi=EWfVyZjKEYe=c0x6QvsdUcHGo2-iqGr4OaVG7@mail.gmail.com> <AANLkTinjfpnHGMvzJ5Ly8_WFXGvQmQ4D0-_TgbVBi=cf@mail.gmail.com> <AANLkTi=h6ZJtbRHeUOpKX17uOD5_XyYmu01ZTTCCKw=_@mail.gmail.com> <AANLkTikPqgoxuYp7D88Dp0t5LvjXQeO3mCXdFw6onEZN@mail.gmail.com> <AANLkTimMM82=rqMQQfZZYTcaM_CU%2B01xPeZUGAik8H3v@mail.gmail.com> <AANLkTinKpMLeJOd_V7uxyAFqcStoGwV9PfTJDLDPq3By@mail.gmail.com> <AANLkTiktrL7LHkh3HLGqZeZx7ve6arBrs8ZE57NwtfN1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 28, 2010 at 10:51 PM, Rumen Telbizov <telbizov@gmail.com> wrote: > Hi Artem, everyone, > > Thanks for your quick response. Unfortunately I already did try this > approach. > Applying -d /dev/gpt only limits the pool to the bare three remaining disks > which turns > pool completely unusable (no mfid devices). Maybe those labels are removed > shortly > they are being tried to be imported/accessed? In one of the previous emails you've clearly listed many devices in /dev/gpt and said that they've disappeared after pool import. Did you do "zpool import -d /dev/gpt" while /dev/gpt entries were present? > What I don't understand is what exactly makes those gpt labels disappear > when the pool is imported and otherwise are just fine?! This is the way GEOM works. If something (ZFS in this case) uses raw device, derived GEOM entities disappear. Try exporting the pool. Your /dev/gpt entries should be back. Now try to import with -d option and see if it works. You may try bringing the labels back the hard way by detaching raw drive and then re-attaching it via the label, but resilvering one drive at a time will take a while. --Artem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinc1yQrwVsf%2Bk9LW5J50twbtcQ-d1SV_rny06Su>