I had alot of errors in my logs:
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
Plus my server is hanging from time to time due to the error and i have to ask someone to phisically reboot it.
I have found somewhete in the forum:
http://forum.proxmox.com/threads/635-backup-with-snapshot
And i issued: lvremove /dev/pve/vzsnap-vps3-0
Now i can't access /var/lib/vz anymore.
Also i saw this thread:
http://www.eecs.iu-bremen.de/wiki/index.php/LVM
But i don't see in any of the files from /etc/lvm/backup/pve or in /etc/lvm/archive/pve_xxx.vg any field 'name' if i run
vgcfgrestore -d -v -f /etc/lvm/archive/vg1_00004.vg vg1
I have seen some archive files in /etc/lvm/backup and archive, but i don't know how to use them to restore the deleted lvm.
Can someone help me pls?
I have issued:
vgcfgrestore -d -v -f /etc/lvm/backup/pve pve
Now i get:
lvscan
ACTIVE '/dev/pve/swap' [7.00 GB] inherit
ACTIVE '/dev/pve/root' [96.00 GB] inherit
inactive Original '/dev/pve/data' [1.71 TB] inherit
inactive Snapshot '/dev/pve/vzsnap-vps3-0' [1.00 GB] inherit
pvscan displays
pvscan
PV /dev/sda2 VG pve lvm2 [1.82 TB / 3.00 GB free]
Total: 1 [1.82 TB] / in use: 1 [1.82 TB] / in no VG: 0 [0 ]
But i cannot access my /var/lib/vz folder
The content of mtab:
/dev/pve/root / ext3 rw,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/mapper/pve-data /var/lib/vz ext3 rw 0 0
/dev/sda1 /boot ext3 rw 0 0
Any ideeas???
Thank you
One more thing ... i cannot issue reboot or shutdown -r now .... i mean it takes the command but it won't reboot. Any ideas?
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
Plus my server is hanging from time to time due to the error and i have to ask someone to phisically reboot it.
I have found somewhete in the forum:
http://forum.proxmox.com/threads/635-backup-with-snapshot
And i issued: lvremove /dev/pve/vzsnap-vps3-0
Now i can't access /var/lib/vz anymore.
Also i saw this thread:
http://www.eecs.iu-bremen.de/wiki/index.php/LVM
But i don't see in any of the files from /etc/lvm/backup/pve or in /etc/lvm/archive/pve_xxx.vg any field 'name' if i run
vgcfgrestore -d -v -f /etc/lvm/archive/vg1_00004.vg vg1
I have seen some archive files in /etc/lvm/backup and archive, but i don't know how to use them to restore the deleted lvm.
Can someone help me pls?
I have issued:
vgcfgrestore -d -v -f /etc/lvm/backup/pve pve
Now i get:
lvscan
ACTIVE '/dev/pve/swap' [7.00 GB] inherit
ACTIVE '/dev/pve/root' [96.00 GB] inherit
inactive Original '/dev/pve/data' [1.71 TB] inherit
inactive Snapshot '/dev/pve/vzsnap-vps3-0' [1.00 GB] inherit
pvscan displays
pvscan
PV /dev/sda2 VG pve lvm2 [1.82 TB / 3.00 GB free]
Total: 1 [1.82 TB] / in use: 1 [1.82 TB] / in no VG: 0 [0 ]
But i cannot access my /var/lib/vz folder
The content of mtab:
/dev/pve/root / ext3 rw,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/mapper/pve-data /var/lib/vz ext3 rw 0 0
/dev/sda1 /boot ext3 rw 0 0
Any ideeas???
Thank you
One more thing ... i cannot issue reboot or shutdown -r now .... i mean it takes the command but it won't reboot. Any ideas?
Last edited: