From owner-freebsd-current@freebsd.org Sun Dec 6 17:29:18 2020 Return-Path: Delivered-To: freebsd-current@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 072794A31FA for ; Sun, 6 Dec 2020 17:29:18 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cptj86PM2z4ZLC for ; Sun, 6 Dec 2020 17:29:16 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id k14so10478598wrn.1 for ; Sun, 06 Dec 2020 09:29:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=5ftloFVZrGrZacJBTwSeKpRolvQ89yDIpiN049EN9H0=; b=JU8L6LAjmSt9r8egseVGt6CmS9l+7aHafTAVbWqnTtDnPX343xPPBxwPNK8jY3JMXI gj1YumO+H1PVvuRBu7M2GGWZwDmFnUFq31XaHoeDYMJ85w3fgoVLKwFRInQW/3m2to/y Y4zdUv3ebexd9oGflpIHXNx1f3xTjH7TFdHTQ1yX6SZNQnPoKIoTgIK3jAR4uqYUm7t1 NHGHNFeh8rCc1ELkXe8ZGqLqDKf1nTx4Yweznsycbzbqt2JLSwpVxtiK5NWifhQUwgZG fQOlzrbxq7M35JGlBJvVVMYKPzkFBYvCG8KpAjNmYIXJ8CgzPTNgfOZ1a8hsuJu9QmRI nM3A== X-Gm-Message-State: AOAM5323Txk/Sk7PJK2v9RG3kGwNi9cY/oOlSnGnv3qyimVGgo4Y/Lc4 62z72IwdO0UiYpk+/KG3Yc+il7tYGiGhQkRB X-Google-Smtp-Source: ABdhPJxsq8pVnqZUuUbTmAaAzVULX+aTCBhuMiHVXz1sEZiN5wvNG7rvgwVZwkDREkkpM+BWMPO3rQ== X-Received: by 2002:adf:9104:: with SMTP id j4mr16378159wrj.198.1607275754296; Sun, 06 Dec 2020 09:29:14 -0800 (PST) Received: from [192.168.1.8] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id c9sm6190374wrn.65.2020.12.06.09.29.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Dec 2020 09:29:13 -0800 (PST) Subject: Re: How to clear the 'remove:' line from 'zpool status' To: freebsd-current@freebsd.org References: From: Graham Perrin Message-ID: Date: Sun, 6 Dec 2020 17:29:12 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Cptj86PM2z4ZLC X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42b:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42b:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 17:29:18 -0000 On 05/12/2020 06:07, Dustin Marquess wrote: > So I stupidly did a 'zpool add' instead of a 'zpool attach'. Luckily > I was able to 'zpool remove' the device thanks to the remove work done > a while back. > > However, now I can't for the life of me get this part of the 'zpool > status' output to go away: > > pool: zroot > state: ONLINE > scan: scrub repaired 0B in 00:01:06 with 0 errors on Fri Dec 4 18:18:31 2020 > remove: Removal of vdev 1 copied 104K in 0h0m, completed on Fri Dec 4 > 18:10:08 2020 > 72 memory used for removed device mappings > config: > > I've tried 'zppol clear', 'zpool scrub', and rebooted. Is there some > way to clear that 'remove' line? It's irritating my OCD :(. > > Thanks! > -Dustin Maybe: man zpool-labelclear