Hi, it worked!
for reference... on host where vm is running... multipath -r shows old size so I rescan both paths... echo 1 > /sys/class/scsi_device/2\:0\:1\:62/device/rescan echo 1 > /sys/class/scsi_device/2\:0\:0\:62/device/rescan then... multipath -r ...shows new size now I get lun_id (part of --path) and vm_id (--domain) from api and... virsh -c qemu:///system blockresize --path /dev/mapper/36005076b07500eff541809600000001c --size 629145600 --domain 7a5de3e0-ecbd-4ed6-bf98-2e7a45e96027 btw. size is in KiB, so in my case 600GiB * 1024 * 1024 I had to set sasl passwd for my user... I hope this doesn't break something... saslpasswd2 -a libvirt my_username after this resize the colegue tell me that direct lun was resized on the vm side... [524704.451468] sd 2:0:0:1: Capacity data has changed [525449.969906] sd 2:0:0:1: Capacity data has changed [525449.971771] sd 2:0:0:1: [sdb] 1258291200 512-byte logical blocks: (644 GB/600 GiB) [525449.972697] sdb: detected capacity change from 536870912000 to 644245094400 I have no idea what could happen if I set wrong size :-) Thanks, Jiri On 10/19/2017 04:34 PM, Jiří Sléžka wrote: > Hi, > > thanks a lot! I am going to try sugested workaround but tommorow :-) > > Cheers, Jiri > > > On 10/19/2017 02:25 PM, Fred Rolland wrote: >> Hi, >> >> Offline refresh of a direct lun's size is supported since oVirt 3.4 [1]. >> Online refresh, however, is not yet supported [2]. >> You can try the workaround posted on [2], comment 7. >> >> [1] *Bug 1026868* <https://bugzilla.redhat.com/show_bug.cgi?id=1026868> >> -Direct LUN is not being updated after resizing >> [2] *Bug 1155275* <https://bugzilla.redhat.com/show_bug.cgi?id=1155275> >> -[RFE] Online update Direct LUN size to the Guest after LUN resize >> >> On Thu, Oct 19, 2017 at 1:30 PM, Jiří Sléžka <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi all, >> >> one of our user uses direct lun inside one of his vm. Now he expanded >> this lun on the disk array side from 500GB to 600GB but this change was >> not reflected on oVirt nor vm side. >> >> How is direct lun resizing handled in oVirt? >> >> Cheers, >> >> Jiri >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] <mailto:[email protected]> >> http://lists.ovirt.org/mailman/listinfo/users >> <http://lists.ovirt.org/mailman/listinfo/users> >> >> > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/users >
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

