From owner-freebsd-fs@FreeBSD.ORG Sat Nov 16 00:31:07 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B97C43B1 for ; Sat, 16 Nov 2013 00:31:07 +0000 (UTC) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BC862F70 for ; Sat, 16 Nov 2013 00:31:07 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50006733269.msg for ; Sat, 16 Nov 2013 00:30:58 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Sat, 16 Nov 2013 00:30:58 +0000 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=1032b0b9a9=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: fs@freebsd.org Message-ID: <89876A0EAB2247FCB1875DFDE28E2799@multiplay.co.uk> From: "Steven Hartland" To: "Vladislav Prodan" , References: <1384558482.622649210.1mfnhjop@frv35.ukr.net> Subject: Re: [ZFS] cannot detach /dev/gpt/system-disk-60: no valid replicas Date: Sat, 16 Nov 2013 00:30:57 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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 00:31:07 -0000 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 ----- Original Message ----- From: "Vladislav Prodan" To: Sent: Friday, November 15, 2013 11:40 PM Subject: [ZFS] cannot detach /dev/gpt/system-disk-60: no valid replicas > root@mfsbsd:~ # zpool status > pool: tank > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://illumos.org/msg/ZFS-8000-8A > scan: resilvered 48.8G in 7h19m with 3 errors on Fri Nov 15 18:43:18 2013 > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gpt/system-disk-60 ONLINE 0 0 0 > gpt/disk-90 ONLINE 0 0 0 > > errors: 3 data errors, use '-v' for a list > root@mfsbsd:~ # zpool detach tank /dev/gpt/system-disk-60 > cannot detach /dev/gpt/system-disk-60: no valid replicas > > > Checking zfs scrub has given nothing. > How do I remove the disk gpt/system-disk-60 from the pool zpool without destroying it? > > -- > Vladislav V. Prodan > System & Network Administrator > http://support.od.ua > +380 67 4584408, +380 99 4060508 > VVP88-RIPE > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.