﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
11479,Guest's disk is immutable when using iSCSI storage and snapshots => Fixed in SVN,rshaw,,"I am running Virtualbox 4.2.6 on a Linux host and am running into a bug where state is getting reset every power off, much like the immutable flag is set on the harddrive itself.  This occurs when I am using iSCSI as the storage medium and have taken an offline snapshot of the system.  I have found one forum post with a seemingly identical problem.  (
https://forums.virtualbox.org/viewtopic.php?f=8&t=52210)

Expected results:  Create / install a guest using iSCSI as storage.  Power off and take a snapshot.  Power back on, make changes, reboot the guest.  Changes should still present.

Actual results:  Create / install a guest using iSCSI as storage.  Power off and take a snapshot.  Power back on, make changes, reboot the guest.  Changes are now gone and state has been reverted back to the state of the latest snapshot.

Steps to reproduce:

-Click ""New"" and create a VM - in my case a Linux guest.
-allocate desried memory
-Select ""Do not add a virtual hard drive""

-Add the target per documentation (http://www.virtualbox.org/manual/ch08.html#idp14412416).  Note that as of 4.2.6 this MUST be done through VBoxManage.  The GUI cannot do this.
In my case, the command was:

""VBoxManage storageattach ""GUEST_TEST"" --storagectl ""SATA"" --port 0 --device 0 --type hdd --medium iscsi --server localhost --target ""iqn.2003-04.mydomain.org"" --lun 2 --tport 3260""

-Install operating system into guest, then power off machine

-Take an offline snapshot.

-Every guest reboot will now revert to the state of the snpashot, much like it is now an immutable disk.",defect,closed,virtual disk,VirtualBox 4.2.6,fixed,iscsi snapshot revert state,,Linux,Linux
