My server doesn't boot. I've got some errors saying that the mount points for the lvm are not available.
I have tryied to mount the volumes using a knoppix live cd but when I try to do some commands I always have an error. Bellow you can see some of the errors:
root@Microknoppix:/mnt# pvscan
PV /dev/sda2 VG pve lvm2 [297.59 GiB / 3.99 GiB free]
Total: 1 [297.59 GiB] / in use: 1 [297.59 GiB] / in no VG: 0 [0 ]
root@Microknoppix:/mnt# vgscan
Reading all physical volumes. This may take a while...
Found volume group "pve" using metadata type lvm2
root@Microknoppix:/mnt# lvscan
ACTIVE '/dev/pve/swap' [4.00 GiB] inherit
ACTIVE '/dev/pve/root' [74.50 GiB] inherit
ACTIVE '/dev/pve/data' [215.09 GiB] inherit
root@Microknoppix:/mnt# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 pve lvm2 a- 297.59g 3.99g
root@Microknoppix:/mnt# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 297.59g 3.99g
root@Microknoppix:/mnt# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data pve -wi-d- 215.09g
root pve -wi-d- 74.50g
swap pve -wi-d- 4.00g
root@Microknoppix:/mnt# mount /dev/mapper/pve-data /mnt/t -t ext3
mount: wrong fs type, bad option, bad superblock on /dev/mapper/pve-data,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail
[103816.244512] EXT3-fs (dm-5): error: unable to read superblock
Has you can see it seems like pve-data points to dm-5 which doesn't appear on the fdisk -l list.
I only need to recover 2 virtual machines from the pve-data partition, I can reinstall all after recover these two files.
Any help?
I have tryied to mount the volumes using a knoppix live cd but when I try to do some commands I always have an error. Bellow you can see some of the errors:
root@Microknoppix:/mnt# pvscan
PV /dev/sda2 VG pve lvm2 [297.59 GiB / 3.99 GiB free]
Total: 1 [297.59 GiB] / in use: 1 [297.59 GiB] / in no VG: 0 [0 ]
root@Microknoppix:/mnt# vgscan
Reading all physical volumes. This may take a while...
Found volume group "pve" using metadata type lvm2
root@Microknoppix:/mnt# lvscan
ACTIVE '/dev/pve/swap' [4.00 GiB] inherit
ACTIVE '/dev/pve/root' [74.50 GiB] inherit
ACTIVE '/dev/pve/data' [215.09 GiB] inherit
root@Microknoppix:/mnt# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 pve lvm2 a- 297.59g 3.99g
root@Microknoppix:/mnt# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- 297.59g 3.99g
root@Microknoppix:/mnt# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data pve -wi-d- 215.09g
root pve -wi-d- 74.50g
swap pve -wi-d- 4.00g
root@Microknoppix:/mnt# mount /dev/mapper/pve-data /mnt/t -t ext3
mount: wrong fs type, bad option, bad superblock on /dev/mapper/pve-data,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail
[103816.244512] EXT3-fs (dm-5): error: unable to read superblock
Has you can see it seems like pve-data points to dm-5 which doesn't appear on the fdisk -l list.
I only need to recover 2 virtual machines from the pve-data partition, I can reinstall all after recover these two files.
Any help?