"qm list" generates extraneous device mapper errors

rmcewen

New Member
Apr 13, 2010
4
0
1
I recently created a new Proxmox 1.7 server (kernel 2.6.35) and store the vm's in logical volumes on a new volume group created on separate local raid pair (/dev/md3). Everything is working fine.

Apparently device mapper creates a node for all the logical volumes of the form /dev/dm-xx and when I run something like "qm list" it spits out a bunch of errors to standard error like so:

Code:
/dev/dm-19: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-20: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-21: read failed after 0 of 4096 at 0: Input/output error
Not a big deal, but it makes it difficult to read the actual output in a console window.

None of my previous Proxmox servers did this (using lvm on an iscsi device).

Any ideas on why this is occurring and how to stop it?
 
I recently created a new Proxmox 1.7 server (kernel 2.6.35) and store the vm's in logical volumes on a new volume group created on separate local raid pair (/dev/md3). Everything is working fine.

Apparently device mapper creates a node for all the logical volumes of the form /dev/dm-xx and when I run something like "qm list" it spits out a bunch of errors to standard error like so:

Code:
/dev/dm-19: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-20: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-21: read failed after 0 of 4096 at 0: Input/output error
Not a big deal, but it makes it difficult to read the actual output in a console window.

None of my previous Proxmox servers did this (using lvm on an iscsi device).

Any ideas on why this is occurring and how to stop it?
Hi,
this can occur if you had entrys from an old (now unconnected) storage.
look with "dmsetup info" - this with minor number 19, 20 and 21 is your problem.

Udo
 
Yes, that was it. I had connected to an iscsi target with the existing volumes in order to migrate the vm's to the new server.

Removing the missing nodes with "dmsetup remove" took care of it.

Thanks for the help.

Rick