Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2020 17:29:12 +0000
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: How to clear the 'remove:' line from 'zpool status'
Message-ID:  <e9836eb7-8588-869b-ec4e-9e6ec148c6f7@gmail.com>
In-Reply-To: <CAJpsHY63gZdLnUF%2BZ2w0ENvyJGqokGOj8EVOF3EU9m-B7Sxyqg@mail.gmail.com>
References:  <CAJpsHY63gZdLnUF%2BZ2w0ENvyJGqokGOj8EVOF3EU9m-B7Sxyqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e9836eb7-8588-869b-ec4e-9e6ec148c6f7>