From owner-freebsd-fs@freebsd.org Wed May 29 11:55:28 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A489115C0762 for ; Wed, 29 May 2019 11:55:28 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 088B08F9AA for ; Wed, 29 May 2019 11:55:28 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: by mailman.ysv.freebsd.org (Postfix) id B35A515C0761; Wed, 29 May 2019 11:55:27 +0000 (UTC) Delivered-To: fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D84515C0760 for ; Wed, 29 May 2019 11:55:27 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 45E1D8F9A9 for ; Wed, 29 May 2019 11:55:25 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 53842 invoked from network); 29 May 2019 14:28:44 +0300 Received: from 109-252-107-70.nat.spd-mgts.ru (109-252-107-70.nat.spd-mgts.ru [109.252.107.70]) by mail.sub.ru ([88.212.205.2]) with ESMTP via TCP; 31 Dec 1969 23:59:59 -0000 To: fs@freebsd.org From: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCf0L7QstC+0LvQvtGG0LrQuNC5?= Subject: Crashed ZFS Message-ID: Date: Wed, 29 May 2019 14:28:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Language: en-US X-Antivirus: Avast (VPS 190529-0, 29.05.2019), Outbound message X-Antivirus-Status: Clean X-Rspamd-Queue-Id: 45E1D8F9A9 X-Spamd-Bar: ++++++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [10.19 / 15.00]; ARC_NA(0.00)[]; RSPAMD_URIBL(4.50)[sudo.su]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[0.999,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sub.ru]; AUTH_NA(1.00)[]; URI_COUNT_ODD(1.00)[7]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(0.70)[ip: (1.83), ipnet: 88.212.192.0/19(0.92), asn: 39134(0.73), country: RU(0.01)]; MX_GOOD(-0.01)[cached: gab2.sub.ru]; NEURAL_SPAM_LONG(1.00)[1.000,0]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:39134, ipnet:88.212.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,body]; RECEIVED_SPAMHAUS_PBL(0.00)[70.107.252.109.zen.spamhaus.org : 127.0.0.11] X-Spam: Yes Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 11:55:29 -0000 Hello After power surge, one of my zpools yields errors |root@stor:/home/tarkhil # zpool status -v big_fast_one|| ||  pool: big_fast_one|| || 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 Tue May 28 02:00:35 2019|| ||        should correct the problem.  Approximately 5 seconds of data|| ||        must be discarded, irreversibly.  Recovery can be attempted|| ||        by executing 'zpool clear -F big_fast_one'. A scrub of the pool|| ||        is strongly recommended after recovery.|| ||   see: http://illumos.org/msg/ZFS-8000-72|| ||  scan: none requested|| ||config:|| || ||        NAME              STATE     READ WRITE CKSUM|| ||        big_fast_one      FAULTED      0     0     1|| ||          raidz1-0        ONLINE       0     0     7|| ||            gpt/ZA21TJA7  ONLINE       0     0     0|| ||            gpt/ZA21P6JQ  ONLINE       0     0     0|| ||            gpt/ZA21PJZY  ONLINE       0     0     0|| ||            gpt/ZA21T6L6  ONLINE       0     0     0|| ||            gpt/ZA21TN3R  ONLINE       0     0     0|| | |root@stor:/home/tarkhil # zpool clear -Fn big_fast_one|| ||internal error: out of memory||| while there are plenty of RAM|(96 Gb)| |gpart shows everything OK| |root@stor:/home/tarkhil # zdb -AAA -L -e big_fast_one Configuration for import:         vdev_children: 1         version: 5000         pool_guid: 4972776226197917949         name: 'big_fast_one'         state: 0         hostid: 773241384         hostname: 'stor.inf.sudo.su'         vdev_tree:             type: 'root'             id: 0             guid: 4972776226197917949             children[0]:                 type: 'raidz'                 id: 0                 guid: 58821498572043303                 nparity: 1                 metaslab_array: 41                 metaslab_shift: 38                 ashift: 12                 asize: 50004131840000                 is_log: 0                 create_txg: 4                 children[0]:                     type: 'disk'                     id: 0                     guid: 13318923208485210326                     phys_path: 'id1,enc@n50030480005d387f/type@0/slot@e/elmdesc@013/p1'                     whole_disk: 1                     DTL: 57                     create_txg: 4                     path: '/dev/gpt/ZA21TJA7'                 children[1]:                     type: 'disk'                     id: 1                     guid: 5421240647062683539                     phys_path: 'id1,enc@n50030480005d387f/type@0/slot@1/elmdesc@000/p1'                     whole_disk: 1                     DTL: 56                     create_txg: 4                     path: '/dev/gpt/ZA21P6JQ'                 children[2]:                     type: 'disk'                     id: 2                     guid: 17788210514601115893                     phys_path: 'id1,enc@n50030480005d387f/type@0/slot@5/elmdesc@004/p1'                     whole_disk: 1                     DTL: 55                     create_txg: 4                     path: '/dev/gpt/ZA21PJZY'                 children[3]:                     type: 'disk'                     id: 3                     guid: 11411950711187621765                     phys_path: 'id1,enc@n50030480005d387f/type@0/slot@9/elmdesc@008/p1'                     whole_disk: 1                     DTL: 54                     create_txg: 4                     path: '/dev/gpt/ZA21T6L6'                 children[4]:                     type: 'disk'                     id: 4                     guid: 6486033012937503138                     phys_path: 'id1,enc@n50030480005d387f/type@0/slot@d/elmdesc@012/p1'                     whole_disk: 1                     DTL: 52                     create_txg: 4                     path: '/dev/gpt/ZA21TN3R' zdb: can't open 'big_fast_one': File exists ZFS_DBGMSG(zdb): | |root@stor:/home/tarkhil # zdb -AAA -L -u -e big_fast_one zdb: can't open 'big_fast_one': File exists root@stor:/home/tarkhil # zdb -AAA -L -d -e big_fast_one zdb: can't open 'big_fast_one': File exists root@stor:/home/tarkhil # zdb -AAA -L -h -e big_fast_one zdb: can't open 'big_fast_one': File exists | |What should I do? Export and import? Rename zpool.cache and import (it's a remote box, I cannot afford another 3 hours to and from it)? Something else?| |--| |Alex | --- Это сообщение проверено на вирусы антивирусом Avast. https://www.avast.com/antivirus