This shows you the differences between two versions of the page.
unix:lvm_recovery [2011/10/23 15:03] robm created |
unix:lvm_recovery [2013/08/20 22:54] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Recovering my lost data: LVM and RAID ====== | ||
- | |||
- | So I upgraded Ubuntu 9.10 to Ubuntu 11.10 by _replacing_ my installation, | ||
- | |||
- | ===== About the file-system: | ||
- | |||
- | There are many layers of indirection between the file-system and the physical storage when using LVM or RAID. When using both, the number of layers can seem excessive. Here's a diagram of the layers involved in my (lost) setup: | ||
- | |||
- | < | ||
- | digraph G { | ||
- | fs_store [label=" | ||
- | lv_store [label=" | ||
- | vg_store [label=" | ||
- | pv_store [label=" | ||
- | md0 [label=" | ||
- | sdb1 [label=" | ||
- | sdc1 [label=" | ||
- | sdd1 [label=" | ||
- | sde1 [label=" | ||
- | sdf1 [label=" | ||
- | sdb [label=" | ||
- | sdc [label=" | ||
- | sdd [label=" | ||
- | sde [label=" | ||
- | sdf [label=" | ||
- | |||
- | sdb1 -> sdb | ||
- | sdc1 -> sdc | ||
- | sdd1 -> sdd | ||
- | sde1 -> sde | ||
- | sdf1 -> sdf | ||
- | md0 -> {sdb1 sdc1 sdd1 sde1 sdf1} | ||
- | pv_store -> md0 | ||
- | vg_store -> pv_store | ||
- | lv_store -> vg_store | ||
- | fs_store -> lv_store | ||
- | } | ||
- | </ | ||
- | |||
- | Note that the RAID block device, '' | ||
- | |||