Hiberfile writing

Hi,

I am working on a ScsiPort/Miniport driver.
Most of the work is done and I want to write the hiberfile to both the
primary master and primary slave devices for redundancy, although the slave
may or maynot have any OS on it.

I know the hibernate path and have used the Crash Write function (called in
hiber_(mydriver)) to write to both the disks. But i have noticed that the
slave device
doesn’t get written. In the hiberfile Write path, i am replicating the SRB
intended for the primary master and changing the srb.targetid for the slave
and doing a
write again on the slave. Is there anyone who can enlighten me more on this
aspect?

Thanks!

have you written your own AtapiCrash…Write(…) or are you using a wrapper
to call it twice?

I have my own CrashWrite function, and inside that function itself, I create two similar SRB’s, one for the master and one for the slave and call AtapiStartWrite one by one.

Also i cannot find the DUMP_POINTERS structure definition. Can anyone help, on how to fill it up, if i want to write the crash dump/hiberfile to both the master and slave disks??

“Developer” wrote in message news:xxxxx@ntdev…
have you written your own AtapiCrash…Write(…) or are you using a wrapper to call it twice?