Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I need help with VM snapshot (possibly broke the VM)

Featured Replies

I posted on Reddit but nobody answered so I am posting here.

 

Hey everyone, I'm running a Pelican panel inside a Ubuntu 24.04 VM on Unraid. I allocated ~500GB for the vDisk, but now the VM disk is completely full, and I can't free up space even after deleting large files.

cant-reclaim-vm-disk-space-and-do-block-commit-for-snapshot-v0-eaqn3qapmmze1.thumb.webp.d1cdef7483fabdc1600e7a57bb20d8ba.webp

 

I manually deleted Pelican Minecraft server files via terminal with

rm -r /var/lib/pelican/volumes/server-uuid

and removed the server from the Pelican admin panel, but disk usage didn’t change. (One Minecraft server was using 120gb+ of data and I didnt need it, which is why I tried to free up space firstly)

 

Docker prune commands (even with -a) reclaimed very little (~2.4GB), and I don’t have much cached or unused data.

None of this freed up the space on my NVME disk on Unraid which was at the time +-70% full.

 

 

My vDisk is using either (a snapshot)

vdisk1.Pelican_panel_installed.qcow2

or 

vdisk.img

The VM seems to reference the .qcow2 file.

cant-reclaim-vm-disk-space-and-do-block-commit-for-snapshot-v0-n9whahqfmmze1.thumb.webp.edecfdd97d226e6cb7ad5669739e321f.webp

 

 

I believe the .qcow2 is a snapshot which I created back in September by accident when installing VM. I tried to use blockcommit to merge it back into the base image, but when I did, it filled up the remaining disk space and probably broke the VM.

cant-reclaim-vm-disk-space-and-do-block-commit-for-snapshot-v0-7ckz359qmmze1.thumb.webp.f937bc627cd7fb9e8171785d38a4cd11.webp

 

Now it is stuck like this and I dont know what to do anymore...

cant-reclaim-vm-disk-space-and-do-block-commit-for-snapshot-v0-5o12yvlmmmze1.thumb.webp.0bf923546920dca9d28a79a97446f659.webp

I really need to reclaim this disk space and save VM. Any advice on how to safely commit the snapshot. There is months of work on it and quite a few of my hobby servers. Thank you in advance

Edited by haco

  • Community Expert

Both files are linked. Do you have anywhere you can move the two image files to? or you can try the following. 

 

You could try to convert the file. This will create a new file with both snapshot and base file into a new image.

 

qemu-img convert -f qcow2 -O raw /mnt/user/domains/VMNAME/vdisk1.S20240928215938qcow2 vdisk1.bu

 

Put vidsk1.bu on the array i.e. /mnt/user/Arrayshare/vdisk1.bu

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.