November 25, 20169 yr I currently have a windows 10 VM on a 256GB SSD, I have allocated 180GB for the VM but am now running out of space. How simple is it to replace that 256SSD with a 500GBSSD? Do I simply copy the files that make up the VM from one drive to the other ? What is the process?
November 26, 20169 yr Do I simply copy the files that make up the VM from one drive to the other ? Basically yes, depends on what is on the current SSD, just the vdisk? libvrt.img?
November 26, 20169 yr Author How do I see whats on it? Under Unassigned devices if I expand the drive and it shows the path = /mnt/windowsvm if I click on that I see three folders: ISO Drivers Windows10 Inside the Windows10 folder is a file called vdisk1.img which is 193GB The other two folders contain small ISO files.
November 26, 20169 yr You can do this: -shutdown the VM -change the unassigned device mountpoint, eg, winvmold -add new SSD as unassigned device and use the old mountpoint: windowsvm -copy everything from the old SSD to the new one (use cp if you want to maintain the vdisk sparse) When done your VM should start without doing any config changes.
November 26, 20169 yr Author Thanks Johnnie, how do I then enlarge the vdisk that is currently set at 180GB for my Windows 10 VM?
November 26, 20169 yr 1st go to VMs and click on the VM name (not the icon) and chose the new capacity, then on the actual VM go to Windows disk management and expand the disk to the new size.
November 27, 20169 yr Author You can do this: -shutdown the VM -change the unassigned device mountpoint, eg, winvmold -add new SSD as unassigned device and use the old mountpoint: windowsvm -copy everything from the old SSD to the new one (use cp if you want to maintain the vdisk sparse) When done your VM should start without doing any config changes. I am a little lost on how to copy the files and folders off the original drive. Is there a way to do it from a gui rather then cli?
November 27, 20169 yr I never used them myself but I believe there's couple of docker you can use, Crusader or Dolphin? You can also use Midnight Commander, but using cp is not that complicated: cp -r /mnt/disks/old_mount_point/* /mnt/disks/new_mount_point
Archived
This topic is now archived and is closed to further replies.