Vzdump Backup Status (ourserver.com) : Backup Failed

Danielc1234

Active Member
Jan 10, 2010
82
0
26
Hi All, I posted last week about setting up a USB as a backup drive which I successfully set up. I was able to do one VM backup and it seemed to be working fine. I then tried to backup another VM and I believe something went wrong. Ever since then, the nightly backups are failing.
Can someone please tell me what I need to do to get this backup working again? I'm new to proxmox and do not know a lot of commands. So I am hoping there are some commands to be able to correct whatever is happening.
Please see log files below. - Thanks!

Code:
105: Nov 10 01:30:13 INFO: Starting Backup of VM 105 (openvz)
105: Nov 10 01:30:13 INFO: CTID 105 exist mounted running
105: Nov 10 01:30:13 INFO: status = CTID 105 exist mounted running
105: Nov 10 01:30:13 INFO: backup mode: snapshot
105: Nov 10 01:30:13 INFO: ionice priority: 7
105: Nov 10 01:30:13 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-ourserver-0')
105: Nov 10 01:30:13 INFO:   /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
105: Nov 10 01:30:13 INFO:   Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
105: Nov 10 01:30:13 ERROR: Backup of VM 105 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-ourserver-0 /dev/pve/data' failed with exit code 5
 
101: Nov 10 01:30:13 INFO: Starting Backup of VM 101 (qemu)
101: Nov 10 01:30:13 INFO: running
101: Nov 10 01:30:13 INFO: status = running
101: Nov 10 01:30:14 INFO: backup mode: snapshot
101: Nov 10 01:30:14 INFO: ionice priority: 7
101: Nov 10 01:30:14 INFO:   /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
101: Nov 10 01:30:14 INFO:   Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
101: Nov 10 01:30:14 ERROR: Backup of VM 101 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-ourserver-0' '/dev/pve/data'' failed with exit code 5
 
102: Nov 10 01:30:14 INFO: Starting Backup of VM 102 (qemu)
102: Nov 10 01:30:14 INFO: running
102: Nov 10 01:30:14 INFO: status = running
102: Nov 10 01:30:14 INFO: backup mode: snapshot
102: Nov 10 01:30:14 INFO: ionice priority: 7
102: Nov 10 01:30:14 INFO:   /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
102: Nov 10 01:30:14 INFO:   Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
102: Nov 10 01:30:15 ERROR: Backup of VM 102 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-ourserver-0' '/dev/pve/data'' failed with exit code 5
 
103: Nov 10 01:30:15 INFO: Starting Backup of VM 103 (qemu)
103: Nov 10 01:30:15 INFO: running
103: Nov 10 01:30:15 INFO: status = running
103: Nov 10 01:30:15 INFO: backup mode: snapshot
103: Nov 10 01:30:15 INFO: ionice priority: 7
103: Nov 10 01:30:15 INFO:   /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
103: Nov 10 01:30:15 INFO:   Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
103: Nov 10 01:30:15 ERROR: Backup of VM 103 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-ourserver-0' '/dev/pve/data'' failed with exit code 5
 
104: Nov 10 01:30:15 INFO: Starting Backup of VM 104 (qemu)
104: Nov 10 01:30:16 INFO: running
104: Nov 10 01:30:16 INFO: status = running
104: Nov 10 01:30:16 INFO: backup mode: snapshot
104: Nov 10 01:30:16 INFO: ionice priority: 7
104: Nov 10 01:30:16 INFO:   /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
104: Nov 10 01:30:16 INFO:   Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
104: Nov 10 01:30:16 ERROR: Backup of VM 104 failed - command 'lvcreate --size 1024M --snapshot --name 'vzsnap-ourserver-0' '/dev/pve/data'' failed with exit code 5
 
remove the logical volume manually.

Logical volume "vzsnap-ourserver-0" already exists in volume group "pve"
Code:
lvremove /dev/pve/vzsnap-ourserver-0
 
When I run that command I get this error.....

Code:
  /dev/dm-2: read failed after 0 of 4096 at 0: Input/output error

and when I look in that directory, I do not see that file, etc. Only data, root and swap is in that directory.
 
run 'lvdisplay'
 
I get this after running that command...


Code:
/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
  --- Logical volume ---
  LV Name                /dev/pve/swap
  VG Name                pve
  LV UUID                o76A3d-M9xs-PYJN-KwTe-Ed0j-23bL-b4AEki
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                11.00 GB
  Current LE             2816
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0


  --- Logical volume ---
  LV Name                /dev/pve/root
  VG Name                pve
  LV UUID                9Bhhjd-FArS-RYa2-1fcx-RP5l-nEFM-w6Ypfv
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                96.00 GB
  Current LE             24576
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1


  --- Logical volume ---
  LV Name                /dev/pve/data
  VG Name                pve
  LV UUID                zNHqgd-nFM6-1iij-estw-jj1D-4YUj-yYuHDl
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/pve/vzsnap-zicominc2-0 [INACTIVE]
  LV Status              available
  # open                 1
  LV Size                446.50 GB
  Current LE             114304
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3


  --- Logical volume ---
  LV Name                /dev/pve/vzsnap-zicominc2-0
  VG Name                pve
  LV UUID                RjXfVf-QCqC-kz6V-ASw3-AxDx-3z8q-6qgu1e
  LV Write Access        read/write
  LV snapshot status     INACTIVE destination for /dev/pve/data
  LV Status              available
  # open                 1
  LV Size                446.50 GB
  Current LE             114304
  COW-table size         1.00 GB
  COW-table LE           256
  Snapshot chunk size    4.00 KB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
 
Tried that as well and got this... even though I see the file in the directory.

Code:
device-mapper: remove ioctl failed: No such device or address
Command failed
 
@dietmar
The output was this...

Code:
pve-data-real: 0 936378368 linear 8:2 224395648
pve-swap: 0 23068672 linear 8:2 384
pve-vzsnap--zicominc2--0-cow: 0 2097152 linear 8:2 1160774016
pve-root: 0 201326592 linear 8:2 23069056
pve-data: 0 936378368 snapshot-origin 254:4
pve-vzsnap--zicominc2--0: 0 936378368 snapshot 254:4 254:5 P 8

I apologize that I do not know a lot of the line commands for proxmox. Can you please tell me what I would need to do in order to get this backup working?
Thanks
 
I tried both of those commands and got this...

Code:
device-mapper: remove ioctl failed: Device or resource busy
Command failed

Anything else I can try or do?