in
Support Center

ShadowProtect and Dual-Boot Configurations...

Last post 11-30-2008 10:28 AM by Silver0066. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-11-2008 1:19 PM

    ShadowProtect and Dual-Boot Configurations...

    A potential issue has come to my attention concerning dual-boot configurations, where multiple operating system volumes are installed on the same computer.  This issue can affect the integrity of incremental backup image files.  Fortunately there is a simple workaround.  I'm going to describe both the issue and the workaround as well as I can.

    When ShadowProtect backs up a volume, it either creates a full backup of all of the in-use sectors on that volume, or it creates an incremental backup which contains only the sectors which were modified since the previous backup occurred.  An incremental backup is therefore dependent upon the previous backup image file.  Now when ShadowProtect creates an incremental backup it can use one of two methods to do this. The first (preferred) method is that ShadowProtect uses the stcvsm.sys driver's "incremental change tracking" feature to instantly determine all of the sectors which have been changed since the last backup.  stcvsm.sys maintains a very efficient list, in RAM, of the sectors which have been changed since the previous backup, and this list of changed sectors can be used to make a new incremental image file very quickly (often in seconds).  The other technique (less preferred because it is far slower) is for ShadowProtect to compare all of the current data on the volume with the data in a previous backup image file and to then make a new incremental which contains the sectors which are different (and hence were changed).  This "comparison" technique we often call a "diff," and an incremental which is created with this technique we will call a "differential."  A differential in ShadowProtect isn't necessarily directly dependent upon a base/full image file.  A ShadowProtect differential can be dependent upon any previous image file (including the base or some earlier incremental).  It's easiest to just say that a ShadowProtect differential is simply an incremental which was created with the diff/comparison technique rather than the fast/incremental-change-tracking technique.  When a backup job which includes incrementals is created in ShadowProtect, the in-RAM incremental-change-tracking is turned on in stcvsm.sys in order to provide fast incrementals for that job.  The change list is kept in RAM so that it does not affect system performance.  The drawback of this is that if the system crashes, that list of changes in RAM is lost, and so the next incremental has to be generated using a diff technique and so it'll take about as long as a base/full to be created.  The incremental following it will be back to the fast technique.  If the system is gracefully shutdown, then stcvsm.sys writes that in-RAM incremental-change-tracking information to a .IDX file in the root of the volume which is being monitored.  This map is then read back into RAM when the system boots.  Here lies the crux of the issue.  If you are on a dual-boot system, and you have ShadowProtect installed one one of the OS volumes, but not on the other, then when the OS volume on which ShadowProtect is NOT installed is booted, the user can make changes to a volume for which incremental change tracking was occurring in the other OS volume, and those changes will be made without the knowledge of stcvsm.sys on the other OS volume.  When you boot back into the volume where ShadowProtect is installed, if you then create a fast incremental backup image file, that incremtnal will not contain the sectors which were changed during the boot session of the OS on which ShadowProtect is not installed.

    Fortunately the workaround is easy.  Install stcvsm.sys on all installed operating systems (I'll provide details below on how to do this - it's a simply file copy and import of a .reg file).  This workaround will not work if one or more of your operating systems are not supported by stcvsm.sys (see the supported list below).  In a case where you have an operating system installed which is not supported by stcvsm.sys then you should not use any job types that support incrementals unless you are 100% positive that no changes can be made to the change-tracked volumes when you are booted into an OS on which stcvsm.sys is not installed.  For instance, if you have a Windows partition and a Linux partition, as long as you don't mount your windows FAT32 and NTFS volumes within the Linux boot sessions then you can safely use jobs that have incremental tracking capability within the Windows OS.

    Operating systems that are supported by stcvsm.sys are:

    Windows NT4 SP6a (x86)
    Windows 2000 (all flavors)
    Windows XP (all flavors, including 32-bit and x64 versions)
    Windows Server 2003 (all flavors, including 32-bit and x64 versions)
    Windows Vista (all flavors, including 32-bit and x64 versions)
    Windows Server 2008 (all flavors, including x64 versions)

    To install stcvsm.sys, simply locate the version of stcvsm.sys in the attachment which matches your platform and copy the stcvsm.sys file to the System32\drivers directory.  Then import the attached .reg file.  Finally reboot.

    As long as you install stcvsm.sys on all of your boot volumes and then reboot BEFORE you create a job with incrementals, you will be safe and your incrementals will all be solid.  If you already have a multi-boot system and already have created backup jobs with incrementals then install stcvsm.sys on all of your boot volumes and reboot and tell all of your existing backup jobs to create new base/full image files.

  • 03-11-2008 1:34 PM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

    Incidentally, this type of issue may also occur with any similar product which does sector-change tracking, such as all of the Symantec imaging products.

  • 03-11-2008 2:22 PM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

    Another way to install stcvsm.sys (instead of the manual procedure I discussed above) is to just install ShadowProtect on all of your OS volumes.  Even an expired trial version will work fine because even if the product's trial has expired, the stcvsm.sys which is part of the trial product is fully functional and will continue to work just fine.

    Some might wonder, "But what about when I boot the recovery environment CD?  That's the same as booting to another OS volume in which stcvsm.sys is not present.  What then?"  Well, the answer i that the recovery environment already deals with this issue for you, so you don't need to worry about it.  If you do boot an alternate OS on which stcvsm.sys is not installed, you can turn off the incremental change tracking by deleting the .IDX file in the root of any tracked volumes.  This will cause the next incremental to be generated using a diff technique. For instance, if you have a Linux partition where you DO want to access the NTFS and/or FAT volumes that are being tracked by the Windows OS on which ShadowProtect is installed then while you're in your Linux boot session and are accessing the Windows volumes you can just delete the .IDX files in the roots of those windows volumes and you're safe.

    Some might say "Well, as long as I don't create/modify/delete files/dirs on the tracked volume(s) while I'm in an OS on which stcvsm.sys is not installed I'm okay."  But the fact is that Windows will mount all recognized file systems, and the mount alone causes changes to logs/etc on the volume, even if you as a user don't make any changes from the other OS.  So, to play it safe, either install stcvsm.sys (manually, or by installing ShadowProtect) on all boot volumes, or for unsupported boot volumes if you must access the tracked NTFS/FAT volumes then either don't use jobs that support incrementals, or delete the .IDX files in the roots of the tracked volume(s) when you're in a boot session of an OS on which stcvsm.sys is not installed and your OS is mounting the tracked volume(s).

  • 03-16-2008 12:04 PM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

     I used to use Trueimage and would just clone the drive that had my XP and Vista dual boot setup...from what I understand your product cannot clone the whole drive, correct?  So what you are saying is as long as I have this file on my XP and Vista partitions and then backup each partition separately I will be able to restore all partitions and my dual boot will still be there?

  • 04-06-2008 3:38 PM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

     Nate,

    Could you give an opinion on this setup? A multi-boot system with each OS hidden from the others. ShadowProtect is installed in one OS and this is the only partition being imaged with incrementals.  The other OS are being imaged (manual baseline, without incrementals) from the SP installed OS. The common data partition isn't being imaged. 

     Is this setup a problem? My guess is that it's OK.
     

  • 11-29-2008 5:31 PM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

     Well, I can only tell this, If you're selling a product at this ridiculously high price, and we're not even allowed to install ShadowProtect on different partition on the SAME MACHINE without going thru the online hassle, people will NOT buy this product.

     

    Your policies are a laughable joke, at least if we buy this product we should be able to install it on different OS partitions on the SAME MACHINE, a price that high and you only have the option to install it once, people should be aware of this, and I'm one that will make them aware before they spend so much money for almost nothing.....

  • 11-30-2008 10:28 AM In reply to

    Re: ShadowProtect and Dual-Boot Configurations...

     Hi Nate,

     I assume that this procedure would not have to be applied if you are booting to 2 different operating systems on the same partition using First Defense-ISR Pro snapshots.

     I just want to check and be sure as I use both SP and FD extensively.

     Many thanks for any help,

     Silver

     

Page 1 of 1 (7 items)
(c) StorageCraft Technology Corporation 2008