From owner-freebsd-fs@FreeBSD.ORG Sat Nov 16 10:33:13 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03F2A127 for ; Sat, 16 Nov 2013 10:33:13 +0000 (UTC) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B4752951 for ; Sat, 16 Nov 2013 10:33:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id rAGAUsjo054770; Sat, 16 Nov 2013 14:30:54 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Sat, 16 Nov 2013 14:30:54 +0400 (MSK) From: Dmitry Morozovsky To: Vladislav Prodan Subject: Re[2]: [ZFS] cannot detach /dev/gpt/system-disk-60: no valid replicas In-Reply-To: <1384593787.502641084.f8mcbhve@frv35.ukr.net> Message-ID: References: <1384558482.622649210.1mfnhjop@frv35.ukr.net> <89876A0EAB2247FCB1875DFDE28E2799@multiplay.co.uk> <1384593787.502641084.f8mcbhve@frv35.ukr.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Sat, 16 Nov 2013 14:30:54 +0400 (MSK) Cc: fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2013 10:33:13 -0000 On Sat, 16 Nov 2013, Vladislav Prodan wrote: > > Run zpool status -v and either remove or restore the files > > indicated to have an issue. > > > > Once this is done my may well have more luck removing the device. > > > > Regards > > Steve > > > After removal of snapshots: > > root@mfsbsd:~ # zpool status -v > pool: tank > state: ONLINE > status: One or more devices is currently being resilvered. The pool will > continue to function, possibly in a degraded state. > action: Wait for the resilver to complete. your current action is described here ;) After resilver sinish, issue 'zpool clear', then I suppose you will be able to detach system-disk-60 > scan: resilver in progress since Sat Nov 16 00:53:04 2013 > 44.1G scanned out of 51.8G at 1.48M/s, 1h28m to go > 44.1G resilvered, 85.11% done > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 3 > replacing-0 ONLINE 0 0 6 > gpt/system-disk-60 ONLINE 0 0 6 > gpt/disk-90 ONLINE 0 0 6 (resilvering) > > errors: Permanent errors have been detected in the following files: > > <0x1618>:<0x9b83> > <0x1618>:<0x12c87> > <0x161a>:<0x3170> > > > > -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------