User Tools

Site Tools


unix:lvm_recovery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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, rather than upgrading. Bad idea. When the system boots it says it cannot mount ''/store'', my 960GB RAID+LVM file-system. That the one that holds over 10 years of personal photographs and such. :( 
- 
-===== About the file-system: ''store'' ===== 
- 
-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: 
- 
-<graphviz> 
-digraph G { 
-fs_store [label="EXT4 file-system: store"] 
-lv_store [label="LVM logical volume: lv_store"] 
-vg_store [label="LVM volume group: vg_store"] 
-pv_store [label="LVM physical extent: pv_store"] 
-md0 [label="RAID5 block device: md0"] 
-sdb1 [label="AutoRAID partition: sdb1"] 
-sdc1 [label="AutoRAID partition: sdc1"] 
-sdd1 [label="AutoRAID partition: sdd1"] 
-sde1 [label="AutoRAID partition: sde1"] 
-sdf1 [label="AutoRAID partition: sdf1"] 
-sdb [label="Disk: 320GB SATA: sdb"] 
-sdc [label="Disk: 320GB SATA: sdc"] 
-sdd [label="Disk: 320GB SATA: sdd"] 
-sde [label="Disk: 320GB SATA: sde"] 
-sdf [label="Disk: 320GB SATA: sdf"] 
- 
-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 
-} 
-</graphviz> 
- 
-Note that the RAID block device, ''md0'', is not partitioned. I believe that was a mistake on my part, and a likely reason why Ubuntu 11.10 cannot auto-detect it. 
- 
  
unix/lvm_recovery.txt · Last modified: 2013/08/20 22:54 (external edit)