RAID setup issues
by enginama1 from LinuxQuestions.org on (#4SP44)
I have 2 disks on a physical server and my second drive seems to be configured as raid0 but is showing inactive.
Can I just reclaim this drive as mdstat is showing no personalities and that they are inactive and if so what is the best way to do this for setting up new volumes.
Code:
cat /proc/mdstat
Personalities :
md124 : inactive sdb5[1](S)
1883650136 blocks super 1.2
md125 : inactive sdb3[1](S)
52396032 blocks super 1.2
md126 : inactive sdb1[1](S)
523760 blocks super 1.2
md127 : inactive sdb2[1](S)
16760832 blocks super 1.2
mdadm --detail /dev/md124
/dev/md124:
Version : 1.2
Raid Level : raid0
Total Devices : 1
Persistence : Superblock is persistent
State : inactive
Working Devices : 1
Name : rescue:3
UUID : 8ff8bfc1:224bc00a:29eef195:2b965111
Events : 0
Number Major Minor RaidDevice
- 8 21 - /dev/sdb5


Can I just reclaim this drive as mdstat is showing no personalities and that they are inactive and if so what is the best way to do this for setting up new volumes.
Code:
cat /proc/mdstat
Personalities :
md124 : inactive sdb5[1](S)
1883650136 blocks super 1.2
md125 : inactive sdb3[1](S)
52396032 blocks super 1.2
md126 : inactive sdb1[1](S)
523760 blocks super 1.2
md127 : inactive sdb2[1](S)
16760832 blocks super 1.2
mdadm --detail /dev/md124
/dev/md124:
Version : 1.2
Raid Level : raid0
Total Devices : 1
Persistence : Superblock is persistent
State : inactive
Working Devices : 1
Name : rescue:3
UUID : 8ff8bfc1:224bc00a:29eef195:2b965111
Events : 0
Number Major Minor RaidDevice
- 8 21 - /dev/sdb5