1 |
On Sat, 2008-08-02 at 12:49 +0300, Eray Aslan wrote: |
2 |
> Hello, |
3 |
> |
4 |
> One of the disks in a 3-disk lvm2 group crashed. I would like to |
5 |
> continue with the remaining 2 disks. How to remove the non-functioning |
6 |
> disk from the group and re-create the volume with 2 disks? I have backups. |
7 |
> |
8 |
> # vgremove home_vol |
9 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
10 |
> Couldn't find all physical volumes for volume group home_vol. |
11 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
12 |
> Couldn't find all physical volumes for volume group home_vol. |
13 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
14 |
> Couldn't find all physical volumes for volume group home_vol. |
15 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
16 |
> Couldn't find all physical volumes for volume group home_vol. |
17 |
> Volume group "home_vol" not found |
18 |
> |
19 |
> # vgscan |
20 |
> Reading all physical volumes. This may take a while... |
21 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
22 |
> Couldn't find all physical volumes for volume group home_vol. |
23 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
24 |
> Couldn't find all physical volumes for volume group home_vol. |
25 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
26 |
> Couldn't find all physical volumes for volume group home_vol. |
27 |
> Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'. |
28 |
> Couldn't find all physical volumes for volume group home_vol. |
29 |
> Volume group "home_vol" not found |
30 |
|
31 |
The lvm(8) man page lists the --partial flag. A quick Google search |
32 |
reveals: |
33 |
|
34 |
vgchange -ay --partial |
35 |
|
36 |
-a |