Jump to content

How to assign FULL space in VM disk


VladoB

Recommended Posts

Dears,

 

I created VM and created disk of 1TB in size, but when I check .img file, I see that it is small and it is enlarged as needed. I believe that for spped purposes it is better to assign full space to .img file since beginning.

 

Am I right?

 

And if so, how I can force unraid to create .img with full size since beginning?

 

Many thanks

 

V

Link to comment

If you create the image file manually and make it qcow2 you can apparently have it preallocated:

https://serverfault.com/questions/428868/does-kvm-raw-images-support-preallocation

 

Believe that'll simply write to the whole image so it'll take hours, and you could do the same yourself in your existing vm by just writing into a temp file until the disk is full.

 

Doubt you'll see any performance improvement from doing either of them though.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...