This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
linux:linux_error_lvm [2024/01/26 15:36] manu |
linux:linux_error_lvm [2024/05/16 23:56] (current) manu |
||
|---|---|---|---|
| Line 89: | Line 89: | ||
| lv_opt_tivoli vg_root -wi------- 2.00g /dev/sda3(1024) | lv_opt_tivoli vg_root -wi------- 2.00g /dev/sda3(1024) | ||
| </cli> | </cli> | ||
| + | |||
| + | ===== Recovering Volume Group Metadata ===== | ||
| + | |||
| + | Restore VG metadata | ||
| + | <cli prompt='#'> | ||
| + | # vgcfgrestore VG | ||
| + | Restored volume group VG | ||
| + | </cli> | ||
| + | |||
| + | Assign a random UUID to VG | ||
| + | <cli prompt='#'> | ||
| + | # vgchange -an vg-name | ||
| + | # vgchange --uuid <vg-name> | ||
| + | # vgchange -an vg-name | ||
| + | </cli> | ||
| + | |||
| + | |||