Hi All,

I'm facing the problem that after adding disks to guest VM, the device
target path changed (My ovirt version is 4.3). For example:

Before adding a disk:

virsh # domblklist <vmname>
Target   Source
---------------------------------------------------------
 hdc      -
 vda      /dev/mapper/3600a09803830386546244a546d494f53
 vdb      /dev/mapper/3600a09803830386546244a546d494f54
* vdc      /dev/mapper/3600a09803830386546244a546d494f55*
 vdd      /dev/mapper/3600a09803830386546244a546d494f56
 vde      /dev/mapper/3600a09803830386546244a546d494f57
 vdf      /dev/mapper/3600a09803830386546244a546d494f58

After adding a disk, and then shutdown and start the VM:

virsh # domblklist <vmname>
Target   Source
---------------------------------------------------------
 hdc      -
 vda      /dev/mapper/3600a09803830386546244a546d494f53
 vdb      /dev/mapper/3600a09803830386546244a546d494f54
 *vdc      /dev/mapper/3600a09803830386546244a546d494f6c*
* vdd      /dev/mapper/3600a09803830386546244a546d494f55*
 vde      /dev/mapper/3600a09803830386546244a546d494f56
 vdf      /dev/mapper/3600a09803830386546244a546d494f57
 vdg      /dev/mapper/3600a09803830386546244a546d494f58

The devices' multipath doesn't map to the same target path as before, so in
my VM the /dev/vdc doesn't point to the old
/dev/mapper/3600a09803830386546244a546d494f55 anymore.

Anybody knows how can I make the device path mapping fixed without being
changed after adding or removing disks.

Many thanks in advance.

Joy
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/5GOVN25TX2FIUVUSDJUPBQKMHRZDHE7N/

Reply via email to