| 1 | = Kiyoshi recovery 2010-02 = |
| 2 | |
| 3 | This page documents the planned steps for the Kiyoshi disk recovery (see #2828). |
| 4 | |
| 5 | * 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 |
| 6 | * After booting into debirf: |
| 7 | * Prepare the disks so we can access them: |
| 8 | * Initialize the RAID arrays |
| 9 | {{{ |
| 10 | mdadm .... |
| 11 | }}} |
| 12 | * Decrypt the RAID arrays |
| 13 | {{{ |
| 14 | cryptsetup luksOpen /dev/md1 crypt_md1 |
| 15 | cryptsetup luksOpen /dev/md2 crypt_md2 |
| 16 | }}} |
| 17 | * Scan for logical volumes |
| 18 | {{{ |
| 19 | vgscan --mknodes |
| 20 | vgchange -aly |
| 21 | }}} |
| 22 | * Move all logical volumes to sdc2 |
| 23 | * Find logical volumes with: |
| 24 | {{{ |
| 25 | lvs |
| 26 | }}} |
| 27 | * Examine to figure out which ones are on which physical volumes |
| 28 | {{{ |
| 29 | lvdisplay -m vg_kiyoshi0/<logical-volume-name> |
| 30 | }}} |
| 31 | * Move with: |
| 32 | {{{ |
| 33 | pvmove --verbose vg_kiyoshi0/<logical-volume-name> <path/to/old/> </dev/sdc> |
| 34 | }}} |