redshodan / cairn

CAIRN is a modular copy and restore program for the imaging of a computer. It copies every file on a computer and figures out how to recreate it from scratch. It is primarily network oriented but is also flexible enough to boot from any possible method.
GNU General Public License v2.0
0 stars 0 forks source link

Correct order of restore of MD and LVM #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently drives are repartitioned, MD(P) devices are created, MDP devices
are partitioned, then LVMs are created. This works in the general case of
LVMs being built on top of MDs. Its possible to have any order of
dependency with the logical devices.

Create a dependency graph for the devices and restore them in the right
order. This will require the modules to be re-architected. 

Original issue reported on code.google.com by redshodan@gmail.com on 4 Mar 2007 at 10:31