Results 1 to 7 of 7

Thread: Quick Q on HORM and an Unprotected Drive

  1. #1
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448

    Quick Q on HORM and an Unprotected Drive

    So my PC's set up for EWF and HORM and it works flawlessly. No problems there.

    I have all my media (music, videos, & pictures) on an unprotected partition and all my programs, FE, etc. on the EWF protected partition.

    I've skinned my FE so that I can one-touch click from my FE to update my media on the unprotected partition.

    If I create a new hibernate file as my new HORM point after the file updats, I won't run into corruption issues w/ the unprotected partition on resume, right?

    Should I need to make updates to the carPC and delete the restoration data on boot, I won't loose my file updates to my media on the unprotected partion, right?

    If I'm thinking about this right, everything should be fine, but just wanted some confirmation from you EWF/HORM experts.

    TIA!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  2. #2
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,364
    you need to unmount your unprotected drives whenever you set your HORM state. the reason being that Windows will save the write cache for the drive in the hibernation file. So every time you boot up it will have the same write cache and corrupt your unprotected drive.
    EWF, HORM, MinLogon on XP.

    Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
    Win Embedded Std 2011 RC
    OCZ Vertex Turbo 30GB SSD
    Lilliput 629 Transflective, WRX Screen Mount
    BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
    VoomPC 2

  3. #3
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    But as long as I don't make changes to the unprotected partition, everything should be fine, right? I'm not writing to the drive AFTER i've set my hibernation point.

    My unprotected partition cannot be locked and unmounted. As I understand it, windows has a handle on the partition that prevents locking the drive. I can remove the volume from being directly accessible, but it still gets cached w/ the hibernate file.

    What I'm doing now to update my media files is that I'm deleting the restoration data on boot and incorporating the updates. Start my FE, check to make sure all my external programs are running, prepare the FE for hibernation, and lastly, hibernate.

    It would be real...convinient...if I could update my media files, create a new HORM point, and call it a day.

    I am hoping that if I need to make updates that involves disabling EWF on my protected partition, I won't lose my media file updates on the unprotected partition when I delete the restoration data on boot.

    I hope this makes sense...
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  4. #4
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,364
    Steps:

    1. Booted up with EWF active on C: from a HORM state
    2. Need to update media on D:, copy files to D:
    3. Shutdown (no update to HORM state)

    No problems there. Next use case:

    1. Booted up with EWF active on C: from a HORM state
    2. Update files on D: (Windows uses a write cache)
    3. Update hibernation state which means Windows is storing the write cache for D:

    Now every time you boot up, your system will have that same write cache for D: again and again, that's where the problem lies.

    There was a util mentioned here: http://www.mp3car.com/vbulletin/winn...vironment.html that should be able to properly clear the cache when you hibernate.
    EWF, HORM, MinLogon on XP.

    Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
    Win Embedded Std 2011 RC
    OCZ Vertex Turbo 30GB SSD
    Lilliput 629 Transflective, WRX Screen Mount
    BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
    VoomPC 2

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    icic.

    I'd be following the first case you laid out.

    For clarification, here is what I do:

    Full startup w/ no restoration data w/ EWF enabled to OS
    Start external programs (xport, hibstart, etc.)
    Start FE
    Hibernate (HORM)
    Keyon/Resume
    Keyoff/Shutdown
    Keyon/Resume
    Copy files to unprotected D:
    Keyoff/Shutdown

    Thx SF! This was very informative.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    Maximum Bitrate Kimota's Avatar
    Join Date
    Nov 2006
    Location
    Fort Lauderdale ,Florida
    Posts
    468
    Is there a command to unmount/remount drives or do you have to physically unplug the unprotected drive?

  7. #7
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    I'd contact mitchjs. He developed code for RR that locks and dismounts usb drives that is used to save resume data for RR users using HORM. It's essentially the same as unplugging the drive just prior to hibernating.

    He tried to get it to work with fixed partitions, but for reasons I can't explain, windows has a persistent handle on the the fixed partition/drive that prevents locking & unmounting the drive while still connected.

    Even w/ usb harddrives, windows treats it differently as a flash drive and prevents that volume from being locked and unmounted.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •