Date: Fri, 29 Oct 2010 13:36:29 -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: <AANLkTikJp=1An8G%2BzTBbXBPyq8--Kq=dNN=_A3TkmsjE@mail.gmail.com> In-Reply-To: <AANLkTimD_f1pZHy7cq4jA%2BSZwdQRmotndSiukpNvwi6Y@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> <AANLkTinc1yQrwVsf%2Bk9LW5J50twbtcQ-d1SV_rny06Su@mail.gmail.com> <AANLkTimD_f1pZHy7cq4jA%2BSZwdQRmotndSiukpNvwi6Y@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 29, 2010 at 11:34 AM, Rumen Telbizov <telbizov@gmail.com> wrote= : > The problem I think comes down to what I have written in the zpool.cache > file. > It stores the mfid path instead of the gpt/disk one. > =A0=A0 =A0 =A0children[0] > =A0=A0 =A0 =A0 =A0 =A0 =A0 type=3D'disk' > =A0=A0 =A0 =A0 =A0 =A0 =A0 id=3D0 > =A0=A0 =A0 =A0 =A0 =A0 =A0 guid=3D1641394056824955485 > =A0=A0 =A0 =A0 =A0 =A0 =A0 path=3D'/dev/mfid33p1' > =A0=A0 =A0 =A0 =A0 =A0 =A0 phys_path=3D'/pci@0,0/pci8086,3b42@1c/pci15d9,= c480@0/sd@1,0:a' > =A0=A0 =A0 =A0 =A0 =A0 =A0 whole_disk=3D0 > =A0=A0 =A0 =A0 =A0 =A0 =A0 DTL=3D55 Yes, phys_path does look like something that came from solaris. > Compared to a disk from a partner server which is fine: > =A0=A0 =A0 =A0children[0] > =A0=A0 =A0 =A0 =A0 =A0 =A0 type=3D'disk' > =A0=A0 =A0 =A0 =A0 =A0 =A0 id=3D0 > =A0=A0 =A0 =A0 =A0 =A0 =A0 guid=3D5513814503830705577 > =A0=A0 =A0 =A0 =A0 =A0 =A0 path=3D'/dev/gpt/disk-e1:s6' > =A0=A0 =A0 =A0 =A0 =A0 =A0 whole_disk=3D0 If you have old copy of /boot/zfs/zpool.cache you could try use "zpool import -c old-cache-file". I don't think zpool.cache is needed for import. Import should work without it just fine. Just remove /boot/zfs/zpool.cache (or move it somewhere else and then try importing with -d /dev/gpt again. --Artem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikJp=1An8G%2BzTBbXBPyq8--Kq=dNN=_A3TkmsjE>