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.

Manually resize a VM

Featured Replies

I'm struggling a little here and could do with some help please.  I have ran out of space within a vdisk, and i am not able to change the vdisk size within the VM settings in the GUI as the option doesn't exist.

 

image.thumb.png.ea257cf9e92b308caf732827abeaf877.png

 

I have tried to use the terminal to change it, using qemu-img resize /mnt/vms_nvme/domains/SH-GAME-W10-01/vdisk.img 60G (and many other paths) but not successful as it says the file or directory doesn't exist.

 

image.png.58a7b7b2f8313df7ba5068ff8d9dc160.png

 

The folder seems to exist, but i'm not sure if it's a directory mapping issue or something else as i can't navigate to the folder.

 

I've tried to navigate to the folder where the VM is located and unable to do so.  Can anyone show me how?  Currently the VM will boot to windows but fails to load properly due to the disk being maxed.

 

Thanks

Edited by Jacko_

29 minutes ago, Jacko_ said:

and i am not able to change the vdisk size within the VM

Do it from the unraid terminal.

First backup your image!!

 

Then try with:

qemu-img resize -f raw /path/to/image/vdisk.img +20G

This will increase the size by 20 GB

  • Author

I'm not sure i was being very clear.

 

I can see the folders for my VMs in the below directory using terminal:

image.png.58a7b7b2f8313df7ba5068ff8d9dc160.png.fc31c6a461e8258a23b2a336d9811b60.png

 

If i try to access the folder i can't:

image.png.eea87dd7a39b3ccb3f4bc1608f3b2ad1.png

 

Which is why i wondered if it's a drive mapping issue that i can't figure out?  If i use krusader i can navigate to the folder and see the vdisk

image.thumb.png.c132396bb363d14088ea5b08e0203539.png

 

 

21 minutes ago, ghost82 said:

This will increase the size by 20 GB

It will not, however, add the space to the partition inside the image. For that, you will need to expand the partition. Easiest way I know of is to download gparted live or some other utility iso that can manipulate partitions, and set up a new VM with the utility iso set as the install medium, and the vdisk.img file you need to operate on as the primary disk.

2 minutes ago, Jacko_ said:

 

I can see the folders for my VMs in the below directory using terminal:

image.png.58a7b7b2f8313df7ba5068ff8d9dc160.png.fc31c6a461e8258a23b2a336d9811b60.png

 

If i try to access the folder i can't:

image.png.eea87dd7a39b3ccb3f4bc1608f3b2ad1.png

 

You weren't trying to access the same folder, it's SH-GAME-W10-01 not sh-game-w10-01.

Linux is case sensitive.

3 minutes ago, Jacko_ said:

If i try to access the folder i can't:

image.png.eea87dd7a39b3ccb3f4bc1608f3b2ad1.png

Case sensitive? We're not on windows :D

 

Edit: seems already replied :P

Edited by ghost82

4 minutes ago, jonathanm said:

Easiest way I know of is to download gparted live

I never tried, I'm sure gparted will work, but shouldn't be booting into windows and operate from disk utility to expand the partition an easier option?

2 minutes ago, ghost82 said:

I never tried, I'm sure gparted will work, but shouldn't be booting into windows and operate from disk utility to expand the partition an easier option?

Yep.

 

1 hour ago, Jacko_ said:

Currently the VM will boot to windows but fails to load properly due to the disk being maxed.

 

  • Author
6 hours ago, jonathanm said:

You weren't trying to access the same folder, it's SH-GAME-W10-01 not sh-game-w10-01.

Linux is case sensitive.

I'm sure I tried case sensitive, but let me try again 🤦

 

Archived

This topic is now archived and is closed to further replies.

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.