Backup warnings

ejmerkel

Renowned Member
Sep 20, 2012
121
4
83
I noticed the following error in bold when doing backups on a proxmox 2.1 server.


vzdump 101 100 --quiet 1 --mode snapshot --compress lzo --storage backups
101: Oct 07 01:00:01 INFO: Starting Backup of VM 101 (qemu)
101: Oct 07 01:00:01 INFO: status = running
101: Oct 07 01:00:02 INFO: backup mode: snapshot101: Oct 07 01:00:02 INFO: ionice priority: 7
101: Oct 07 01:00:02 INFO: /dev/sde: read failed after 0 of 4096 at 0: Input/output error
101: Oct 07 01:00:02 INFO: /dev/sde: read failed after 0 of 4096 at 34359672832: Input/output error
101: Oct 07 01:00:02 INFO: /dev/sde: read failed after 0 of 4096 at 34359730176: Input/output error
101: Oct 07 01:00:02 INFO: /dev/sde: read failed after 0 of 4096 at 4096: Input/output error
101: Oct 07 01:00:02 INFO: Logical volume "vzsnap-dc03r09ds30-0" created
101: Oct 07 01:00:02 INFO: creating archive '/backup/dump/vzdump-qemu-101-2012_10_07-01_00_01.tar.lzo'
101: Oct 07 01:00:02 INFO: adding '/backup/dump/vzdump-qemu-101-2012_10_07-01_00_01.tmp/qemu-server.conf' to archive ('qemu-server.conf')
101: Oct 07 01:00:02 INFO: adding '/dev/lvm_local_storage/vzsnap-dc03r09ds30-0' to archive ('vm-disk-virtio0.raw')
101: Oct 07 01:26:40 INFO: Total bytes written: 268435458560 (160.20 MiB/s)
101: Oct 07 01:26:40 INFO: archive file size: 7.03GB101: Oct 07 01:26:40 INFO: delete old backup '/backup/dump/vzdump-qemu-101-2012_09_30-01_00_01.tar.lzo'
101: Oct 07 01:26:41 INFO: Finished Backup of VM 101 (00:26:40)

It says the backup completes successfully. However I am wondering what is causing this error because from what I see there is no /dev/sde on this system if I look in fstab and fdisk -l. If I do a pvdisplay I get this error as well. Basically this system has two RAID10 drives /dev/sda which has the pve lvm storage and /dev/sdb which has a local lvm storage group for vm's on it.

# pvdisplay
/dev/sde: read failed after 0 of 4096 at 0: Input/output error
/dev/sde: read failed after 0 of 4096 at 34359672832: Input/output error
/dev/sde: read failed after 0 of 4096 at 34359730176: Input/output error
/dev/sde: read failed after 0 of 4096 at 4096: Input/output error
--- Physical volume ---
PV Name /dev/sdb1
VG Name lvm_local_storage
PV Size 3.54 TiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 927999
Free PE 567039
Allocated PE 360960
PV UUID wADqhN-6qjj-UswV-QbE4-P1xd-OwSD-L2MJ0M


--- Physical volume ---
PV Name /dev/sda2
VG Name pve
PV Size 99.50 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 25471
Free PE 3199
Allocated PE 22272
PV UUID y11t8y-j5Sf-T3ph-HdGC-P1XY-XvOF-fucBp1


I am also seeing similar errors on two other similar systems so I am wondering if this is just a bug and can be ignored? Anyone have any ideas what is causing this?

Thanks,
Eric
 
i get a similar warning if i removed an iSCSI share and didnt reboot the host before actually diabling the iSCSI share.
 
i get a similar warning if i removed an iSCSI share and didnt reboot the host before actually diabling the iSCSI share.
Hi,
you don't need an reboot - you can also remove such staled devices on the fly:
Code:
# e.g.
pvscan 
  /dev/dm-29: read failed after 0 of 4096 at 10737352704: IO Error
  /dev/dm-29: read failed after 0 of 4096 at 10737410048:  IO Error
  /dev/dm-29: read failed after 0 of 4096 at 0:  IO Error
  /dev/dm-29: read failed after 0 of 4096 at 4096:  IO Error
  /dev/dm-29: read failed after 0 of 4096 at 0: IO Error
  ...

# deactivating by
ls -l /dev/dm-29
brw-rw---- 1 root disk [B]252, 29[/B]  2. Feb 13:52 /dev/dm-29

dmsetup info
#and searching the device with (in this case) 252, 29:
Name:              iscsi--test--vg-vm--111--disk--1
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        0
Event number:      0
Major, minor:      252, 29
Number of targets: 1
UUID: LVM-gGZnXw676l3Rczm2VupXhPvx5ngFOvEPrAciaNcdmMT0oYpxU3Rz0QELcBnvCvtb

# remove device with
dmsetup remove iscsi--test--vg-vm--111--disk--1
Voila, no errors during pvs without reboot.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!