bmdegraaf Posted May 5, 2015 Share Posted May 5, 2015 I started with an initial setup of 40gb to play around. Now everything is working i would like to expand the VM disk size to 150gb. How does one do this in the VM manager? Tried to add an additional vdisk, but unraid is giving me an error message that i am creating an unsupported configuration. 1 Quote Link to comment
superloopy1 Posted May 5, 2015 Share Posted May 5, 2015 I started with an initial setup of 40gb to play around. Now everything is working i would like to expand the VM disk size to 150gb. How does one do this in the VM manager? Tried to add an additional vdisk, but unraid is giving me an error message that i am creating an unsupported configuration. I did this recently when toying around. Think you just click on the vm 'name', this will give you a dropdown of the disks and iso images contained in the vm, then click on the vdisk size entry itself, in your case the 40G figure, and voila you'll be given an edit option to change the size. Not sure if thats the 'official' way to extend the size but it certainlty worked. 10 4 2 Quote Link to comment
bmdegraaf Posted May 5, 2015 Author Share Posted May 5, 2015 Fidled around as you mentioned and it did the trick. Many thanks! Quote Link to comment
superloopy1 Posted May 5, 2015 Share Posted May 5, 2015 Fidled around as you mentioned and it did the trick. Many thanks! Good to hear ... Howzabout changing your thread title to [sOLVED} maybe? Quote Link to comment
dmacias Posted May 5, 2015 Share Posted May 5, 2015 In case you wanted to know the command line that is executed. qemu-img resize filename size Size has to be with a G not GB e.g. 20G 2 3 Quote Link to comment
jonp Posted May 6, 2015 Share Posted May 6, 2015 Also, instead of putting in an absolute size, you can also do this: qemu-img resize vdisk1.img +5G That would simply grow the image from its current size by 5GB. 3 2 3 Quote Link to comment
danioj Posted June 11, 2015 Share Posted June 11, 2015 Also, instead of putting in an absolute size, you can also do this: qemu-img resize vdisk1.img +5G That would simply grow the image from its current size by 5GB. *Running RC4. I just came across this post because I too have the need to grow a VM .img file a little. I have always been used to doing this from the command line BUT I was interested to try the GUI route. However, no matter what menu I selected no matter where I clicked I couldn't find the size setting of the "existing" .img file to change. Has this been removed recently or am I just blind. qemu-img resize vdisk1.img +5G That command worked like a charm. I DID have to do some partition fiddling within the Windows 10 VM as Windows created a recovery partition after the main system partition which stopped me from extending. AND for some reason Windows 10 doesn't want to let me delete it. So for those who come across this post who have a similar issue I used this free tool. http://www.easeus.com/partition-manager/epm-free.html They "Push" their paid versions obviously but this free version (not trial) should work fine. 2 1 Quote Link to comment
jonp Posted June 11, 2015 Share Posted June 11, 2015 Click the name of the VM on the VMs page and a section will expand underneath the VM showing the size of the vdisk. Click that size and rename it to your new size, then press enter. Should do the resize command for you pretty easily. 1 2 Quote Link to comment
danioj Posted June 12, 2015 Share Posted June 12, 2015 Yep, got it now. I was clicking the icon and bring up then menu. I didn't pick up (despite clearly reading it several times) the "name" of the VM was a link to another menu too, which of course you describe. Just tried it out and works as advertised. Still needed the partition tool for within Windows - that stupid recovery partition they put directly after the system partition which needs to be deleted (and wonderfully they remove the ability to remove it in the windows disk utility) as it prevents resizing into available space is a pain in the bum! But that isn't an Unraid issue. Thank you Quote Link to comment
Glimmerman911 Posted May 11, 2017 Share Posted May 11, 2017 Is it possible to shrink the same way? I tried to shrink it but its still more than the allocated, but its not taking the lower size for me. Quote Link to comment
JonathanM Posted May 11, 2017 Share Posted May 11, 2017 1 hour ago, Glimmerman911 said: Is it possible to shrink the same way? No. Quote Link to comment
caballopazo Posted July 23, 2017 Share Posted July 23, 2017 On 5/5/2015 at 10:14 PM, jonp said: Also, instead of putting in an absolute size, you can also do this: qemu-img resize vdisk1.img +5G That would simply grow the image from its current size by 5GB. is this going to always increase the VM size by 5GB every time it reaches a threshold space warning? 1 Quote Link to comment
Krzysiaczek Posted September 26, 2017 Share Posted September 26, 2017 Hi everyone I was able to shrink something like: qemu-img resize vdisk1.img -5G The only problem I've got is the initial size in Windows VM remains the same. I don't see the option to change it from VM settings in unRaid as someone suggested earlier. I'm running unRaid 6.3.5 so I can see only Primary vDisk Location and reference to the vmdisk file in the settings. Also I can't find that setting in the XML file <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vm_disks/Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> So how to modify the size of the drive then? Quote Link to comment
GaltsGulch Posted December 30, 2017 Share Posted December 30, 2017 I must be missing a step. When I change the size of the disk in unRaid and then reboot Windows 10 it is still telling me that I am out of space and the VM is not recognizing the additional space. I started the VM with 60G, I have increased it in unRaid to 100G as listed above and get nothing. Any help would be appreciated. Thanks Quote Link to comment
Squid Posted December 30, 2017 Share Posted December 30, 2017 Right click on "This PC", select Manage, and you have to expand the partition for Windows 1 Quote Link to comment
GaltsGulch Posted December 30, 2017 Share Posted December 30, 2017 Thanks for the quick response. I have tried what you suggested but when I am in Disk Mgmt the option to extend the volume is grayed out. I guess I will need to try some other options for extending the drives. Quote Link to comment
itimpi Posted December 30, 2017 Share Posted December 30, 2017 3 hours ago, GaltsGulch said: Thanks for the quick response. I have tried what you suggested but when I am in Disk Mgmt the option to extend the volume is grayed out. I guess I will need to try some other options for extending the drives. Make sure that you run the Action to rescan disks. I found that this was necessary to get the extra space seen. I\ Quote Link to comment
jaces99 Posted January 12, 2018 Share Posted January 12, 2018 so far having a issuse , with new vm setup of a sierra mac load , from my mac to unraid , running fine , but went to increase vdisk amount , in unraid no problem , vdisk was in creased in the os , i try over and over and still stays at 40gb , for the vdisk main partition , but the top main disk shows the correct amount but it is free .... and os wont let me install anything else , i have plenty of room on the system ..ie... ssd caches, and storages ,... only trying to incress the mac boot disk to 250gb , from 40 .... 1 Quote Link to comment
WexfordStyle Posted February 2, 2018 Share Posted February 2, 2018 (edited) The method mentioned above by click on the VM name doesn't appear to work anymore. Is this true? OR am I missing something? EDIT: OK. I have expanded the vdisk using the command line but when trying the extend the volume in windows, it is greyed out. Does anyone know how to get around this? Edited February 2, 2018 by WexfordStyle Quote Link to comment
DZMM Posted March 15, 2018 Share Posted March 15, 2018 @bonienl This doesn't seem to be working anymore in 6.5 - I've expanded via the UI before but it's not adding the extra size. I had to use: qemu-img resize /mnt/disks/sm961/domains/LEGO/vdisk1.img +5G to get it to work 2 Quote Link to comment
steve1977 Posted October 3, 2018 Share Posted October 3, 2018 Same issue here. I increased the vdisk size in Unraid UI. Capacity shows increased, but allocation remains at the "old" size. I went to "disk mgmt" and rescanned, but the additional space does not show up. Any thoughts? Quote Link to comment
JorgeB Posted October 3, 2018 Share Posted October 3, 2018 4 hours ago, steve1977 said: I went to "disk mgmt" and rescanned, but the additional space does not show up. Any thoughts? If it's a Win8/10 VM you need to reboot, not shutdown, for the new space to show up. 1 Quote Link to comment
steve1977 Posted October 12, 2018 Share Posted October 12, 2018 Great, thanks, after the shutdown, all works well. I have a small question. I am now using basically all of the NVME, but I guess a few GBs are unused. I have a 1 TB disk and using two VMs with 750GB and 250GB respectively. By what amount do I need to increase to make sure to fully use the disk. I know it doesn't really matter, but I found it nicer and cleaner to go to 100.0% usage rather than 99.99% usage. Is there some command to do this? Quote Link to comment
steve1977 Posted July 13, 2019 Share Posted July 13, 2019 On 10/12/2018 at 8:48 AM, steve1977 said: Great, thanks, after the shutdown, all works well. I have a small question. I am now using basically all of the NVME, but I guess a few GBs are unused. I have a 1 TB disk and using two VMs with 750GB and 250GB respectively. By what amount do I need to increase to make sure to fully use the disk. I know it doesn't really matter, but I found it nicer and cleaner to go to 100.0% usage rather than 99.99% usage. Is there some command to do this? Any thoughts how I can accomplish above? Quote Link to comment
blahblah0385 Posted November 30, 2019 Share Posted November 30, 2019 For mac OS I found this website. it helped: https://themacwrangler.wordpress.com/2015/10/21/resizing-el-capitan-mac-volumes-under-vmware-fusion/ First increase it in the unRAID VM by just typing in the desired size in the VM tabs. then type below in the terminal in OSX sudo diskutil resizeVolume / R Quote Link to comment
Recommended Posts
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.