Ernie11 Posted August 1, 2020 Share Posted August 1, 2020 Hello Everyone, I'm trying to shrink a Linux vdisk but im getting a corrupted vdisk at the end. I have followed Spaceinvader Ones video except that I used GParted for the first part. I restored from my backup and currently have a vdisk with 70gb of unallocated space created using GParted again but in the VM GUI I still see 100gb of 100gb. The VM is actually only using 17gb and its partition is of 30gb. I checked "Disks" while in the VM and the unallocated partition is there. At this point if I use the terminal command Spaceinvader One mentions in his video I get the corrupted vdisk again. Any ideas as to how to fix this or another method to accomplish this? I'm trying to get my vms on an ssd but I have to shrink them all so they fit. Thanks. Quote Link to comment
bastl Posted August 1, 2020 Share Posted August 1, 2020 @Ernie11 Is the vdisk encrypted during the initial Ubuntu installation? If so, it will be shown as fully allocated for Unraid. Every distro I tested with luks in the past are always fully allocated no matter how full the vdisk really was. Compressing the vdisk changes nothing because unraid has no access to the filesystem. Quote Link to comment
Ernie11 Posted August 1, 2020 Author Share Posted August 1, 2020 Hello bastl, I don’t remember encrypting the drive during install but how can I check? Thanks. Quote Link to comment
bastl Posted August 1, 2020 Share Posted August 1, 2020 @Ernie11 Do you have to enter a passphrase before getting to the login screen? Quote Link to comment
Ernie11 Posted August 1, 2020 Author Share Posted August 1, 2020 Hello bastl, No I don’t. Quote Link to comment
Ernie11 Posted August 2, 2020 Author Share Posted August 2, 2020 Hello Everyone, Any other idea? Anything could help. Maybe a way to create a new disk with another size? Is this possible? Thanks. 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.