Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Increase vdisk

Featured Replies

On 7/13/2019 at 3:14 AM, steve1977 said:

Any thoughts how I can accomplish above?

I suspect that you may already have slightly over-committed the available space due to the fact that the SSD size will be using decimal units (where K = 1000) and the size you set for the vdisk is binary units (where K = 1024).   When using vdisks a little spare space is always a good idea as you can start getting strange errors in a VM if all available space on the underlying file system is used.

  • 5 weeks later...

I was able to fix the greyed out "extend partition" in Windows 10 by downloading a free third party partition tool for windows. Odd that Windows disk manager cant address the issue but a free tool can.

  • 1 year later...

I don't know if i am doing something wrong but no method is working for me.

Running "qemu-img resize vdisk1.img +5G" or change the Disk size by clicking the VM name.

 

Here is a short Video:

 

 

 

 

 

 

 

 

  • 3 weeks later...
On 5/6/2015 at 4:14 AM, 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.

This broke my VM :.(

  • 1 month later...
On 12/30/2019 at 10:36 AM, black296tuuk said:

I was able to fix the greyed out "extend partition" in Windows 10 by downloading a free third party partition tool for windows. Odd that Windows disk manager cant address the issue but a free tool can.

In case if anyone facing the same, this solve the problem. 

NOTE: in my case, i use MiniTool Partition Wizard (free version)

  • 2 weeks later...
On 3/28/2021 at 9:04 PM, HaOz Ong said:

In case if anyone facing the same, this solve the problem. 

NOTE: in my case, i use MiniTool Partition Wizard (free version)

Thanks. I was having the problem and this solved it!

  • 1 year later...

Right click My PC>  Manage. On the left drop down Storage> Disk Management> Right click the Unallocated space. And it give you option to run "New Simple Volume Wizard". It'll ask you the size you want to format it to (NTFS is default). And run. Restart. I was able to finish installing drivers :)

You can also change the default installation location from you main 😄 drive to your new partition: https://winbuzzer.com/2020/07/01/how-to-change-the-default-app-install-location-in-windows-10-xcxwbt/

Edited by xlucero1

This makes a 2nd separate partition instead of increasing the size of the existing one, might not always be practical.

Edited by Kilrah

  • 2 months later...

For those that are increasing a Windows 10/11 VM, you do not need to download a 3rd party partition utility. Windows comes with a built-in utility called diskpart that will delete the Recovery partition for you. It is not difficult to use.

 

  1. Open a command prompt as Administrator.
  2. Type diskpart and press Enter.
  3. Find the disk number for your OS, usually disk 0 with the command list disk. You will see at least one disk listed.
  4. Make sure to select the correct disk. Assuming your OS is Disk 0, enter command select disk 0.
  5. Now, we need to list the partitions. Enter the command list part.
  6. If you used the default setup when installing Windows you likely have 4 partitions and the Recovery partition is Partition 4. So select it with the command select partition 4.
  7. Now, to delete use the command delete partition override.
  8. Lastly, right-click the Start menu, and select Disk Management. You should be able to Extend Volume by right-clicking on the C partition. Follow the wizard to complete.
  • 3 weeks later...
On 10/10/2022 at 6:48 PM, Eddie Seelke said:

For those that are increasing a Windows 10/11 VM, you do not need to download a 3rd party partition utility. Windows comes with a built-in utility called diskpart that will delete the Recovery partition for you. It is not difficult to use.

 

  1. Open a command prompt as Administrator.
  2. Type diskpart and press Enter.
  3. Find the disk number for your OS, usually disk 0 with the command list disk. You will see at least one disk listed.
  4. Make sure to select the correct disk. Assuming your OS is Disk 0, enter command select disk 0.
  5. Now, we need to list the partitions. Enter the command list part.
  6. If you used the default setup when installing Windows you likely have 4 partitions and the Recovery partition is Partition 4. So select it with the command select partition 4.
  7. Now, to delete use the command delete partition override.
  8. Lastly, right-click the Start menu, and select Disk Management. You should be able to Extend Volume by right-clicking on the C partition. Follow the wizard to complete.

 

Do you have any step by step guide like this one for allocation more disk space on Ubuntu VM?

  • 2 years later...
Quote
On 6/11/2015 at 10:08 AM, danioj said:

 

*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.



This app worked. Just had to move the recovery to the end of the disk first, then merge the free space to disk c.

Edited by Caddy

  • 2 months later...

How do I do this on Ubuntu Server? How do I increase the disk partition?

15 minutes ago, Braulio Dias Ribeiro said:

How do I do this on Ubuntu Server? How do I increase the disk partition?

Assuming you already made the allocation larger and want to expand the partition to fill it, the easiest way is to create a "utility" VM with all your management tools like gparted and such, then add the Ubuntu Server virtual disk as a second disk to the utility VM. Obviously the server VM must not be running while you work on it.

 

I'm sure there are command line utilities to accomplish it inside the server itself, but it's easier for me to just mount it to another VM.

39 minutes ago, JonathanM said:

Assuming you already made the allocation larger and want to expand the partition to fill it, the easiest way is to create a "utility" VM with all your management tools like gparted and such, then add the Ubuntu Server virtual disk as a second disk to the utility VM. Obviously the server VM must not be running while you work on it.

 

I'm sure there are command line utilities to accomplish it inside the server itself, but it's easier for me to just mount it to another VM.

So I would have two Linux systems.
How am I going to access the HD of system 1 if it is a closed file of a virtual machine?

Would I have to mount this machine? I have no idea how to do it.

boot-repair-disk is a good tool for that., make a VM for it, select it as iso, manually specify the vdisk and point to the one of your ubuntu VM.

But growing can be done within the running system so you can just open gparted in that and grow your partition.

  • 2 weeks later...
On 2/8/2025 at 5:19 AM, Kilrah said:

boot-repair-disk is a good tool for that., make a VM for it, select it as iso, manually specify the vdisk and point to the one of your ubuntu VM.

But growing can be done within the running system so you can just open gparted in that and grow your partition.

I installed it and checked that I have space left but Ubuntu is saying that there is no space



image.thumb.png.34d8d6f31442ea398ece6ed7ddad4374.png

image.thumb.png.4b73ca8b47346da42ae80352151f10c2.png

image.thumb.png.97c6fdd1aa77b94a07d901ba5f9696a3.png

image.png.7895d1398b4b232e0818c5c4e932475c.png

Edited by Braulio Dias Ribeiro

3 hours ago, Braulio Dias Ribeiro said:

I installed it and checked that I have space left but Ubuntu is saying that there is no space

Looks like you're using an LVM so there's likely yet another step needed to resize that. I don't use that so you'll have to look up how.

39 minutes ago, Kilrah said:

Looks like you're using an LVM so there's likely yet another step needed to resize that. I don't use that so you'll have to look up how.

What is LVM?
I just created a VM and installed Ubuntu

19 minutes ago, Braulio Dias Ribeiro said:

What is LVM?

It's an extra layer on top of drive partitions

https://ubuntu.com/server/docs/how-to-manage-logical-volumes

 

19 minutes ago, Braulio Dias Ribeiro said:

I just created a VM and installed Ubuntu

If it was Ubuntu Server then yes it does use lvm by default unless you disable while going through the installer, on Desktop it's the opposite, not used unless you ask it to.

I found an answer for LVM.
Just type this in the VM terminal, i.e. do it in the VM and not in Unraid

 

sudo -i

 

lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv

 

resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.