
In short
- A UPS without a shutdown signal only delays the hard stop.
- Size the UPS for the clean shutdown time, not for working through the outage.
- After an outage, a device that does not come back should not be restarted again and again.
What an abrupt stop does
- File systems lose what was still in the write cache, and their metadata can be left half-written.
- RAID arrays interrupted in the middle of a write may restart with parity that no longer matches the data, or with one disk flagged as faulty.
- SSDs can lose the map that links data to memory chips, see SSD died suddenly: why it happens and what now.
- Hard drives park their heads in an emergency, which wears them over time.
The surge when the power comes back is a separate risk: it often destroys the controller board of a drive or the mainboard of a NAS. The platters are usually intact.
Choosing a UPS
- Line-interactive units are enough for most NAS units and small servers. For sensitive servers or unstable supplies, an online (double conversion) unit is preferable.
- Size for the shutdown, not for the outage: the UPS must power the NAS, the switch and the router for the five to ten minutes needed for a clean shutdown, with a margin for an ageing battery.
- A communication port (USB or network card) is essential: without it, the NAS does not know it is running on battery.
Configuring the shutdown
- Connect the UPS to the NAS by USB, or install a network card in the UPS.
- In the NAS settings, enable UPS support and set a shutdown after a few minutes on battery, not "when the battery is low".
- If several devices share the UPS, set the NAS as network UPS server so that the others shut down too. Servers can use NUT or the manufacturer's software.
- Test it once: unplug the UPS from the wall during a quiet moment and check that everything shuts down properly.
- Replace the UPS battery every three to five years.
Surges and lightning
Ticino and the southern valleys have some of the highest lightning density in the country, but summer storms hit the whole of Switzerland from May to September. A strike nearby can come in through the mains, the network cable or the telephone line. Use surge protection on power and, for exposed buildings, on network and coaxial lines too. Replace a surge protector after a major event: its components wear out.
Heat
Heatwaves cause their share of failures. A NAS in a closed cupboard or a small technical room without ventilation can run far above the temperature its disks are rated for. Check the disk temperatures in the NAS interface during the summer.
Electricity shortage plans
For a possible electricity shortage, the Confederation and the electricity sector organisation OSTRAL have prepared measures that can go as far as planned cuts. If your company has a continuity plan, include storage: which NAS and servers are shut down first, in what order, and where an offline backup is kept.
After an outage
- A device that stays dark after the power returns should be left off. Repeated power cycling stresses a damaged board or firmware further.
- A burning smell from an adapter: unplug everything.
- A NAS that reports a degraded or crashed volume: read Synology DSM warnings: from a disk warning to a crashed volume or QNAP: volume unmounted or storage pool inactive before clicking anything.
See NAS data recovery and server data recovery.
Frequently asked questions
Is a UPS enough to protect my NAS?
Only if the NAS is told to shut down cleanly when the UPS switches to battery. Without that signal, it simply stops a few minutes later.
My external drive died after a storm. Can the data be recovered?
Usually, yes. In most cases the surge has hit the electronics on the drive, while the platters are fine. Do not swap the board yourself: its ROM has to be transferred.
Official sources and useful links
- Federal Electricity Commission (ElCom): The independent regulator of the Swiss electricity sector: security of supply and network operators.
- OSTRAL: The organisation of the Swiss electricity sector that prepares measures for electricity shortages.
- MeteoSwiss: The federal weather service: thunderstorm warnings and lightning maps.
Is your data important?
Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.





