InfoScale 8.0.2 cluster can hit File system corruption with VVR configured

book

Article ID: 1000766395

calendar_today

Updated On:

Description

We see a timing problem in Volume Replicator (VVR) that occurs when VVR changes its write_ack mode from asynchronous to synchronous. Both customer events happened within seconds of such a change. During the change, one cluster node can briefly read an older copy of filesystem metadata that another node has just updated. The file system then works from a stale metadata, later detects the inconsistency, and marks itself for repair.

 

Resolution

  1. We are internally evaluating a fix to resolve this issue.
  2. Meanwhile as a workaround customer can set the VVR write_ack mode to async which will prevent switching off the mode and in turn prevent this issue. Following command can be used to set async mode on all volumes under rvg : vxvol -g <dgname> set write_ack=async <vol1> <vol2>  and so on for all volumes under RVG.

Issue/Introduction

We have seen some customer's shared cluster file systems can detect an internal inconsistency. To fix this, the filesystem had to be taken offline for a full repair (fsck).

 

Additional Information

The problem needs three things to happen at the same moment:

  • a VVR mode change;
  • data volume updates that are still pending;
  • a hand-over between nodes.
  • With fast disks, pending updates complete quickly and the window is very small.
  • The customer's disks are fast on average, at about 1 ms per write (infered from vxstat present in the explorers). However, every node shows occasional delays of 0.4 to 3 seconds. A mode change during such a delay would open the window. This is consistent with two events in several months.