Accessibility check error when discarding snapshot

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
nazgul
Posts: 3
Joined: 31. Jan 2008, 06:46

Accessibility check error when discarding snapshot

Post by nazgul »

Hi,

I can't seem to delete snapshots using VBoxManage on MacOSX. Here is the scenario:

1. Create and register a new VM
VBoxManage createvm -name linux01 -register -basefolder PATH
2. Configure the VM using an immutable master image
VBoxManage modifyvm linux01 -memory 256 -vrdpport 3390 -hda MASTERIMAGE
3. Start the VM
4. Create a first snapshot
5. Create a second snapshot
6. Stop the VM

Everything works fine up to this point, but when I try to discard the second snapshot I get the following error:

zen:test jim$ VBoxManage snapshot linux01 discardcurrent -all
VirtualBox Command Line Management Interface Version 2.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%...FAILED
Error: failed to discard. Error message: Medium '/engine/native/vmm/virtualbox/dsl-linux/instances/linux01/linux01/Snapshots/{52c2f92a-c303-4eb4-8a83-0728a173d55f}.vdi' is not accessible. Accessibility check was not yet performed

Any clue what I am doing wrong?

All I really want to do is to cleanly blow away this VM, but there doesn't seem to be an easy way to do this.

Thanks!
Post Reply