Re: more zfs questions

From: Freddie Cash <fjwcash_at_gmail.com>
Date: Mon, 13 Sep 2021 11:48:40 -0700
On Mon, Sep 13, 2021 at 11:44 AM joe mcguckin <joe_at_via.net> wrote:

> I had to replace a drive.
>
> - zpool status: the ETA is growing longer even as more of the drive is
> being resilvered. Is thst correct??
>

This would only happen if the I/O throughput is slowing down over time.


> - The activity LEDS corresponding the the VDEV of the failed drive are on
> continously.  When resilvering, is only the affected VDEV resilvered, or
> the entire dataset the VDEV belongs to?
>

This is normal-ish.  When resilvering, data is read from all members of the
vdev and written to the new drive.  So you should see activity lights for
all drives in the vdev, then just the new drive, then all drives in the
vdev, then just the new drive, and so on.  Depending on fragmentation
level, "fullness" of the pool, whether dedupe is enabled, and so on will
influence just what pattern the lights take.  But it's basically "read from
the vdev" / "write to the new disk" until it's done.
-- 
Freddie Cash
fjwcash_at_gmail.com
Received on Mon Sep 13 2021 - 18:48:40 UTC

Original text of this message