You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Folks,
We have slight issue using a new piece of metal that has a virtual (software) raid controller.
The problem is that once we RAID the drive it appears in the /sys/block as md12[567] and hence is filtered out in your initial ks.cg script.
I think one way to listing of raid devices is to cat /proc/mdstat
Specifically these two lines #148 and #199 of ks.cfg (in ISO 2.3.7 download) does not allow visibility of this VROC RAID devices.
for DEV in sda sdb sdc sdd hda hdb hdc hdd vda vdb vdc vdd nvme0n1 nvme1n1 nvme2n1 nvme3n1 xvda xvdb xvdc xvdd ; do
Not sure if it makes sense to add md125 md126 md127 to the "in" collection for enumeration thus allowing these logical RAID devices to be identified and used.
The only subsequent issue is that the constituent RAID block devices will still be enumerated and will need to be filtered out when assigned to a logical RAID device.
We are able to hand jam this change into ks.cfg or simply enter md126 as an option for OS and NSM to get around this current limitation.
Not sure how many SecOnion users are using metal with VROC RAID, so might not even be worth changing upstream.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Folks,
We have slight issue using a new piece of metal that has a virtual (software) raid controller.
The problem is that once we RAID the drive it appears in the /sys/block as md12[567] and hence is filtered out in your initial ks.cg script.
I think one way to listing of raid devices is to
cat /proc/mdstat
Specifically these two lines #148 and #199 of ks.cfg (in ISO 2.3.7 download) does not allow visibility of this VROC RAID devices.
for DEV in sda sdb sdc sdd hda hdb hdc hdd vda vdb vdc vdd nvme0n1 nvme1n1 nvme2n1 nvme3n1 xvda xvdb xvdc xvdd ; do
Not sure if it makes sense to add md125 md126 md127 to the "in" collection for enumeration thus allowing these logical RAID devices to be identified and used.
The only subsequent issue is that the constituent RAID block devices will still be enumerated and will need to be filtered out when assigned to a logical RAID device.
We are able to hand jam this change into ks.cfg or simply enter md126 as an option for OS and NSM to get around this current limitation.
Not sure how many SecOnion users are using metal with VROC RAID, so might not even be worth changing upstream.
Saludos
Sean
Beta Was this translation helpful? Give feedback.
All reactions