Ghost Solution Suite

 View Only
  • 1.  SUM problems

    Posted May 29, 2007 10:30 AM
    I have come across an issue that I can't seem to figure out. I have a machine that I ran the gui wizard on with an exported template from the ghost console. It takes FOREVER to run and there isn't that much data(under 200M). After it completes the logs show several errors that it cannot enumurate certain reg keys When i try to run the restore on the target machine it takes forever again to extract data but it never lists ANY users in the package to restore. I am thinking it was unable to access the user hive on the source machine, the last entry on the failed restore log says:
     
    "[25-05-07:10:44:43:417]Error:       Cannot unload user hive HKEY_USERS\S-1-5-21-3355867445-3588292367-1111443492-500 CWinNTUserProfile::unloadUserHive. Error 87"
     
    I looked again at the logs from the source machine and found something really wierd, the SCMData\CreateDirectiveOut.xml file is 250,960 Megs.
     
    I can provide logs from both machines if anyone can look, except of course for the above 250 meg file.


  • 2.  RE: SUM problems

    Posted May 29, 2007 07:44 PM
    Hi Chris,

    Error of unloading user hive is fine - basically it tells you that most likely hive is in use (eg. user logged in etc.) and hive cannot be unloaded at the time. If hive could not be loaded then I'd start worrying because that would mean that SUM cannot capture data for that user.

    Long time issue. Is it possible for you to email me that template and logs? I am suspecting that even though package is not that huge, you are specifying too many inclusion files to check and this might cause delay. SUM capture files/folders works as follows:
    SUM gets all inclusion paths for each user and merges them all into one list. Where paths equate they get combined into one path. Basically from a long list of paths and extensions, you get much shorter list of unique paths with potentially bunch of extensions. For instance you set 3 paths: c:\*.txt, *.mp3, *.doc. They get combined into two paths:
    1. c:\ with single extension *.txt
    2. $LocalDrives$ with two extensions *.mp3 and *.doc

    This logic is done so that SUM doesnt have to process same path multiple times not just for a single user but potentially for multiple users as well.

    As you can see from above example to process this list would still requires to search your entire c:\ drive at least twice: once for *.txt and second pass for *.mp3 and *.doc. You can optimise it by specifying c:\*.mp3 and c:\*.doc instead of giving them no drive.

    In general simple search of your hard drive for any given file extension using Windows Explorer takes long time as well and SUM is no exception - the more stuff you want to search on, the longer it takes. You'll need to narrow the search down.

    Of course your issue might be completely different but my comments above might still help people to understand how engine works and optimise path search appropriately.