techno_81 Posted April 1, 2018 Share Posted April 1, 2018 Just updated to V.6.5.0 and started rebuilding my VMS after an SSD Install. On the VM tab, ive attempted to increase the disk1.img file for one of my VM's from 20G to 30G, but this is failing. No error is displayed, but a blank screen with the following URL displayed: http://tower/VMs?subaction=disk-resize&uuid=fa9bea59-7b21-5e14-7f9b-f5f0566007f9&disk=/mnt/user/VDISKS-CACHE/Windows10/vdisk1.img&oldcap=20G I've tried refreshing the screen in both EDGE and IE. No joy on either. Has anyone else experienced the same and know of a workaround / fix? The disk already has the OS installed. Just need to be larger for an upgrade :-( Quote Link to comment
JorgeB Posted April 1, 2018 Share Posted April 1, 2018 It's a known issue, fixed on the latest v6.5.1-rc Quote Link to comment
GHunter Posted April 1, 2018 Share Posted April 1, 2018 You can increase the vdisk size manually in the mean time by using the instructions in this post by @johnnie.black (Thanks Johnnie!) in the terminal. I had to increase mine last week. 1 Quote Link to comment
techno_81 Posted April 1, 2018 Author Share Posted April 1, 2018 Thanks :-) just what i needed after breakfast. another productive day ahead lol Quote Link to comment
Shinobi Posted April 8, 2018 Share Posted April 8, 2018 On 4/1/2018 at 3:42 PM, johnnie.black said: It's a known issue, fixed on the latest v6.5.1-rc Thanks for confirming that. Quote Link to comment
demonmaestro Posted May 21, 2018 Share Posted May 21, 2018 I am trying to figure this out as well. The post that @GHunter linked to is not showing up. I am 6.5.2 Quote Link to comment
GHunter Posted May 21, 2018 Share Posted May 21, 2018 (edited) If you're running unRAID v6.5.2, then the resize function will work in the GUI. Here is the command to do it if you want to do it via the command line: fallocate -l 100G "/mnt/user/Windows 10/vdisk1.img" Change the 100G to the size you need and the path to your vdisk image. Note that you should only be increasing the size as decreasing it can cause problems. Edited May 21, 2018 by GHunter Quote Link to comment
demonmaestro Posted May 21, 2018 Share Posted May 21, 2018 I am trying to figure this out as well. The post that @GHunter linked to is not showing up. I am 6.5.2 12 minutes ago, GHunter said: If you're running unRAID v6.5.2, then the resize function will work in the GUI. Here is the command to do it if you want to do it via the command line: fallocate -l 100G "/mnt/user/Windows 10/vdisk1.img" Change the 100G to the size you need and the path to your vdisk image. Note that you should only be increasing the size as decreasing it can cause problems. I am not seeing the resize function in the gui Quote Link to comment
GHunter Posted May 21, 2018 Share Posted May 21, 2018 Stop the VM, then left click on the VM name (not the icon). Then you'll see your disk devices listed. In the capacity column, the size can be clicked on and edited. 1 1 Quote Link to comment
NewDisplayName Posted May 21, 2018 Share Posted May 21, 2018 Is there an easy way of decreasing an .img? Ive allocated 33g from 200, and i would like to make it to 60GB or something. Quote Link to comment
Squid Posted May 21, 2018 Share Posted May 21, 2018 If it's a Windows VM, you can have it so that it always takes up the exact space required instead of continually growing until it hits the max. https://lime-technology.com/forums/topic/51703-vm-faq/?tab=comments#comment-557606 1 Quote Link to comment
bonienl Posted May 21, 2018 Share Posted May 21, 2018 8 minutes ago, Squid said: If it's a Windows VM, you can have it so that it always takes up the exact space required instead of continually growing until it hits the max. https://lime-technology.com/forums/topic/51703-vm-faq/?tab=comments#comment-557606 Nowadays it is a little easier unRAID 6.4.1 and later supports "SCSI" as disk driver, selecting this driver type creates the necessary XML entries as explained in your link, it requires adding of discard='unmap' though as the only manual change. Quote Link to comment
Squid Posted May 21, 2018 Share Posted May 21, 2018 2 minutes ago, bonienl said: Nowadays it is a little easier unRAID 6.4.1 and later supports "SCSI" as disk driver, selecting this driver type creates the necessary XML entries as explained in your link, it requires adding of discard='unmap' though as the only manual change. I know. Johnnie hasn't updated the entry. But it still would work. Quote Link to comment
demonmaestro Posted May 23, 2018 Share Posted May 23, 2018 @GHunter thank you.. Clicking on it worked for me. I am trying to figure this out as well. The post that @GHunter linked to is not showing up. I am 6.5.2 On 5/21/2018 at 5:51 AM, GHunter said: If you're running unRAID v6.5.2, then the resize function will work in the GUI. Here is the command to do it if you want to do it via the command line: fallocate -l 100G "/mnt/user/Windows 10/vdisk1.img" Change the 100G to the size you need and the path to your vdisk image. Note that you should only be increasing the size as decreasing it can cause problems. I am not seeing the resize function in the gui Quote Link to comment
hominid Posted December 28, 2018 Share Posted December 28, 2018 I've both converted my main vdisk1.img to SCSI and grown it from 50G to 100G. Still boots. (yay!) Thing is, the 50.00 GB Unallocated is separated from my C: partition by an 843MB OEM partition. If this was a physical PC, I'd boot into GParted and wail away at it. It's not. Any suggestions for shuffling Windows partitions within an .img? I'm not sure what documentation would be helpful, but I'm happy to provide anything that might help. Quote Link to comment
JonathanM Posted December 28, 2018 Share Posted December 28, 2018 1 hour ago, hominid said: Thing is, the 50.00 GB Unallocated is separated from my 😄 partition by an 843MB OEM partition. If this was a physical PC, I'd boot into GParted and wail away at it. It's not. Any suggestions for shuffling Windows partitions within an .img? Sure, boot into GParted and have at it. No difference between a VM and a physical disk for this purpose. Quote Link to comment
hominid Posted December 30, 2018 Share Posted December 30, 2018 On 12/28/2018 at 3:59 PM, jonathanm said: Sure, boot into GParted and have at it. No difference between a VM and a physical disk for this purpose. Well, I'm not entirely sure how to go about doing that. Didn't find anything concrete on these forums about booting from USB (on a USB controller that was passed through to the VM) aside from a brief mention of booting from a WindowsToGo USB with a GPT partition. Also, adding the gparted live .iso file as the OS install ISO copied it to the VM's directory but it didn't prioritize it over Windows 10 in the boot sequence. Any other suggestions to get me on the right path? Quote Link to comment
JorgeB Posted December 30, 2018 Share Posted December 30, 2018 You should be able to delete the small partition using diskpart (command line in windows) Quote Link to comment
JonathanM Posted December 30, 2018 Share Posted December 30, 2018 9 hours ago, hominid said: adding the gparted live .iso file as the OS install ISO copied it to the VM's directory but it didn't prioritize it over Windows 10 in the boot sequence. You may have to edit the boot priority in the XML view, I don't know if they've ever fixed the boot priority selection in the basic view. Quote Link to comment
hominid Posted April 6, 2019 Share Posted April 6, 2019 I was able to clear off some files and generally avoided the issue for a few months, but just ran into the problem again. I'm sure that I could have found a way to configure booting from a specified flash drive, but found a way to do it from within the Windows VM: https://www.easeus.com/partition-master/delete-oem-partition.html Reporting back in case it might help anyone finding this in the future. 1 Quote Link to comment
figrin_dan Posted July 5, 2020 Share Posted July 5, 2020 On 4/6/2019 at 9:12 PM, hominid said: I was able to clear off some files and generally avoided the issue for a few months, but just ran into the problem again. I'm sure that I could have found a way to configure booting from a specified flash drive, but found a way to do it from within the Windows VM: https://www.easeus.com/partition-master/delete-oem-partition.html Reporting back in case it might help anyone finding this in the future. Thank you so much, I'm very glad you returned and did this! It helped me out 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.