From nobody Mon May 2 05:23:44 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3A9E31AC1FD5 for ; Mon, 2 May 2022 05:23:47 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from elf.hq.norma.perm.ru (mail.norman-retail.ru [128.127.146.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.norma.perm.ru", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KsBMk1bhFz3vV4 for ; Mon, 2 May 2022 05:23:46 +0000 (UTC) (envelope-from eugene@zhegan.in) Received: from [192.168.243.7] ([192.168.243.7]) by elf.hq.norma.perm.ru (8.16.1/8.15.2) with ESMTP id 2425NiBf017247 for ; Mon, 2 May 2022 10:23:44 +0500 (+05) (envelope-from eugene@zhegan.in) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=vivat-retail.ru; s=key; t=1651469024; bh=JrczOTBVTUef8qf0dSJ2qrpYz9nplWi/uv2sHoLahfo=; h=Date:To:From:Subject; b=JL8aqR86br9oO7ypcr49x6I558lcwF+Nqocv2ZHC6CYTwMnP3Yo5hBOxnFnTh2lOl 4ym+HnFk9FBCK9cCNgE7qDnk8Tgd1+5Sq0xEZ4kIKvVUStBMulCH5QW8d2BCrf66Px PdgUMW1UqTshLO/YGngSZ+I+IFeytZSNbHSpKR+A= Message-ID: <5f9fcb73-b824-b9be-8a40-41401a774a04@zhegan.in> Date: Mon, 2 May 2022 10:23:44 +0500 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 To: freebsd-stable@freebsd.org Content-Language: ru From: "Eugene M. Zheganin" Subject: cannot remove/detach missing disk from zmirror: no valid replicas Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KsBMk1bhFz3vV4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=vivat-retail.ru header.s=key header.b=JL8aqR86; dmarc=none; spf=pass (mx1.freebsd.org: domain of eugene@zhegan.in designates 128.127.146.8 as permitted sender) smtp.mailfrom=eugene@zhegan.in X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; R_DKIM_REJECT(1.00)[vivat-retail.ru:s=key]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[zhegan.in]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[vivat-retail.ru:-]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-stable]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:212494, ipnet:128.127.146.0/24, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, Any chance I can sole this without replacing ? (Yeah, I accidentally issued "attach" instead of "replace" being fully confident that I will be able to "detach" later. I couldn't be more wrong.) [root@replica:~]# zpool status   pool: zfsroot  state: DEGRADED 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.   scan: resilver in progress since Thu Jan  1 03:00:06 1970         188G scanned at 122B/s, 21.7G issued at 14B/s, 2.03T total         21.8G resilvered, 1.04% done, no estimated completion time config:         NAME                         STATE     READ WRITE CKSUM         zfsroot                      DEGRADED     0     0     0           mirror-0                   DEGRADED     0     0     0             gpt/zfsroot1             ONLINE       0     0     0 (resilvering)             gpt/zfsroot0             UNAVAIL      0     0     0 cannot open             diskid/DISK-31P58VAASp3  ONLINE       0     0     0 (resilvering) errors: 6 data errors, use '-v' for a list [root@replica:~]# zpool detach zfsroot gpt/zfsroot0 cannot detach gpt/zfsroot0: no valid replicas [root@replica:~]# uname -a FreeBSD replica.scorista.ru 13.1-RC5 FreeBSD 13.1-RC5 releng/13.1-n250141-2e9ad6042be GENERIC amd64 [root@replica:~]# zpool remove zfsroot gpt/zfsroot0 cannot remove gpt/zfsroot0: operation not supported on this type of pool [root@replica:~]# zpool split -R /newroot zfsroot newroot diskid/DISK-31P58VAASp3 Unable to split zfsroot: pool is busy [root@replica:~]# Eugene.