Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

Details on NVRAM Journal Replay after an Outage

nachin

Dear all,

 

I have been studying the basics of ONTAP and WAFL recently. Discussions on the Interent are very old and even official TR-3002 was moved away. I read several materials saying that

 

1. NVRAM is used to store JOURNAL but not DATA so it can be small but just enough

2. Data are wriiten to disk at each Consistent Point (CP), and between CPs data only go to DRAM with journal going to NVRAM

3. In case of power outage, journals are kept in NVRAM waiting to be replayed as the power come back

 

I wonder what WAFL is to do if power outage result in disappearance of data in DRAM; with only the journals, can WAFL simply finish what was not done yet?

Any reply would be appreciated. Thanks in advance.

6 REPLIES 6

ekashpureff

Nachin -

 

You seem to have the basics correct.

 

ONTAP would read the pending writes from NVRAM on boot and commit the CP to disk...

 


I hope this response has been helpful to you.

 

At your service,

 

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

 

nachin
Dear Sir, Thanks for your instant reply. I am not sure why I have a wrong title. I am asking for details of NVRAM journal replay anyway. The question is as ONTAP boots to finish the journal, if previously there are write I/Os and the data cached in DRAM has not been flushed to disk before the outage, how would WAFL do as it sees the journal? Where can it find the lost data, or I misunderstand something here? Thank you.

ekashpureff

 

Nachin -

 

Not sure why they took down TR-3002, but TR-3001 is still out there:

 

http://www.netapp.com/us/media/tr-3001.pdf

 


I hope this response has been helpful to you.

 

At your service,

 

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

 

ekashpureff

 

Nachin -

 

NVRAM is backed up by a battery.

 

ONTAP would read those journaled writes from NVRAM into RAM and then complete the writes to disk.

 


I hope this response has been helpful to you.

 

At your service,

 

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, FastLane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

 

nachin

Dear Sir,

 

I apolpgize for being a little annoying, but this is what confused me. ONTAP does read journaled writes, but how does it complete the writes to disk?

If a few blocks are arrived at DRAM and write requests are journaled, and at the mean time power outage occurs so blocks in DRAM are lost. After ONTAP boots and wants to relpay the journaled writes, where can it find the lost blocks? Am I missing anything important?

Thank you.

colin_graham

Writes that arrive at the controller are not "aknowledged" back to the host until they are also stored in NVRAM.

 

Just to be clear, the NVram does store the write data as well as the journal - In case of a power failure, the NVRAM is used to complete the writes that were aknowledged before the power went down.

 

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public