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

NAS and RAID

QNAP storage pool inactive: causes and recovery

On a QNAP NAS, one disk too many, a power cut during an expansion or damaged volume metadata is enough to make the storage pool 'inactive'. The shares disappear, the volumes show as unmounted, and the interface offers options that can make the situation permanent.

Published 2 min readBy Mirush Murataj

Cover of the RecData Malta guide: QNAP storage pool inactive: causes and recovery
An inactive pool usually means the RAID group or the LVM metadata cannot be assembled, not that the files are gone.

In short

  • An inactive pool usually means the RAID group or the LVM metadata cannot be assembled, not that the files are gone.
  • Do not remove the pool, reinitialise the NAS or swap more disks.
  • QTS volumes are rebuilt from mdadm and LVM; QuTS hero pools are imported read-only with ZFS.

QTS and QuTS hero are not built the same way

QTS (ext4)

Each RAID group is a Linux mdadm array. That array becomes a physical volume for LVM, which builds a storage pool. Volumes are then carved out of the pool: static, thick, or thin (space allocated only as data is written). Each volume is formatted with ext4.

QuTS hero (ZFS)

QuTS hero replaces all of that with ZFS: disks are grouped in vdevs, vdevs form a pool, and the file system writes every change as a new transaction group. ZFS is very resilient, but a pool that will not import needs specific handling.

Why the pool becomes inactive

  • Two disks lost in a RAID 5 group, often the second one during a rebuild.
  • A disk that dropped out and came back: its data is older than the rest, and the RAID group can no longer be assembled automatically.
  • Damaged thin-provisioning metadata: on QTS, the map that says where each thin volume's blocks are is stored in a small metadata area. If it is damaged, every volume of the pool disappears at once.
  • Power cut during an expansion or migration (adding a disk, RAID 1 to RAID 5).
  • Ransomware that encrypted the shares and sometimes deleted snapshots.

What not to do

  • Do not click Remove on the pool or the volume, and do not create a new pool on the same disks.
  • Do not reinitialise the NAS or reinstall the firmware from the option that formats the disks.
  • Do not take disks out and put them back in a different order.
  • After ransomware, do not update the firmware or reset before the disks have been analysed.

Checks you can do safely

In Storage & Snapshots, open each disk and note its status and SMART information, without starting any test that writes. If you have SSH access, the QNAP command md_checker shows how the RAID groups look without changing anything: note the result, it is useful for the diagnosis. Then switch the NAS off properly.

How the data is recovered

  1. Every disk is cloned, with its bay number.
  2. QTS: the mdadm RAID groups are assembled read-only from the clones, then the LVM metadata is rebuilt, including the thin pool map if it is damaged. Each volume is then mounted read-only and the files extracted.
  3. QuTS hero: the pool is imported read-only from the clones, going back to an earlier consistent transaction group if the latest one is damaged.
  4. After ransomware, snapshots, unencrypted blocks and, depending on the variant, weaknesses in the encryption are examined before anything is promised.

See also QNAP NAS data recovery, RAID 5 rebuild failed: what happened and what to do now and Ransomware attack: what to do in the first hours.

Frequently asked questions

Does 'inactive' mean the files are deleted?

No. It means QTS cannot assemble the pool. The data is usually intact on the disks.

Can I use the Recover button in Storage & Snapshots?

Only if every disk is healthy. If a disk shows errors, the attempt can make things worse: have the disks cloned first.

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 QNAP NAS data recovery

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

WhatsAppFree diagnosis