I googled this but I don't have the experience and certainty so I thought it's worth asking here.
I have a decent SSD (Intel P3700 NVMe) that I plan to redeploy as a ZIL. It's a lot bigger than the ZIL needs to be, and web pages make clear that many SSDs can gain phenomenal performance if they are very highly (25 - 75%) overprovisioned. This one could be 95% overprovisioned and the other 5% would still be more than I need, so it's ideal to set it up that way. Even though it's a good and consistent SSD, it would probably be even better if I did, and the rest of its space is unused by the pool anyhow. But I'm not sure how to do it correctly.
The drive is already GPT formatted and used, so I have to wipe all partition data, gpt reformat, and create an aligned 10GB partition for ZIL (leaving the rest unallocated). But some pages say to use gpart, others say to use camcontrol hpa related commands, yet others say to use the manufacturer's config utility on a Windows machine. There might also be some special section to reset, so it "knows" it can use the rest for overprovisioning, as far as I can tell. Also Intel might have some special proprietary approach which is optimal for their datacentre SSDs that wouldn't apply to other makes.
How do I correctly reset my SSD and get it ready for optimal ZIL use?
I have a decent SSD (Intel P3700 NVMe) that I plan to redeploy as a ZIL. It's a lot bigger than the ZIL needs to be, and web pages make clear that many SSDs can gain phenomenal performance if they are very highly (25 - 75%) overprovisioned. This one could be 95% overprovisioned and the other 5% would still be more than I need, so it's ideal to set it up that way. Even though it's a good and consistent SSD, it would probably be even better if I did, and the rest of its space is unused by the pool anyhow. But I'm not sure how to do it correctly.
The drive is already GPT formatted and used, so I have to wipe all partition data, gpt reformat, and create an aligned 10GB partition for ZIL (leaving the rest unallocated). But some pages say to use gpart, others say to use camcontrol hpa related commands, yet others say to use the manufacturer's config utility on a Windows machine. There might also be some special section to reset, so it "knows" it can use the rest for overprovisioning, as far as I can tell. Also Intel might have some special proprietary approach which is optimal for their datacentre SSDs that wouldn't apply to other makes.
How do I correctly reset my SSD and get it ready for optimal ZIL use?