Monday to Saturday, 8:00 – 19:00Free collection across Malta and GozoMaltiWhatsApp+356 7933 2877

NAS and RAID

Power cuts and surges: protecting your drives and NAS

Summer heatwaves and the load they put on the grid have brought long power cuts to parts of Malta in recent years. 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 Malta guide: Power cuts 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

Many outages happen during heatwaves. 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.

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 cut. 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.

WhatsAppFree diagnosis