OK...I solve and recover all machines! I have luck...and the broken disk allow me to recover all data. This is what I do:
1. I connect the broken disk to the re-installed PVE 1.4 and I found the name of LVM group - this is "pve"
2. I take the disk and I install him into a USB external rack and download a Fedora live CD.
3. After the Fedora live CD boot, open terminal and logon to root account with command "sh"
4. This is the key point: open command
the answer need to be:
Code:
3 logical volume(s) in volume group "pve" now active
we are on good way.
5. now, we list the volumes:
Code:
[root@localhost liveuser]# [B]lvdisplay[/B]
--- Logical volume ---
LV Name /dev/pve/swap
VG Name pve
LV UUID oPtebu-DzQG-ac51-jc9E-0TIC-CAYn-j4yVKN
LV Write Access read/write
LV Status available
# open 0
LV Size 4.00 GB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/pve/root
VG Name pve
LV UUID hVC33d-nNEM-dgGL-u5zw-1sPQ-MDV6-f1wQHi
LV Write Access read/write
LV Status available
# open 0
LV Size 38.25 GB
Current LE 9792
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Name /dev/pve/data
VG Name pve
LV UUID 3A1ZqC-PZ9b-iALZ-aRRw-azv3-5l2A-RGCzBb
LV Write Access read/write
LV Status available
# open 0
LV Size 106.64 GB
Current LE 27299
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
6. now, make 2 directory where to mount the volumes:
Code:
mkdir /mnt/data
mkdir /mnt/root
7. mount the volumes:
Code:
mount /dev/pve/data /mnt/data/
mount /dev/pve/root /mnt/root/
8. Now, browse in this folders and extract all the necessary info to another disk or shared folder.
9. After this, go into the new installed PVE and put the config's into /etc/qemu-server/ and qcow2 files into /var/lib/qemu-server/vz/images (I hope I remember correct the way
)
after that give to this files permision 644 (chmod 644 filename.qcow2 or cfg)
Enter into PVE WebUI and... voila... all machines are ready for action!
PS: I think this can be an article about how to recover data if something happen to the disk (not boot or some damage)!