adding disk to zfs mirror after removal of disk

tech-lists tech-lists at zyxst.net
Mon Aug 24 02:02:41 UTC 2020


On Sat, Aug 22, 2020 at 04:05:36AM -0700, David Christensen wrote:
>
>I should have said this before -- first, back up all of your data.

The data was disposable. Theres an arguement for not using zfs at all with
these two disks as it contained only a poudriere installation. In the end, I
deleted the pool and re-created it, and moved poudriere configs off to another
server. Fortunately the disk seems overengineered in the remappable space
department, with 759 sectors remapped. At least that number isnt increasing.
smartctl -t long passes.

Seems what I should have done is zpool replace ada3 ada3 after fixing the
failing disk, in order to retain the mirror.

>I use a version control system (CVS) and create a project for every
>computer.  Inside each project, I maintain a plain text "administrative
>log file" where I write notes to myself of what I'm doing, where, when,
>and why.  I copy and paste important console sessions into the log
>files.  I also check-in any system configuration files I create or
>modify.  All of this effort provides invaluable information for
>historical research and future use.  If you're not comfortable with a
>version control system, putting stuff on a USB drive (and backing it up
>frequently) is better than nothing.

Funny you mention this, I'm doing exactly this (with cvs too) for the same
purpose, on a dedicated machine.

thanks for your help,
-- 
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200824/b8c634df/attachment.sig>


More information about the freebsd-questions mailing list