title: Proxmox reduce (shrink) the hard disk VM
body: <p>Accidentally added a 300GB virtual machine to the proxmox node, how now to remove this space? is it possible to use the command</p>
  <pre><code>qemu-img resize /media/storage2/images/101/vm-101-disk-0.raw -299G 
  </code></pre>
  <p>so as not to lose all the data??</p>
  <p><a href="https://i.stack.imgur.com/uk12N.png" rel="nofollow noreferrer">enter image description here</a></p>