Pbs restore VM to small disk

frankz

Well-Known Member
Nov 16, 2020
396
25
48
Hello everyone, I wanted to know if it is possible to restore a vm on a slightly smaller disk. The original disk is 320 GB the current one of 260 . The data of the original are at 50% so theoretically there would be space .
 
If the storage is thin and the virtual disk inside the backup is not full, then maybe it will work. Shrinking a virtual disk is tricky as many threads on the forum will show you.
Thank you for answering . It is thin. I'm trying with a live distro and I try to run a lvresize --resizefs -L 30G /dev/ubuntu...... We'll see
 
yeah, shrinking is dangerous, and thus something you need to do manually.