Rolling Back a Virtual Disk to a Snapshot

Updated: September 29, 2010

Applies To: Microsoft iSCSI Software Target

With Microsoft iSCSI Software Target, you can roll back an iSCSI virtual disk to a previous snapshot. A rollback of the disk requires the use of a temporary directory (such as C:\WINDOWS\Temp). This directory must contain sufficient space to store the differential data. If there is insufficient space, the rollback will stop, and the virtual disk content will not change.

CautionCaution
If you roll back a virtual disk, all data on the current virtual disk is lost. Disconnect all iSCSI targets that are using the virtual disk, and dismount it if it is mounted as a read/write disk. Failure to do so can cause data corruption. If you want to preserve the data prior to a rollback operation, take a snapshot before performing the rollback.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review the details in "Additional considerations" in this topic.

To roll back a virtual disk to a snapshot

  1. In Microsoft iSCSI Software Target, in the console tree, click Devices.

  2. In the results pane, right-click the virtual disk that you want to roll back, and then click Properties.

  3. On the Snapshots tab, click the snapshot to which the virtual disk is to be rolled back, and then click Roll Back to Snapshot.

  4. When you are prompted to confirm the action, click Yes.

It is possible to stop a rollback that is in progress. However, stopping a rollback may put the virtual disk in an unknown state.

CautionCaution
Only stop a rollback if you can roll back to a different snapshot or if you can restore the disk from your backup media. Otherwise, we recommend that you allow the rollback to complete. Stopping a rollback can result in data corruption issues on the virtual disk.

To stop the rollback of a virtual disk

  1. In Microsoft iSCSI Software Target, in the console tree, click Devices.

  2. In the results pane, right-click the virtual disk that is being rolled back, and then click Abort Rollback.

  3. When you are prompted to confirm the action, click Yes.

Additional considerations

  • You must be a member of the local Administrators group to perform these tasks.

  • To open iSCSI Software Target, click Start, point to Administrative Tools, and then click Microsoft iSCSI Software Target. (Another way to open iSCSI Software Target is to click Start, click Run, and then type iscsitarget.msc.)

Additional references

Show: