Hi,
I had created some lvm partitions in hdb. Now i have formatted hda and of course all the confs and entries in /dev have disappeared- the whole OS installation is included here, hdb is just an extra storage. With "lvdisplay", i
can see these:
Code:
vakhos:~/xen-3.0.1-install# lvdisplay
Incorrect metadata area header checksum
Incorrect metadata area header checksum
--- Logical volume ---
LV Name /dev/dias/root
VG Name dias
LV UUID VdwyU0-Ju1Q-IZo2-PdEV-5iqK-xrwC-zsSbKx
LV Write Access read/write
LV Status NOT available
LV Size 5.37 GB
Current LE 1375
Segments 2
Allocation inherit
Read ahead sectors 0
--- Logical volume ---
LV Name /dev/dias/swap
VG Name dias
LV UUID MGpZz8-h0i8-cCXm-yBBW-X370-3roA-UeD46a
LV Write Access read/write
LV Status NOT available
LV Size 512.00 MB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
--- Logical volume ---
LV Name /dev/poseidon/root
VG Name poseidon
LV UUID FM4b2A-m6XS-wdbk-352d-6J6m-OmZc-EBVTXI
LV Write Access read/write
LV Status NOT available
LV Size 5.86 GB
Current LE 1500
Segments 2
Allocation inherit
Read ahead sectors 0
--- Logical volume ---
LV Name /dev/poseidon/swap
VG Name poseidon
LV UUID yAmubo-b2ns-7nzN-q1sn-f5xR-FaHv-lC53pE
LV Write Access read/write
LV Status NOT available
LV Size 512.00 MB
Current LE 128
Segments 2
Allocation inherit
Read ahead sectors 0
Can i restore the "lvm system"? Of course /dev doesn't contain any volume group entries and trying to recreate the volume group entries with vgcreate returns an error.
Code:
vakhos:~/xen-3.0.1-install# vgcreate poseidon /dev/hdb5 /dev/hdb6
Incorrect metadata area header checksum
Incorrect metadata area header checksum
A volume group called 'poseidon' already exists.
Thanks