
In short
- Synology drives use mdadm, often LVM, and Btrfs or ext4: Ubuntu can read all of them.
- Assemble read-only and never use the force flag on the original drives; image or overlay them first if any drive is suspect.
- SSD read-write cache, encrypted volumes and failing drives are reasons to stop and get help.
Before you start: is this the right fix?
Reading the drives on a PC is the right move when the unit has failed (power supply, motherboard, the well-known clock failures of some Intel Atom models) and the drives themselves are healthy. It is the wrong move when DSM reported a crashed or degraded volume before the unit died, when a drive was making noise, or when the volume used an SSD read-write cache. In those cases, see Synology volume crashed: what DSM is really telling you or have the drives imaged first.
If you have another Synology unit, moving the drives to it (Synology calls this HDD migration) is often simpler than a PC. The general approach is covered in NAS won't boot: how to get to your data without the box.
How DSM lays out each drive
Every drive in a Synology unit carries the same three kinds of partitions, each one part of a Linux software RAID (mdadm) array:
| Partition | Array | Content | What to do with it | |
|---|---|---|---|---|
| --- | --- | --- | --- | |
| 1 | md0, RAID 1 across all drives | DSM operating system | Ignore it | |
| 2 | md1, RAID 1 across all drives | Swap | Ignore it | |
| 3 (older units) or 5 and above (DSM 6 and later, SHR) | md2, md3, ... | Your data | This is the one to assemble |
On top of the data arrays there are two possible layouts:
- Classic RAID, single volume: the file system sits directly on the md array, for example
/dev/md2. - SHR, or any pool with several volumes: the md arrays are joined by LVM. Older SHR pools use a volume group called
vg1000with one logical volumelv; newer pools usevg1with logical volumes namedvolume_1,volume_2and so on, plus a small reserved area you can ignore.
SHR on drives of different sizes creates one md array per size step, which is why a four-drive SHR pool can show md2, md3 and md4. All of them are needed for the volume to appear. The file system is Btrfs on most current models and ext4 on older or entry-level ones.
What you need
- A PC with enough SATA ports for every data drive in the pool, connected directly. USB docks work for one or two drives, but some USB bridges change the reported sector size or drop under load, which breaks the partition table or the array.
- A USB stick with a current Ubuntu LTS desktop release, booted in "Try Ubuntu" mode. Recent kernels read Synology's Btrfs better than old ones.
- An empty destination disk at least as large as the data you want to copy, formatted for the computer you will use afterwards.
- The bay number of each drive, written on it before it came out of the unit. The order does not matter to mdadm, but it matters if anything goes wrong later.
The safe order of commands
1. Install the tools without letting them start anything
Open a terminal, become root with sudo -i, then install mdadm and lvm2 with apt. When the mdadm package asks about a mail configuration, choose "No configuration". Some Ubuntu releases try to auto-assemble arrays as soon as mdadm is installed; check cat /proc/mdstat and, if arrays already appeared, stop them with mdadm --stop on each one before going on.
2. Look before you assemble
Run mdadm --examine on each data partition (for example /dev/sdb5) and save the output. Check that every member shows the same Array UUID, and compare the Events counters and Update Time. Matching or nearly matching counters mean the members agree. A member far behind left the array earlier and must be left out.
3. Assemble read-only, without force
Assemble with mdadm --assemble --scan --readonly, or name the members explicitly. Guides on the web often suggest mdadm -Asf, where the f forces members with mismatched counters back in. On the original drives, that flag can mix stale and current data and update the superblocks. If the array will not start without it, stop here and work on images or overlays, as explained in mdadm array won't assemble: a safe approach to Linux software RAID.
4. Activate LVM and find the volume
Run vgchange -ay, then lvs. No output means a classic single-volume layout: the device is the md array itself. Otherwise the device is /dev/<volume group>/<logical volume>, for example /dev/vg1000/lv or /dev/vg1/volume_1. Because the md arrays are read-only, LVM cannot write to them either.
5. Mount read-only and copy
Create an empty folder and mount the device with mount -o ro. For Btrfs, if the normal mount fails, a second attempt with -o ro,rescue=usebackuproot tells the kernel to try an older copy of the tree roots, still without writing. Then copy the important data to the destination disk first, the rest afterwards.
Errors and what they mean
| Message or symptom | Likely cause | What to do | |
|---|---|---|---|
| --- | --- | --- | |
vgchange not found | lvm2 not installed | Install it, then repeat step 4 | |
| Array assembled with fewer members than expected | A drive missing, not detected or out of date | Check dmesg for read errors; do not force it | |
| "wrong fs type" or "bad superblock" | Mounting the wrong device, or a damaged file system | Check you mounted the LV, not an md array; if it persists, stop | |
| Btrfs mounts, but folders are missing | Encrypted shared folders, or snapshots not shown | Encrypted folders need the passphrase or key file | |
Read errors or resets in dmesg | A failing drive | Stop immediately and image the drive |
When to stop
- SSD read-write cache: if the pool used SSDs in read-write mode, they may hold data that never reached the hard drives. Without them, the volume can mount but be inconsistent. Bring the SSDs too, and do not try a PC mount.
- Encrypted volumes or shared folders: without the recovery key or the key file saved when encryption was turned on, nobody can read the data. With it, recovery is still possible but more involved.
- Any noise, slowness or read errors from a drive.
- The volume was crashed or read-only in DSM before the unit failed.
- No mount works read-only. Do not run
btrfs check --repair,fsckor any repair tool on the originals.
Our Synology NAS data recovery service images every drive and rebuilds the md, LVM and Btrfs layers from the copies, including SHR, SSD cache and encrypted volumes when the key is available. The general guide to NAS failures is How a NAS stores your data, and the ways it can fail.
Frequently asked questions
Can Windows read Synology drives?
Not directly. Windows does not understand mdadm, LVM or Btrfs and will offer to initialize the drives, which you must refuse. Use a Linux live system such as Ubuntu, or another Synology unit.
Does the drive order matter on a PC?
Not for mdadm, which identifies each member from its superblock. Label the drives with their bay numbers anyway, in case the drives have to go back into a Synology unit or to a lab.
What if only one drive of a two-drive RAID 1 is available?
A single RAID 1 member can be assembled on its own as a degraded array, read-only, and mounted the same way. Use the most recent drive, the one with the higher Events counter.
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.





