New Question

Revision history [back]

click to hide/show revision 1
initial version

Extending volumes on Windows 2016 does not work with volumes over 93GB?

Hi,

I have an issue with extending volumes with cloudbase-init on Win2k16 when volumes are over 93GB.

  • If I create on Win2k16 volume with 94GB or more, automatic disk resize not working.
  • If I create onstrong text Win2k16 volume with 93GB or less everything is ok.

Is there any limitations in volume size in ExtendVolumesPlugin?

  • 93GB -> 99857989632 byte - OK

  • 94GB -> 100931731456 byte - don't work

Here is the output from cloudbase-init.log with volumes 93GB

2017-02-09 12:47:29.239 2984 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin' 2017-02-09 12:47:29.239 2984 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:47:29.255 2984 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.windows.storage.wsmstoragemanager.WSMStorageManager' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:47:42.602 2984 INFO cloudbaseinit.utils.windows.storage.wsmstoragemanager [-] Extending partition "1" to 99855892480 bytes strong text

Here is the output from cloudbase-init.log with volumes 94GB

2017-02-09 12:51:00.949 2940 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin' 2017-02-09 12:51:00.949 2940 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:51:00.964 2940 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.windows.storage.wsmstoragemanager.WSMStorageManager' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2017-02-09 12:51:14.021 2940 DEBUG cloudbaseinit.init [-] Plugin 'UserDataPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.030 2940 DEBUG cloudbaseinit.init [-] Plugin 'SetUserPasswordPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.037 2940 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMListenerPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.045 2940 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMCertificateAuthPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.052 2940 DEBUG cloudbaseinit.init [-] Plugin 'LocalScriptsPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 2017-02-09 12:51:14.060 2940 INFO cloudbaseinit.init [-] Plugins execution done 2017-02-09 12:51:14.068 2940 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service 2017-02-09 12:51:17.077 2940 DEBUG cloudbaseinit.osutils.windows [-] Stopping service cloudbase-init stop_service c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:715

Best Regards,

Benjamin