HORM and unprotected volumes

  • Thread starter Thread starter ScottM
  • Start date Start date
S

ScottM

I'm trying to create an embedded image using the Hibernate Once
Resume Many configuration. In my system I need to have a folder that
can store software updates and configuration changes. I have set up a
second partition to contain the folder that I need to be unprotected
from EWF.

I found the article on the Microsoft site, "Dismounting Volumes in a
Hibernate Once/Resume Many Configuration," talking about dismounting a
volume before hibernation so that you can leave it unprotected in
normal running. Unfortunately I am not a programmer. Are there any
utilities already made to help with this?

I am testing my image using Virtual PC and I tried adding a second
hard drive after creating the image and creating the hibernation file.
This appears to produce the desired results. I can write to the D:
drive and the changes seem to be carried over to the next boot. One
problem I have noticed is that if I just turn the virtual pc off
without a proper shutdown, none of the file changes on the unprotected
drive are preserved when the unit powers up. None of the files were
opened when I power down the PC. Is the file loss due to write caching,
or do you think this is a virtual PC issue?

Thanks,
-Scott
 
Hi Scott,

I do not know if there is an application to unmount FS on unprotected volumes :-(. But it can be easily created.
To avoid problems with data loss you must dismount volumes before hibernations procedure, this is vital for data integrity to remain
intact.

Regards,
Slobodan
 
I am definately not doing something right.
I found a utility online called mount.exe that allows you to unmount a
volume. I have 1 hard drive with 2 partitions., C (with XPE image and
EWF) and D (my data, no EWF).

I disabled EWF on C:, rebooted to take effect.
Created resmany.dat.
enabled EWF, rebooted.
dismount D:
hibernate system.

When I reboot it resumes and I have to mount the d: drive with the
mount.exe utility. I then add files to the D: drive. I rebooted, it
resumes, and again I had to mount the d: drive. The files I added
previously are not shown.

Am I doing this right? Anyone else get this to work?

Thanks again,
-Scott
 
Hi Scott,

What is the purpose of mount util?
I do not know how it work, but you must close filesystem not volume letter, and while you application keep it closed it should
internally hibernate your computer.
This way filesystem will be reloaded only after your application is closed and you access your volume for the first time. This is
only 100% safe way to do things.
It require little programming but it is right way to do.


Regards,
Slobodan
 
Back
Top