So I’ve had this setup:
- QNAP TS-128A
- 2 TB HDD
And it died, pretty quickly if I may add.
So no more NAS servers for me.
I’m now going for this setup.
- Raspberry Pi 3 B+ (will be 4 soon)
- External HDD with 2TB HDD
That’s the same one from the QNAP.
So I’ve noticed that the HDD is split up into 5 partitions…
[folaht@Stohrje-uq /]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1,8T 0 disk
├─sda1 8:1 0 517,7M 0 part
├─sda2 8:2 0 517,7M 0 part
├─sda3 8:3 0 1,8T 0 part
├─sda4 8:4 0 517,7M 0 part
└─sda5 8:5 0 8G 0 part
mmcblk0 179:0 0 29,8G 0 disk
├─mmcblk0p1 179:1 0 213,6M 0 part /boot
└─mmcblk0p2 179:2 0 29,6G 0 part /home
And they’re all raid partitions…
[folaht@Stohrje-uq /]$ sudo mount /dev/sda1 /mnt
mount: /mnt: type de système de fichiers « linux_raid_member » inconnu.
[folaht@Stohrje-uq /]$ sudo mount /dev/sda2 /mnt
mount: /mnt: type de système de fichiers « linux_raid_member » inconnu.
[folaht@Stohrje-uq /]$ sudo mount /dev/sda3 /mnt
mount: /mnt: type de système de fichiers « linux_raid_member » inconnu.
[folaht@Stohrje-uq /]$ sudo mount /dev/sda4 /mnt
mount: /mnt: type de système de fichiers « linux_raid_member » inconnu.
[folaht@Stohrje-uq /]$ sudo mount /dev/sda5 /mnt
mount: /mnt: type de système de fichiers « linux_raid_member » inconnu.
and frankly, I don’t care about raid partitions.
I don’t know what they are, or what they do,
but I’m thinking I want everything in one little neat btrfs partition.
There’s about 100 GB of valuable data on it, probably on partition sda3.
Is it possible for me to somehow save that data?
I’m not familiar with RAID, so I’m not sure how to handle it.
I do know that there’s a lvm2_member underneath sda3 and doing lvdisplay on it I get this.
[folaht@Stohrje-uq /]$ sudo lvdisplay
WARNING: Unrecognised segment type tier-thin-pool
WARNING: Unrecognised segment type thick
WARNING: Unrecognised segment type flashcache
WARNING: PV /dev/md2 in VG vg1 is using an old PV header, modify the VG to update.
LV vg1/tp1, segment 1 invalid: does not support flag ERROR_WHEN_FULL. for tier-thin-pool segment.
Internal error: LV segments corrupted in tp1.
Cannot process volume group vg1
But I might be getting ahead of myself there, so I first want to understand what to do about raid partitions first.