Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

10417

September 5th, 2013 22:00

AVAMAR : Phases of hfscheck

Can anyone explain the following phases during hfscheck in detail ?

datasweep

indexsweep

paritysweep

refcheck

Thanks

2 Intern

 • 

2K Posts

September 6th, 2013 06:00

The phases of hfscheck you mentioned above run in the following sequence:

  1. indexsweep
  2. datasweep
  3. paritysweep
  4. refcheck

During the indexsweep phase, the system confirms the integrity of the index (the index is the "table of contents" for all the data on the system) and also caches the index entries for each data chunk onto the same disk where the chunk itself is stored. This is done to improve the performance of later phases of the hfscheck.

The datasweep phase is typically the longest phase of hfscheck. This phase reads each data chunk from the system and compares the hash of that chunk with the hash that is recorded in the index. This confirms that each data chunk is the same as it was when it was backed up.

As I'm sure you know, multi-node Avamar systems are protected by RAIN parity. During the paritysweep phase, the parity information is recalculated and checked against the parity information on disk.

The refcheck phase of hfscheck checks the referential integrity of the backups by verifying that every chunk of data that is referenced by a backup can be found in the index.

If you find anything unclear about the explanation above, please don't hesitate to reply with questions.

Community Manager

 • 

8.7K Posts

September 6th, 2013 01:00

Hey,

I found some information for your reference.

Moderator Edit: Proprietary information removed [ija]

23 Posts

September 6th, 2013 04:00

Thank you Leo..

23 Posts

September 8th, 2013 08:00

Thank you Ian.Also wanted to know what exactly happens during waitcgsan as one we cannot cancel hfscheck when it is in waitcgsan and have to wait till it shows stripes in progress .

2 Intern

 • 

2K Posts

September 9th, 2013 11:00

During the waitcgsan phase, the system is waiting for the cgsan process that actually performs the hfscheck to start up on all the nodes. Killing hfscheck while cgsan is starting can cause issues on the system which is why the recommendation is to wait until cgsan is checking stripes before stopping an hfscheck.

11 Posts

March 25th, 2015 23:00

Thanks Ian sharing this good knowledge. share your email.

No Events found!

Top