[ovirt-users] Recognize HE iSCSI volume size change

Nir Soffer nsoffer at redhat.com
Fri Feb 24 18:58:15 UTC 2017


On Fri, Feb 24, 2017 at 8:33 PM, Chris Adams <cma at cmadams.net> wrote:
> Once upon a time, Nir Soffer <nsoffer at redhat.com> said:
>> This is not enough, you need to resize the multiapth mapping on all hosts,
>> resize the pv using the LUN (must be done by the SPM), and invalidate
>> vdsm lvm cache on all hosts, so they go to storage and see the new size of
>> the pv.
>
> I did all of this except invaliding the vdsm lvm cache - how would I do
> that?

The easiest way is to restart vdsm on all hosts.

I think the complete flow on 3.5 can work like this:

1. stop ovirt-engine, so it will not try to restart vdsm on any host
2. stop vdsm on all hosts
3. rescan scsi bus, resizing luns on all hosts
4. pvresize the pv from one on the host
5. start vdsm on all hosts
6. start ovirt-engine

This will allow resize while the storage is online and vms are running.

If you are ok with some downtime, you can simplify:

1. stop vms using this storage domain
2. put the storage domain to maintenance
3. rescan scsi bug, resizing luns
4. pvresize the pv
5. active the storage domain

> I will say just doing up to the pvresize worked in my test environment
> (but I might have just been lucky).

Probably.

> --
> Chris Adams <cma at cmadams.net>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


More information about the Users mailing list