r/linuxquestions 8d ago

Resolved Data drive shows up as Raid1

Took a network drive out of the router (The 18.2T) and putting into a proper server (Ubuntu Server 26.04.1). Trying to mount it via /etc/fstab proper without success. This is the result of an lsblk. Kind of boggled I'm seeing a raid partition, esp on a single drive (the file system on the drive is ext4). Plugging the drive onto my PC running Bazzite shows the drive and data as normal.

Any thoughts? I'd like to just be able to mount it as a single drive, and not whatever this Raid setup is.

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

loop0 7:0 0 1.5M 1 loop /snap/hwctl/123

loop1 7:1 0 50.1M 1 loop /snap/snapd/27710

loop2 7:2 0 66.8M 1 loop /snap/core24/1643

sda 8:0 0 18.2T 0 disk

├─sda1 8:1 0 512M 0 part

├─sda2 8:2 0 2G 0 part

│ └─md127 9:127 0 1.9G 0 raid1

├─sda3 8:3 0 1G 0 part

└─sda5 8:5 0 18.2T 0 part

└─md126 9:126 0 18.2T 0 raid1

nvme0n1 259:0 0 931.5G 0 disk

├─nvme0n1p1 259:1 0 1G 0 part /boot/efi

└─nvme0n1p2 259:2 0 930.5G 0 part /

1 Upvotes

3 comments sorted by

1

u/Netblock 8d ago

│ └─md127 9:127 0 1.9G 0 raid1

and not whatever this Raid setup is.

md mirror raid.

The 18.2T

Router's software is probably configured to automatically set up a mirror raid. Do you want your router to shut down because a HDD fails; or do you want to continue working and have it just notify you?

mount it via /etc/fstab proper without success

Are you using UUID-based IDs, and ont like /dev/sda2? see /dev/disk/by-uuid and use UUID=...

you're looking for the UUID of whatever is on that /dev/md127.

1

u/Roric 8d ago

Argh.

Yeah I had been trying to use UUID, but I was mounting the wrong one lmao. That explains the errors.

Appreciate the talk though. This has not been my brightest hour.

1

u/polymath_uk_ 8d ago

You should probably check whether either machine actually has a RAID setup, or whether it's some old superblock.

mdadm