Re: EvfMgr C: -commit followed by Power Down gives lost changes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Doug Hoeffel (doug.hoeffelNo_at_SpAmMcamtronics.com)
Date: 12/02/04


Date: Thu, 2 Dec 2004 13:45:21 -0600

Lasse:

After the commit then force a restart using:

shutdown -r -t 0

You can add this in your bat file after the "ewf C: -commit"

HTH... Doug
"Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:OvTP%23LJ2EHA.1152@TK2MSFTNGP14.phx.gbl...
> Hi
> My problem is that the (some) users of the system sometimes makes commit
> then reboots the by turning power off/on (it is much easier).
>
> My intention is to create a file Commit.bat that does:
> C:\SomeSecretDir\EwfMgr C: -commit
> Sync C: # flush
>
> Meaning the users can only use the commit.bat file that flushes the disk.
>
> Sync (www.sysInternals.com)
> UNIX provides a standard utility called Sync, which can be used to direct
the
> operating system to flush all file system data to disk in order to insure
that
> it is stable and won't be lost in case of a system failure. Otherwise, any
> modified data present in the cache would be lost. Here is a an equivalent
that
> I wrote, called Sync, that works on all versions of Windows. Use it
whenever
> you want to know that modified file data is safely stored on your hard
drives.
>
> Will this work.
> Could this function be above the EWF and not operate on the disk ?
>
> I have a SanDisk FlashDisk, NTFS, compressed, 60 Mbyte.
> commit is only used for some change of settings and update of
applications.
>
> Slobodan Brcin (eMVP) wrote:
> > Hi Lasse,
> >
> > What do you mean by that? Could you explain?
> >
> > Regards,
> > Slobodan
> >
> > "Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:eB7eQkI2EHA.204@TK2MSFTNGP10.phx.gbl...
> >
> >>Thanks for the answer.
> >>Yes, I am using RAM EWF.
> >>I will try using Sync.exe from SysInternals to solve my problem.
> >>
> >>Lasse
> >>
> >>Slobodan Brcin (eMVP) wrote:
> >>
> >>
> >>>Lasse,
> >>>
> >>>commit is just a notification to driver that it should save data from
overlay to disk.
> >>>If you are talking about RAM EWF then this save happens only during the
graceful shutdown, not before.
> >>>
> >>>Regards,
> >>>Slobodan
> >>>
> >>>"Lasse" <Lasse-NO@SPAM-engdahl.com> wrote in message
news:OSaztDI2EHA.2804@TK2MSFTNGP15.phx.gbl...
> >>>
> >>>
> >>>>Hi All
> >>>>I use "EwfMgr C: -commit", and a short time after that the power is
> >>>>turned off. What should happen ?
> >>>>
> >>>>I thought that -commit made the changes to be flushed to the disk.
> >>>>But it seems to me that there is some kind of delayed write to the
disk.
> >>>>Turning off the power makes the changes to be lost.
> >>>>If I make a graceful shutdown, everything works OK.
> >>>>
> >>>>If I am right, is there some utility or API I can use to flush
> >>>>everything to the disk after commit.
> >>>>
> >>>>Lasse
> >>>
> >>>
> >>>
> >
> >



Relevant Pages

  • Re: EvfMgr C: -commit followed by Power Down gives lost changes
    ... Meaning the users can only use the commit.bat file that flushes the disk. ... UNIX provides a standard utility called Sync, which can be used to direct the ... commit is only used for some change of settings and update of applications. ... Slobodan Brcin wrote: ...
    (microsoft.public.windowsxp.embedded)
  • Re: EvfMgr C: -commit followed by Power Down gives lost changes
    ... I am using RAM EWF. ... Slobodan Brcin wrote: ... > commit is just a notification to driver that it should save data from overlay to disk. ...
    (microsoft.public.windowsxp.embedded)
  • Re: EvfMgr C: -commit followed by Power Down gives lost changes
    ... RAM EWF overlay content is only written during the graceful shutdown. ... EWF is between disk driver and filesystem driver. ... > Sync ... > commit is only used for some change of settings and update of applications. ...
    (microsoft.public.windowsxp.embedded)
  • Re: DSK to NIB Instruction
    ... > the .dsk image internally and then feed it to the emulated controller. ... > I don't have any literature available on low-level disk operation. ... This obviously depends on the emulator. ... > for a sync byte, which will be aligned correctly, then the bytes after ...
    (comp.sys.apple2)
  • Re: XFS: how to NOT null files on fsck?
    ... > Now I know it takes a while before data may end up on disk and that it ... > My filesystems all use the Allocation unit size allowed. ... "sync" command is issued will be on disk when the command finishes. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)