Snapshot Hung Options

Discussions related to using VirtualBox on Linux hosts.
Post Reply
yupthatguy
Posts: 73
Joined: 4. Jul 2015, 07:48

Snapshot Hung Options

Post by yupthatguy »

I have a cron job that executes

Code: Select all

VBoxManage snapshot Server2 delete "TEST - Daily Snapshot" && VBoxManage snapshot Server2 take "TEST - Daily Snapshot"
It did not execute this morning b/c my host was frozen. There are no other snapshots. The VDI / Snapshot folder are both on the HDD drive which has 100's of gigs available. Prior to deleting the snapshot I booted the vdi to system rescue disk and ran

Code: Select all

e2fsck -f /dev/mapper/vdi-name
. So I am sure the disk is relatively healthy.

It has now been 45 minutes since I ran the snapshot delete / re-create command above.

The command line indicator says that the deletion has reached 90%

Code: Select all

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%..
What are my options? Should I just let it run for hours and hope something happens?
yupthatguy
Posts: 73
Joined: 4. Jul 2015, 07:48

Re: Snapshot Hung Options

Post by yupthatguy »

Wow... I just left it alone... took an hour and 6 minutes to delete one snapshot... :(
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Snapshot Hung Options

Post by mpack »

Why are you making daily snapshots? I do hope you are not confusing snapshots with backups. Snapshots are the opposite of backups.

If you want a daily routine that means something, make it copy the VM folder to secondary storage. This will greatly reduce the runtime overhead AND the disk hoggage on the system drive.
Post Reply