It seems that there is some demand for battery backed SSDs that can be safely used as ZIL/SLOG in ZFS pools without the risk of loosing data/the pool if power is lost during writing and the DRAM cache isn't written to the non-volatile memory.
From commercial sources these drives cost a significant price premium over standard (non battery backed SSDs) and put them out of reach for many.
I was wondering if it might be possible to design a small battery backup circuit hat sits in-line with the drive between the drive and the SATA power-connector, effectively a mini-UPS with a small battery and charging circuit and voltage regulator to provide 5 & 12V in the case of power failure. Would this actually work? Would the data be written automatically from the cache to the NAND or does the drive need different firmware to know what to do without any commands from the computer (since it just lost power).
It seems that if a simple solution was possible it could be built and sold for probably under $50 and might be an interesting solution for Home/SOHO NAS systems where the price premium of ready-made battery backed SSD or battery backed DRAM drives is too much.
Does anyone know if this is possible, is there interest? Thanks!
TL;DR: can you power an SSD with a simple ups-like battery backup if the computer power fails and have it save the data in the volatile cache?
From commercial sources these drives cost a significant price premium over standard (non battery backed SSDs) and put them out of reach for many.
I was wondering if it might be possible to design a small battery backup circuit hat sits in-line with the drive between the drive and the SATA power-connector, effectively a mini-UPS with a small battery and charging circuit and voltage regulator to provide 5 & 12V in the case of power failure. Would this actually work? Would the data be written automatically from the cache to the NAND or does the drive need different firmware to know what to do without any commands from the computer (since it just lost power).
It seems that if a simple solution was possible it could be built and sold for probably under $50 and might be an interesting solution for Home/SOHO NAS systems where the price premium of ready-made battery backed SSD or battery backed DRAM drives is too much.
Does anyone know if this is possible, is there interest? Thanks!
TL;DR: can you power an SSD with a simple ups-like battery backup if the computer power fails and have it save the data in the volatile cache?