NASutils Knowledge BaseUnofficialPolski

How do I get to my data when a QNAP's RAID does not work?

First read the state of the pool and the RAID groups without changing anything. If a healthy disk has gone missing, put it back in the same bay and use the panel's recovery. If more disks have failed than the RAID tolerates, stop: copy what you can still see, and write to QNAP support or a data recovery company.

Topic: Pools, RAID and drives

RAID
Several drives used as one so that data can survive a drive failure (except RAID 0).

Warning. Restoring a RAID from the console can destroy data for good. Without a backup, do only the steps that read. Leave the rest to QNAP support or a data recovery company.

Steps that only read

Propose a change

  1. QuTS hero
    QNAP's NAS system on ZFS.
    Open Storage Manager โ†’ Storage Space and read the pool's status. Disks shows each disk's status. These are the QuTS hero names. On QTS the pool's status is under Storage & Snapshots โ†’ Storage โ†’ Storage/Snapshots and the disks under Disks/VJBOD.
  2. SSH
    An encrypted connection to a command line on another computer.
    Over SSH as root, read the same in the console:
    cat /proc/mdstat
    qcli_storage -d
    ZFS
    The storage system of QuTS hero: pool, filesystem and checksums in one.

    [U_] means a missing disk in an md group, and (F) a disk marked as failed. qcli_storage -d lists the disks the NAS sees. On QuTS hero the data is in a ZFS pool, so zpool status shows the state, not md.

  3. Write the results down and photograph the bays with their numbers.

What to do for a given state

Propose a change

  • Degraded, data works: copy the most important data. If a healthy disk only came loose, put it back in the same bay; if it has failed, replace it. The rebuild starts by itself or after you assign a spare disk.
  • Error after removing healthy disks: put each disk in its own bay and, in the pool's management on the RAID tab, choose Recover Storage Pool (QuTS hero) or Recover RAID Group (QTS). It works only if the disk was disconnected, not failed.
  • Read only: copy the files to another device at once. QNAP warns that replacing a disk then can make the whole group inactive.
  • Not active, or too many failed disks: do not replace or remove anything more. Write to QNAP support.

Check that it worked

Propose a change

volume, wolumin
A part of a pool, or of a RAID, with a filesystem, where shared folders are.

The pool's status is Ready, the RAID groups are online, and files open in File Station. On QTS, after a recovery check the volume's file system from the panel and restore a test file from a backup.

What not to do

Propose a change

  • Do not recreate groups with mdadm --create (or -C). It overwrites the array's description.
  • Do not run e2fsck with a block number from a recipe, and do not rebuild .conf by hand.
  • Do not run /etc/init.d/init_lvm.sh. It renames the files that describe the RAID and the pool.
  • Do not start an initialization or create a new pool on these disks.

Checked: 25 November 2026, QTS 6.1.0.3656 (beta) and QuTS hero h6.1.0.3656 (beta) (the reads). We did not perform a recovery or replace a disk.

All questions