Discussion:
[zfs-discuss] Resilver real slow and taking long
Sander Klein
2015-02-23 19:03:32 UTC
Permalink
Hi,

I'm resilvering my pool due to a harddisk failure but it's realy slow. In
the meantime a second harddisk within the same vdev failed and it's a
raidz2.

I already changed zfs_resilver_delay and zfs_scan_idle to 0. Is there any
way I can speed up the resilver a bit?

Sometimes I seems like the resilver comes to a complete halt and it only
reads from the disk it is resilvering from.

Greets,

Sander

To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+***@zfsonlinux.org.
Daniel Franganillo
2015-02-24 09:05:29 UTC
Permalink
It happened to me once. It finally came to be another disk ready to fail,
after this disk was changed resilver resumed to reasonable speeds.
Post by Sander Klein
Hi,
I'm resilvering my pool due to a harddisk failure but it's realy slow. In
the meantime a second harddisk within the same vdev failed and it's a
raidz2.
I already changed zfs_resilver_delay and zfs_scan_idle to 0. Is there any
way I can speed up the resilver a bit?
Sometimes I seems like the resilver comes to a complete halt and it only
reads from the disk it is resilvering from.
Greets,
Sander
To unsubscribe from this group and stop receiving emails from it, send an
--
-----------------------------------
Daniel Franganillo Corrales
-----------------------------------

To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+***@zfsonlinux.org.
Bryn Hughes
2015-02-23 19:16:56 UTC
Permalink
Post by Sander Klein
Hi,
I'm resilvering my pool due to a harddisk failure but it's realy slow.
In the meantime a second harddisk within the same vdev failed and it's
a raidz2.
I already changed zfs_resilver_delay and zfs_scan_idle to 0. Is there
any way I can speed up the resilver a bit?
Sometimes I seems like the resilver comes to a complete halt and it
only reads from the disk it is resilvering from.
Greets,
Sander
To unsubscribe from this group and stop receiving emails from it, send
Take a look at iostat for your drives (something like 'iostat -kx 2' )

If you have a drive that's failing it is not uncommon for it to start
holding up I/O for long periods of time. The utilization in iostat will
show 100% when that is happening.

Bryn

To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+***@zfsonlinux.org.
Loading...