Forcing a drive a specific active device number

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Forcing a drive a specific active device number

Re: Forcing a drive a specific active device number

by Alt » Mon Mar 02, 2026 10:03 am

I recommend you to make the image of the disk 1 and try to add this image to the virtual RAID instead of the real drive.

Forcing a drive a specific active device number

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

Top