Run a disk maintenance tool such as Chkdsk on a Physical Disk resource
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
To run a disk maintenance tool such as Chkdsk on a Physical Disk resource
Determine whether an application is dependent on the Physical Disk resource and whether that application will fail (or will not respond smoothly) if it cannot access or write to the disk. If so, pause or stop the application, or notify users that the application will become unavailable.
Open a command prompt.
Turn on maintenance mode by typing a command with the following syntax:
cluster [ClusterName] res DiskResourceName /maint:on
Confirm that maintenance mode is on by typing a command with the following syntax:
cluster [ClusterName] res DiskResourceName /maint
Run your disk maintenance tool, for example, Chkdsk.
When the maintenance tool has finished running, type a command with the following syntax:
cluster [ClusterName] res DiskResourceName /maint:off
Confirm that maintenance mode is off by typing a command with the following syntax:
cluster [ClusterName] res DiskResourceName /maint
Check the state of any application that is dependent on the Physical Disk resource. If necessary, restart the applications and inform users that the applications are available.
Notes
To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.
You can use maintenance mode only on a Physical Disk resource, and only when that resource is online.
Maintenance mode is designed to allow maintenance tools to run on a Physical Disk resource without being interrupted by failover. While maintenance mode is on, the resource appears to be online, but your maintenance tool might make the disk unavailable to applications (for example, when you run Chkdsk with the /f option to fix disk errors, the disk becomes unavailable). While maintenance mode is on, failures from Looks Alive and Is Alive polling are ignored and therefore the running of the maintenance tool on the resource does not trigger a failover.
Maintenance mode will remain on until you turn it off or until one of the following occurs:
The resource goes offline or fails.
The node on which the resource is running restarts or loses communication with other nodes (which causes failover of all resources on that node).
As soon as any maintenance tools (for example, Chkdsk) have finished running, turn the maintenance mode off.
An event is logged when maintenance mode is turned on or off.
Information about functional differences
- Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.
Formatting legend
Format | Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
|
Code or program output |