From owner-freebsd-questions@freebsd.org Wed Aug 28 06:48:03 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BFB3D301C for ; Wed, 28 Aug 2019 06:48:03 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46JGXL1ZQ9z3LBB for ; Wed, 28 Aug 2019 06:48:01 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 27 Aug 2019 23:45:16 -0700 Subject: Re: Kernel panic and ZFS corruption on 11.3-RELEASE To: freebsd-questions@freebsd.org References: <20190828025728.GA1441@admin.sibptus.ru> From: David Christensen Message-ID: Date: Tue, 27 Aug 2019 23:45:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190828025728.GA1441@admin.sibptus.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46JGXL1ZQ9z3LBB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-3.57 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.52)[ipnet: 2001:470::/32(-4.45), asn: 6939(-3.10), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2019 06:48:03 -0000 On 8/27/19 7:57 PM, Victor Sudakov wrote: > Dear Colleagues, > > Shortly after upgrading to 11.3-RELEASE I had a kernel panic: > after which the ZFS pool became corrupt: > > pool: d02 > state: FAULTED > status: The pool metadata is corrupted and the pool cannot be opened. > action: Recovery is possible, but will result in some data loss. > Returning the pool to its state as of вторник, 27 августа 2019 г. 23:51:20 > should correct the problem. Approximately 9 minutes of data > must be discarded, irreversibly. Recovery can be attempted > by executing 'zpool clear -F d02'. A scrub of the pool > is strongly recommended after recovery. > see: http://illumos.org/msg/ZFS-8000-72 > scan: resilvered 423K in 0 days 00:00:05 with 0 errors on Sat Sep 30 04:12:20 2017 > config: > > NAME STATE READ WRITE CKSUM > d02 FAULTED 0 0 2 > ada2.eli ONLINE 0 0 12 > > However, "zpool clear -F d02" results in error: > cannot clear errors for d02: I/O error > > Do you know if there is a way to recover the data, or should I say farewell to several hundred Gb of anime? I would: 1. Take a binary image of the raw disk (e.g. backup). 2. Move the disk to an 11.2 system and work on it. Or alternatively, remove the 11.3 system disk and install an 11.2 system disk. David