<div class="gmail_quote">On Wed, Sep 26, 2012 at 6:12 PM, Ayal Baron <span dir="ltr"><<a href="mailto:abaron@redhat.com" target="_blank">abaron@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">Sounds really over-complicated for what you're trying to do.</div></div></blockquote><div><br></div><div>Agreed! That's why I asked. =) To be clear, all that was necessary to end up where I wanted was to reboot the hosts, which is not terribly complicated, but time consuming and should not be necessary. I tired all those other steps based on recommendations in this thread to avoid the reboot.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After increasing the size of the LUN in the storage side try running the following command on the SPM:<br>
vdsClient -s 0 getDeviceList<br>
(-s is only if ssl is enabled, otherwise just remove it)<br>
<br>
After that run pvresize (for LVM to update its metadata).<br>
That should be it on the SPM side.<br></blockquote><div><br></div><div>This did not make any difference. I increased the LUN to 14.1 on the Equallogics box and then ran these commands (you may want to skip past this to the text below since I am leaning heavily toward the add a LUN method):</div>
<div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><div><font face="courier new, monospace">[root@cloudhost04 ~]# pvdisplay</font></div></div></div><div class="gmail_quote">
<div><div><font face="courier new, monospace"> --- Physical volume ---</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Name /dev/mapper/364ed2a35d83f5d68b705e54229020027</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> VG Name 64c4a870-98dc-40fc-b21e-092156febcdc</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Size 14.00 TiB / not usable 129.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocatable yes</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PE Size 128.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Total PE 114686</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Free PE 111983</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocated PE 2703</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV UUID h8tZon-o5sB-FR4M-m8oT-UPub-eM1w-7eexhO</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace">[root@cloudhost04 ~]# vdsClient -s 0 getDeviceList</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace">[{'GUID': '364ed2a35d83f5d68b705e54229020027',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'capacity': '15393163837440',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'devtype': 'iSCSI',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'fwrev': '5.2',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'logicalblocksize': '512',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'partitioned': False,</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'pathlist': [{'connection': '10.10.5.18',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'initiatorname': 'default',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'iqn': 'iqn.2001-05.com.equallogic:4-52aed6-685d3fd83-2700022942e505b7-cloud2', </font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'port': '3260',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'portal': '1'}],</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'pathstatus': [{'lun': '0',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'physdev': 'sdd',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'state': 'active',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'type': 'iSCSI'}],</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'physicalblocksize': '512',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'productID': '100E-00',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'pvUUID': 'h8tZon-o5sB-FR4M-m8oT-UPub-eM1w-7eexhO',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'serial': '',</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'vendorID': 'EQLOGIC',</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> 'vgUUID': 'XtdGHH-5WwC-oWRa-bv0V-me7t-T6ti-M9WKd2'}]</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"><br></font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace">[root@cloudhost04 ~]# pvdisplay</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> --- Physical volume ---</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Name /dev/mapper/364ed2a35d83f5d68b705e54229020027</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> VG Name 64c4a870-98dc-40fc-b21e-092156febcdc</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Size 14.00 TiB / not usable 129.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocatable yes</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PE Size 128.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Total PE 114686</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Free PE 111983</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocated PE 2703</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV UUID h8tZon-o5sB-FR4M-m8oT-UPub-eM1w-7eexhO</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"><br></font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace">[root@cloudhost04 ~]# pvresize /dev/mapper/364ed2a35d83f5d68b705e54229020027</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Physical volume "/dev/mapper/364ed2a35d83f5d68b705e54229020027" changed</font></div></div></div><div class="gmail_quote"><div>
<div><font face="courier new, monospace"> 1 physical volume(s) resized / 0 physical volume(s) not resized</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace">[root@cloudhost04 ~]# pvdisplay</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> --- Physical volume ---</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Name /dev/mapper/364ed2a35d83f5d68b705e54229020027</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> VG Name 64c4a870-98dc-40fc-b21e-092156febcdc</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV Size 14.00 TiB / not usable 129.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocatable yes</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PE Size 128.00 MiB</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Total PE 114686</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Free PE 111983</font></div>
</div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> Allocated PE 2703</font></div></div></div><div class="gmail_quote"><div><div><font face="courier new, monospace"> PV UUID h8tZon-o5sB-FR4M-m8oT-UPub-eM1w-7eexhO</font></div>
</div></div></blockquote><div class="gmail_quote"><div><br></div><div>So, not change.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Then if indeed it succeeds, wait a little while for engine to catch up (it periodically runs getStoragePoolInfo and updates its info about free space, you can find this in vdsm.log)<br>
regardless, see below for the preferred method.<br></blockquote><div><br></div><div>Thanks for the confirmation. Any idea what the interval is?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
> Alternately, would it just be better to create a new LUN on the iSCSI<br>
> target and add it to the storage domain? Is that even doable?<br>
<br>
</div>This flow is fully supported and is currently the easiest way of doing this (supported from the GUI and from the CLI). Simply extend a domain with a new LUN<br></blockquote><div><br></div><div>Great! I'll give that a shot.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Certainly it is as simple as adding a new PV to the VG in LVM, but<br>
> does the engine/GUI support it? It seems a bit more messy than<br>
> growing an existing domain from an iSCSI target point of view, but<br>
> are there any technical down sides?<br>
<br>
</div>The target has nothing to do with it, you can have multiple LUNs behind the same target.</blockquote><div><br></div><div>The target serves the LUNs and it was the additional LUNs that I was referring to as being messier when a single LUN could do the job. Not a big problem, just name the LUNs the same the same patters (cloud<#> in my case), but when all other things are equal, less LUNs is less to think about.</div>
<div><br></div><div>However, as I read this email, it occurred that some other things might not be equal. Specifically, using multiple LUNs could provide a means of shrinking the storage domain in the future. LVM provides a simple means to remove a PV from a VG, but does the engine support this in the CLI or GUI? That is, if the a storage domain has multiple LUNs in it, can those be removed at a later date?</div>
</div>