Linux mdraid RAID-10 with FOG?
-
I have read it should be possible to capture and deploy Linux images using Linux software mdraid here:
Has anyone successfully captured and restored a Linux mdraid RAID-10 array using FOG? I have only read discussion on here of people capturing RAID-1 arrays.
-
@danboid Well you need to be a bit more specific. Are you using the intel raid controller to manage your raid-10 array or are you using a traditional hardware raid controller like a dell perc H730?
-
Sorry, I thought I was being specific by calling it mdraid, is that not its name? Its the all software RAID built into the Linux kernel, as configurable by the Ubuntu server installer etc.
-
Maybe I should’ve called it mdadm instead of mdraid?
-
It seems it is possible to image mdadm/mdraid arrays using Clonezilla but you have to create the array manually to restore the image, if the array doesn’t already exist.
https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/447b64e1f2/
-
@danboid said in Linux mdraid RAID-10 with FOG?:
software RAID built into the Linux kernel
These are the words I was looking for to give a direction. mdraid can be used for more than just the intel fake raid as you referenced previously.
Yes FOS linux (the engine that interacts with the target computer to capture and deploy images) can interact with a software raid.
the same rules for FOG imaging as with clonezilla. If the software raid doesn’t exist you must create it before you can image it. You could test to see if it exists in a FOG post init script, If your deployment mode is download then you could create a bash script to create the array. Post init scripts are executed just after the FOS OS inits and before any imaging begins. The tutorial you referenced before lays out all of the bits you need, just in this case you are not setting up the intel fake raid configuration.