<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div><div><br></div><div>Using the new attach / detach disk functionality on ONE 3.6, I encountered problems with vmware when the remote scripts /tmp/one/vmm/vmware/attach_disk is executed.</div><div><br></div><div>In fact the command is passed to ssh with a very large shell command as this one:</div><div><br></div><div><font class="Apple-style-span" face="'Courier New'"> /tmp/one/vmm/vmware/attach_disk one-432 /var/lib/one/datastores/0/432/disk.2 sdb 1 PFZNTV9EUklWRVJfQUNUSU9OX0RBVEE+PEhPU1Q+YmxhZGUyLnNlcnZpY2UuY2lvcC5pbnQ8L0hPU1Q+PE5FVF9EUlY+dm13YXJlPC9ORVRfRFJWPjxNSUdSX0hPU1QvPjxNSUdSX05FVF9EUlYvPjxERVBMT1lfSUQ+b25lLTQzMjwvREVQTE9ZX0lEPjxMT0NBTF9ERVBMT1lNRU5UX0ZJTEUvPjxSRU1PVEVfREVQTE9ZTUVOVF9GSUxFLz48Q0hFQ0tQT0lOVF9GSUxFLz48VE1fQ09NTUFORD48IVtDREFUQVtDTE9ORSB2bXdhcmUgY29udHJvbGxlci5jaW9wLnRlcnJhZHVlLmNvbTovdmFyL2xpYi9vbmUvZGF0YXN0b3Jlcy8xMDAvOTNlYzRkYWFlMGE3NzA2NDgyNDczZDBlNjc4NzFkNTAgYmxhZGUyLnNlcnZpY2UuY2lvcC5pbnQ6L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMC80MzIvZGlzay4yIDQzMiAxMDAKXV0+PC9UTV9DT01NQU5EPjxESVNLX1RBUkdFVF9QQVRIPi92YXIvbGliL29uZS9kYXRhc3RvcmVzLzAvNDMyL2Rpc2suMjwvRElTS19UQVJHRVRfUEFUSD48Vk0+PElEPjQzMjwvSUQ+PFVJRD4xPC9VSUQ+PEdJRD4wPC9HSUQ+PFVOQU1FPmVtYXRob3Q8L1VOQU1FPj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Ztd2FyZTwvVk1NTUFEPjxWTk1NQUQ+dm13YXJlPC9WTk1NQUQ+PFRNTUFEPnNzaDwvVE1NQUQ+PERTX0lEPjA8L0RTX0lEPjxQU1RJTUU+MTM0MjA4NDQ3NTwvUFNUSU1FPjxQRVRJTUU+MTM0MjA4NDUyMjwvUEVUSU1FPjxSU1RJTUU+MTM0MjA4NDUyMjwvUlNUSU1FPjxSRVRJTUU+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPjwvVk1NX0RSSVZFUl9BQ1RJT05fREFUQT4= 432 blade2.service.ciop.int</font></div><div><br></div><div>The shell on ESXi host returns: /bin/sh: File too large</div><div>Indeed, once logged on the shell of the host, the command line is limited. The 5th argument is cut.</div><div>The script uses only the 4 first arguments and therefore could work without the others but I suppose it is used by other drivers. </div><div>Would you have a workaround or a configuration on vmware that allow more characters in the shell?</div><div><br></div><div>Cheers,</div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" face="Calibri" size="3"><span class="Apple-style-span" style="font-size: 13px; ">Emmanuel Mathot</span></font></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><br></span></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><a href="http://www.terradue.com/"><span style="font-family: Calibri; color: rgb(0, 58, 161); text-decoration: none; ">www.terradue.com</span></a></span></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Times; "><br></span></span><font class="Apple-style-span" face="Times"><img border="0" width="100" src="http://engine.terradue.com/logo_t2.png" alt="Terradue"></font></font></div></div></div></span></div>
</div>
<br></div></body></html>