zpool import slow
When importing a pool (at boot or with zpool import) with many filesystem, the process can take minutes. It doesn't matter whether the pool has been exported cleanly or uncleanly.
The problem is that each dataset has its own log chain. On import, all datasets have to be checked if there are logs to replay.
The idea is to speed up this process by paralellizing it.
Updated by Daniel Barney over 5 years ago
We see this all the time on our servers when they are booting. a long delay of more then several minutes, all while running the `zpool import -f zones` command.
We are interested in doing some testing, we just need to know where the code is to test it out is.
Updated by Arne Jansen over 5 years ago
The latest version is here:
Please also check the mail thread:
The patch might need a rebase to the current version.
I myself will also start testing today.
Updated by Electric Monk over 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 12380e1e701fda28c9e9f32d01cafb54af279eb5 Author: Arne Jansen <firstname.lastname@example.org> Date: 2015-05-09T17:02:31.000Z 5269 zpool import slow Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>