Atualizar Criar zpool com ZIL e CACHE

2025-10-09 16:33:18 -03:00
parent 96330cbcf0
commit 4dc0a12842

@@ -1,13 +1,13 @@
Add cache and log to an existing pool
If you have a pool without cache and log you can still add both, or just one of them, at any time.
For example, lets assume you got a good enterprise SSD with power-loss protection that you want to use for improving the overall performance of your pool.
For example, lets assume you got a good enterprise SSD with power-loss protection that you want to use for improving the overall performance of your pool.
As the maximum size of a log device should be about half the size of the installed physical memory, it means that the ZIL will most likely only take up a relatively small part of the SSD, the remaining space can be used as cache.
First you have to create two GPT partitions on the SSD with parted or gdisk.
Then youre ready to add them to a pool:
Then you are ready to add them to a pool:
Add both, a separate log device and a second-level cache, to an existing pool