You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "tuanhoangth1603 (via GitHub)" <gi...@apache.org> on 2023/12/23 05:11:59 UTC

[I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

tuanhoangth1603 opened a new issue, #8403:
URL: https://github.com/apache/cloudstack/issues/8403

   I have tried attaching a new disk on Linux, and the Linux VM immediately recognizes the new disk. 
   However, with Windows Server 2022 Standard, the new disk is not recognized. 
   - I have tried accessing Disk Management to rescan, press F5 -> Unsuccessful. 
   - I have also attempted to restart the VM by logging in and using the OS restart function, but it was unsuccessful. 
   Therefore, I have to access the portal, click the shutdown VM button, and then start the VM for the new disk to be recognized.
   
   I wonder if I missed something such as windows template,... and I hope you can assist me. 
   I have searched for other topics or issues related to this but couldn't find any. If there is an issue addressing this, please mention it.
   Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868924928

   > > 4. Afterward, I create a new VM using the recently created template with a larger volume size. However, Windows does not automatically extend the volume as it does in OpenStack.
   > 
   > @tuanhoangth1603 cloudstack only resizes the physical size of volume. (I believe it is same in openstack) you can use powershell script to auto detect and resize partitions in windows vm.
   
   Openstack user Cloud-init to auto extend the OS volume on Windows. 
   It seems like our CloudStack does not currently work with cloud-init. Should we consider adding this to the development milestone ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868261403

   > Thanks for your instruction. Can you explain more about the change OS type to "Windows PV". Where I can make the change ?
   
   @tuanhoangth1603 
   - go to vm details page
   - edit vm, change the OS type of template  to "Windows PV"
   - stop vm and start it
   (if the template has virtio installed, you can change the OS type of template. otherwise, only change the vm which has virtio drivers)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868259795

   Thanks for your instruction.
   Can you explain more about the change OS type to "Windows PV". Where I can make the change ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1869133105

   > > > 4. Afterward, I create a new VM using the recently created template with a larger volume size. However, Windows does not automatically extend the volume as it does in OpenStack.
   > > 
   > > 
   > > @tuanhoangth1603 cloudstack only resizes the physical size of volume. (I believe it is same in openstack) you can use powershell script to auto detect and resize partitions in windows vm.
   > 
   > Openstack uses Cloud-init to auto extend the OS volume on Windows. It seems like our CloudStack does not currently work with cloud-init. Should we consider adding this to the development milestone ?
   
   @tuanhoangth1603 
   changes need to be made in cloud-init or cloudbase-init project, and also the template, but not cloudstack


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868226028

   is virtio driver installed? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868249192

   Hi,
   Do I need to install all features of the virtio driver?
   ![image](https://github.com/apache/cloudstack/assets/38004836/7eb27486-d788-4146-ace9-bf9499fa51d9)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868251330

   `Viostor` is for disk
   
   I suggest to install `Network` as well, and change OS type to "Windows PV" then you will have better disk/network performce
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868727100

   @weizhouapache please help me about 
   
   > @weizhouapache thank you.
   > 
   > Can Viostor automatically extend the OS volume on Windows? I have tried creating a template as follows:
   > 
   > 1. Create a Windows Server 2019 VM.
   > 2. Install Cloud Instance Manager to manage passwords.
   > 3. Install Virtio drivers as per your instructions.
   > 4. Power off the VM and proceed to create a template from the volume.
   >    Afterward, I create a new VM using the recently created template with a larger volume size. However, Windows does not automatically extend the volume as it does in OpenStack.
   > 
   > I would greatly appreciate your assistance. Best regards.
   
   @weizhouapache please help me about this case. Thank you so much!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868826288

   > 4\. Afterward, I create a new VM using the recently created template with a larger volume size. However, Windows does not automatically extend the volume as it does in OpenStack.
   
   @tuanhoangth1603 
   cloudstack only resizes the physical size of volume. (I believe it is same in openstack)
   you can use powershell script to auto detect and resize partitions in windows vm.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1868305366

   @weizhouapache thank you.
   
   Can Viostor automatically extend the OS volume on Windows? I have tried creating a template as follows:
   
   1. Create a Windows Server 2019 VM.
   2. Install Cloud Instance Manager to manage passwords.
   3. Install Virtio drivers as per your instructions.
   4. Power off the VM and proceed to create a template from the volume.
   Afterward, I create a new VM using the recently created template with a larger volume size. However, Windows does not automatically extend the volume as it does in OpenStack.
   
   I would greatly appreciate your assistance.
   Best regards.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 commented on issue #8403:
URL: https://github.com/apache/cloudstack/issues/8403#issuecomment-1869235982

   Thank you very much for your enthusiastic support.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Can Cloudstack attach/detach disks to Windows VMs immediately like VMware? [cloudstack]

Posted by "tuanhoangth1603 (via GitHub)" <gi...@apache.org>.
tuanhoangth1603 closed issue #8403: Can Cloudstack attach/detach disks to Windows VMs immediately like VMware?
URL: https://github.com/apache/cloudstack/issues/8403


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org