Mon–Fri 8:00 a.m.–7:00 p.m., Sat–Sun 9:00 a.m.–5:00 p.m.Drop-off by appointment in Hamilton, Montreal and Vancouver · free pickup across CanadaFrançais

NAS and RAID

Power outages and surges: protecting your drives and NAS

Ice storms, windstorms and summer thunderstorms regularly leave parts of Canada without power, sometimes for days. For storage, the cut itself is only half the problem: the surge when power returns and the abrupt shutdown are what damage drives, SSDs and NAS volumes.

Published 2 min readBy Mirush Murataj

Cover of the RecData Canada guide: Power outages and surges: protecting your drives and NAS
An abrupt cut can corrupt file systems and SSD firmware; a surge can burn electronics.

In short

  • An abrupt cut can corrupt file systems and SSD firmware; a surge can burn electronics.
  • A UPS only protects if the NAS is set to shut down cleanly.
  • After an outage, do not power-cycle a device that does not come back.

What a power cut does to storage

  • File systems: data in the write cache is lost, and metadata can be left half-written. Btrfs and ext4 usually recover, but not always.
  • RAID: arrays that were writing can come back with inconsistent parity (the "write hole"), or with a member marked as failed.
  • SSDs: the translation table that maps data to the memory chips is updated constantly. A cut at the wrong moment can leave an SSD unable to start or stuck in a safe mode. See SSD not detected: firmware, controller and data recovery.
  • Hard drives: a sudden loss of power is handled by an emergency head park, which wears the drive over time.

What a surge does

When power returns, a short overvoltage can reach the power supply of a NAS or an external drive adapter. The usual victims are the drive's controller board (a protection diode or a motor driver chip) and the NAS motherboard. The data on the platters is usually intact, but the board must be repaired, and its ROM moved, by a lab.

The right protection

A UPS, correctly configured

A UPS (uninterruptible power supply) bridges short cuts and filters surges. But a UPS that simply runs until its battery is empty only delays the abrupt shutdown. Connect the UPS to the NAS by USB (or over the network) and set the NAS to shut down cleanly after a few minutes on battery. Synology, QNAP and most other NAS brands support this, as do servers through NUT or the manufacturer's software.

Surge protection for everything else

For desktop PCs and external drives, a quality surge protector is a minimum. Replace it after a major surge: protection components wear out.

Heat and cold

Summer outages often come with heatwaves, and a NAS in a closed cupboard can go well beyond its drives' rated temperature: give it airflow and check disk temperatures in the NAS interface. In winter, a building left unheated during a long outage can drop below the drives' operating range: let equipment warm up to room temperature before powering it on again, to avoid condensation.

After an outage

See NAS data recovery and hard drive data recovery.

Frequently asked questions

Is a UPS enough to protect my NAS?

Only if the NAS is configured to shut down cleanly when the UPS switches to battery. Otherwise the NAS simply stops a little later.

My external drive stopped working after a power outage. Can the data be recovered?

Usually, yes. Most often the controller board is damaged, not the data. Do not swap the board with another one: the ROM must be transferred.

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.

Request a free diagnosis NAS data recovery

Your device has stopped responding? Switch it off and talk to us.

Free diagnosis