Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

71%
+3 −0
Q&A Problems accessing disks from a Synology NAS from a Linux PC

As it turns out my problem was two-fold. One problem was my USB SATA adapter, after I got hands on a computer where I could attach the disks directly they showed up with the proper sizes and I got ...

posted 10mo ago by GeraldS‭  ·  edited 10mo ago by GeraldS‭

Answer
#2: Post edited by user avatar GeraldS‭ · 2025-12-02T09:56:51Z (10 months ago)
added information about possible VM usage
  • As it turns out my problem was two-fold. One problem was my USB SATA adapter, after I got hands on a computer where I could attach the disks directly they showed up with the proper sizes and I got directly to the point where I could actually try to mount the disks.
  • ```console
  • root@ubuntu:~$ lsblk
  • NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  • sda 8:0 0 5.5T 0 disk
  • ├─sda1 8:1 0 2.4G 0 part
  • ├─sda2 8:2 0 2G 0 part
  • └─sda5 8:5 0 5.5T 0 part
  • └─md2 9:2 0 5.5T 0 raid1
  • ├─vg1-syno_vg_reserved_area 253:2 0 12M 0 lvm
  • └─vg1-volume_1 253:3 0 5.5T 0 lvm
  • sdb 8:16 0 2.7T 0 disk
  • ├─sdb1 8:17 0 2.4G 0 part
  • ├─sdb2 8:18 0 2G 0 part
  • └─sdb5 8:21 0 2.7T 0 part
  • └─md3 9:3 0 2.7T 0 raid1
  • ├─vg2-syno_vg_reserved_area 253:0 0 12M 0 lvm
  • └─vg2-volume_2 253:1 0 2.7T 0 lvm
  • nvme0n1 259:0 0 465.8G 0 disk
  • ├─nvme0n1p1 259:1 0 1M 0 part
  • └─nvme0n1p2 259:2 0 465.8G 0 part /
  • ```
  • What also did not work at first was mounting the disks, I got errors from btrfs. But after some searching I found [this post on Reddit](https://www.reddit.com/r/synology/comments/u6y5qm/comment/i5lk4jn/), which solved this issue for me. It's not only the old Ubuntu that is necessary, you also need to install an older kernel than the one shipped latest with it, because a btrfs patch was included in later kernel builds that caused the mounting issue. I installed the package `linux-image-4.15.0-108-generic`, edited `/etc/default/grub` to set `GRUB_TIMEOUT=5` and commented out `GRUB_TIMEOUT_STYLE=hidden` so I could select the correct kernel at boot and after that I could mount the Synology disks without problems.
  • So, to sum up the process to access the Synology disks from a PC:
  • - Attach the disks to a computer directly (not via USB adapter)
  • - Install Ubuntu 18.04 on it
  • - Follow the [Synology KB article](https://kb.synology.com/en-global/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC#x_anchor_idb5a4b64b2a)
  • ```shell
  • sudo -i
  • nano /etc/default/grub
  • apt-get update
  • apt-get install -y mdadm lvm2 btrfs-progs linux-image-4.15.0-108-generic
  • reboot # select the correct kernel
  • mdadm -AsfR && vgchange -ay
  • cat /proc/mdstat
  • lvs
  • ```
  • Mount the disks as needed.
  • As it turns out my problem was two-fold. One problem was my USB SATA adapter, after I got hands on a computer where I could attach the disks directly they showed up with the proper sizes and I got directly to the point where I could actually try to mount the disks.
  • ```console
  • root@ubuntu:~$ lsblk
  • NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
  • sda 8:0 0 5.5T 0 disk
  • ├─sda1 8:1 0 2.4G 0 part
  • ├─sda2 8:2 0 2G 0 part
  • └─sda5 8:5 0 5.5T 0 part
  • └─md2 9:2 0 5.5T 0 raid1
  • ├─vg1-syno_vg_reserved_area 253:2 0 12M 0 lvm
  • └─vg1-volume_1 253:3 0 5.5T 0 lvm
  • sdb 8:16 0 2.7T 0 disk
  • ├─sdb1 8:17 0 2.4G 0 part
  • ├─sdb2 8:18 0 2G 0 part
  • └─sdb5 8:21 0 2.7T 0 part
  • └─md3 9:3 0 2.7T 0 raid1
  • ├─vg2-syno_vg_reserved_area 253:0 0 12M 0 lvm
  • └─vg2-volume_2 253:1 0 2.7T 0 lvm
  • nvme0n1 259:0 0 465.8G 0 disk
  • ├─nvme0n1p1 259:1 0 1M 0 part
  • └─nvme0n1p2 259:2 0 465.8G 0 part /
  • ```
  • What also did not work at first was mounting the disks, I got errors from btrfs. But after some searching I found [this post on Reddit](https://www.reddit.com/r/synology/comments/u6y5qm/comment/i5lk4jn/), which solved this issue for me. It's not only the old Ubuntu that is necessary, you also need to install an older kernel than the one shipped latest with it, because a btrfs patch was included in later kernel builds that caused the mounting issue. I installed the package `linux-image-4.15.0-108-generic`, edited `/etc/default/grub` to set `GRUB_TIMEOUT=5` and commented out `GRUB_TIMEOUT_STYLE=hidden` so I could select the correct kernel at boot and after that I could mount the Synology disks without problems.
  • So, to sum up the process to access the Synology disks from a PC:
  • - Attach the disks to a computer directly (not via USB adapter)
  • According to other posts on the mentioned Reddit thread this also works on a VM when you pass the disks through directly. I haven't tested this
  • - Install Ubuntu 18.04
  • - Follow the [Synology KB article](https://kb.synology.com/en-global/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC#x_anchor_idb5a4b64b2a) with the addition of installing and booting into the correct kernel
  • ```shell
  • sudo -i
  • nano /etc/default/grub
  • apt-get update
  • apt-get install -y mdadm lvm2 btrfs-progs linux-image-4.15.0-108-generic
  • reboot # select the correct kernel
  • mdadm -AsfR && vgchange -ay
  • cat /proc/mdstat
  • lvs
  • ```
  • Mount the disks as needed.
#1: Initial revision by user avatar GeraldS‭ · 2025-12-02T07:44:02Z (10 months ago)
As it turns out my problem was two-fold. One problem was my USB SATA adapter, after I got hands on a computer where I could attach the disks directly they showed up with the proper sizes and I got directly to the point where I could actually try to mount the disks.

```console
root@ubuntu:~$ lsblk
NAME                            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                               8:0    0   5.5T  0 disk
├─sda1                            8:1    0   2.4G  0 part
├─sda2                            8:2    0     2G  0 part
└─sda5                            8:5    0   5.5T  0 part
  └─md2                           9:2    0   5.5T  0 raid1
    ├─vg1-syno_vg_reserved_area 253:2    0    12M  0 lvm
    └─vg1-volume_1              253:3    0   5.5T  0 lvm
sdb                               8:16   0   2.7T  0 disk
├─sdb1                            8:17   0   2.4G  0 part
├─sdb2                            8:18   0     2G  0 part
└─sdb5                            8:21   0   2.7T  0 part
  └─md3                           9:3    0   2.7T  0 raid1
    ├─vg2-syno_vg_reserved_area 253:0    0    12M  0 lvm
    └─vg2-volume_2              253:1    0   2.7T  0 lvm
nvme0n1                         259:0    0 465.8G  0 disk
├─nvme0n1p1                     259:1    0     1M  0 part
└─nvme0n1p2                     259:2    0 465.8G  0 part  /
```

What also did not work at first was mounting the disks, I got errors from btrfs. But after some searching I found [this post on Reddit](https://www.reddit.com/r/synology/comments/u6y5qm/comment/i5lk4jn/), which solved this issue for me. It's not only the old Ubuntu that is necessary, you also need to install an older kernel than the one shipped latest with it, because a btrfs patch was included in later kernel builds that caused the mounting issue. I installed the package `linux-image-4.15.0-108-generic`, edited `/etc/default/grub` to set `GRUB_TIMEOUT=5` and commented out `GRUB_TIMEOUT_STYLE=hidden` so I could select the correct kernel at boot and after that I could mount the Synology disks without problems.

So, to sum up the process to access the Synology disks from a PC:

- Attach the disks to a computer directly (not via USB adapter)
- Install Ubuntu 18.04 on it
- Follow the [Synology KB article](https://kb.synology.com/en-global/DSM/tutorial/How_can_I_recover_data_from_my_DiskStation_using_a_PC#x_anchor_idb5a4b64b2a)

```shell
sudo -i
nano /etc/default/grub
apt-get update
apt-get install -y mdadm lvm2 btrfs-progs linux-image-4.15.0-108-generic
reboot # select the correct kernel
mdadm -AsfR && vgchange -ay
cat /proc/mdstat
lvs 
```

Mount the disks as needed.