June 2, 20215 yr 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. 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. 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 June 2, 20215 yr by Jacko_
June 2, 20215 yr 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
June 2, 20215 yr Author I'm not sure i was being very clear. I can see the folders for my VMs in the below directory using terminal: If i try to access the folder i can't: 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
June 2, 20215 yr 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.
June 2, 20215 yr 2 minutes ago, Jacko_ said: I can see the folders for my VMs in the below directory using terminal: If i try to access the folder i can't: You weren't trying to access the same folder, it's SH-GAME-W10-01 not sh-game-w10-01. Linux is case sensitive.
June 2, 20215 yr 3 minutes ago, Jacko_ said: If i try to access the folder i can't: Case sensitive? We're not on windows Edit: seems already replied Edited June 2, 20215 yr by ghost82
June 2, 20215 yr 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?
June 2, 20215 yr 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.
June 2, 20215 yr 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.