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 about 6 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 about 6 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 almost 6 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 12380e1e701fda28c9e9f32d01cafb54af279eb5 Author: Arne Jansen <email@example.com> Date: 2015-05-09T17:02:31.000Z 5269 zpool import slow Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>