Forcing a drive a specific active device number

Discussions on using the professional data recovery program R-STUDIO for RAID re-construction, NAS recovery, and recovery of various disk and volume managers: Windows storage spaces, Apple volumes, and Linux Logical Volume Manager.
dlucio
Posts: 1
Joined: Fri Feb 27, 2026 11:46 pm

Forcing a drive a specific active device number

Post by dlucio » Fri Feb 27, 2026 11:56 pm

I have a Linux RAID 5 with 4 disks. Unfortunately, one disk failed (physical failure). The problem was that after I rebooted, I couldn't start the raid.
After some digging, I found that two disks claim to have the same Device number. I have identified the device that is the legit Device 0 (based on the events).

The thing is that because both devices claim to be the same, I can't start the raid in degraded mode. I already know which drives are disk 0 and 2.
Is there a way to determine the real device number from the duplicate one?

Or is there a way to force RStudio to use it? I have the option "add to raid..." but it doesn't know anything, because disk 0 already exists.

TIA