weizhouapache commented on issue #9758:
URL: https://github.com/apache/cloudstack/issues/9758#issuecomment-2405385235

   @AlexanderKgr 
   to be frank, I do not think it was possible to upload a volume as root disk, 
because the Uploaded volume is stored on secondary storage, it is not attached 
to any vm.
   
   you can try
   - attach the new volume to the vm as datadisk
   - if the vm is not running, start the vm and then stop it. The Uploaded 
volume will be copied from secondary storage to same storage pool as the root 
volume.
   - detach the new volume
   - detach the ROOT volume of the vm you want to replace
   - attach the new volume to the vm as ROOT disk (deviceId=0)
   
   


-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to