Cluster Shared Volumes and Check Disk

I found this information today and though I should pass it on.

 

For the chkdsk not to run we can run the following commands.

Run the below command on one of the cluster nodes that owns the CSV shared drive:

  • cluster res “CSV_disk_name” /priv
    By default, the value for the DiskRunChkDsk will be 0
  • set the value for DiskRunChkDsk to 4 using the below command:
  • cluster res “CSV_disk_name” /priv DiskRunChkDsk=4
New Chkdsk Functionality

ChkDsk options have been consolidated and expanded from previous versions of clustering to provide greater flexibility. There are now six options for the ChkDsk policy. This policy is enforced when a clustered disk resource is brought online.

The functionality of each policy is described below.

  • DiskRunChkDsk <0x0>: This is the default policy for all Failover Clusters. This policy will check the volume to see if the dirty bit is set and it will perform a Normal check of the file system. The Normal check is similar to running the dir command at the root. If the dirty bit is set or if the Normal check returns a status of FILE_CORRUPT, DISK_CORRUPT, then ChkDsk with be started in Verbose mode (Chkdsk /x /f).
  • DiskRunChkDsk <0x1>: This policy will check the volume to see if the dirty bit is set and it will perform a Verbose check of the file system. The Verbose check is similar to running the dir /s command at the root. If the dirty bit is set or if the Verbose check returns a status of FILE_CORRUPT, DISK_CORRUPT, then ChkDsk with be started in normal mode (Chkdsk /x /f).
  • DiskRunChkDsk <0x2>: This policy will run ChkDsk in Verbose mode (Chkdsk /x /f) on the volume every time it is mounted.
  • DiskRunChkDsk <0x3>: This policy will check the volume to see if the dirty bit is set and it will perform a Normal check of the file system. The Normal check is similar to running the dir command at the root. If the dirty bit is set or if the Normal check returns a status of FILE_CORRUPT, DISK_CORRUPT, then ChkDsk will be started in Verbose mode (Chkdsk /x /f), otherwise ChkDsk will be started in read only mode (Chkdsk without any switches).
  • DiskRunChkDsk <0x4>: This policy doesn’t perform any checks at all.
  • DiskRunChkDsk <0x5>: This policy will check the volume to see if the dirty bit is set and it will perform a Verbose check of the file system. The Verbose check is similar to running the dir /s command at the root. If a problem is found, ChkDsk will not be started and the volume will not be brought online. Modifications to the ChkDsk policy will only be possible from the Cluster.exe command line tools.
Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s