Version 1 (modified by 15 years ago) ( diff ) | ,
---|
Kiyoshi recovery 2010-02
This page documents the planned steps for the Kiyoshi disk recovery (see #2828).
- Install debirf image - this will allow us to boot into a debian installation loaded completely in memory giving us full access to all underlying disks
- After booting into debirf:
- Prepare the disks so we can access them:
- Initialize the RAID arrays
mdadm ....
- Decrypt the RAID arrays
cryptsetup luksOpen /dev/md1 crypt_md1 cryptsetup luksOpen /dev/md2 crypt_md2
- Scan for logical volumes
vgscan --mknodes vgchange -aly
- Initialize the RAID arrays
- Move all logical volumes to sdc2
- Find logical volumes with:
lvs
- Examine to figure out which ones are on which physical volumes
lvdisplay -m vg_kiyoshi0/<logical-volume-name>
- Move with:
pvmove --verbose vg_kiyoshi0/<logical-volume-name> <path/to/old/> </dev/sdc>
- Find logical volumes with:
- Prepare the disks so we can access them:
Note:
See TracWiki
for help on using the wiki.