Formatting a hard disk is a destructive procedure. Make sure to save important data in another location so that you can restore it later if you have to do so. If no current backup of the hard disk is available, you may want to try to salvage the data from the hard disk before you use this procedure. This procedure assumes that you can bring the hard disk online and that you are not changing the size of the partitions. If you change the size of the partitions, this procedure does not work and renders the hard disk resource unusable.
To close all handles to the shared hard disk so that you can format it, use the steps in either of the following sections. The first section assumes that you have more than one shared hard disk; the second section assumes that you have one shared hard disk with one partition.
Multiple Shared Hard Disks or Partitions
To close all handles so that you can format a shared hard disk if you have multiple shared hard disks or partitions:- Quit all programs, stop all non-cluster-aware services, and then move all groups to one node.
- Start the Cluster Administrator tool, right-click the cluster name, and then click Properties.
- On the Quorum tab, note which hard disk is
the quorum hard disk.
Note: If the hard disk that you want to format contains the quorum log, move the quorum log to another shared hard disk. To do this, click a different hard disk and a different partition. - In the Cluster Administrator tool, click the groups until you find the shared hard disk that you want to format.
- After you find the hard disk resource that you want to format, take the whole group offline, including the shared hard disk. This closes all handles to the hard disk. To take the group offline, right-click the group name, and then click Take off-line.
- In the Cluster Administrator tool, right-click the hard
disk that you want to format, click Properties, click the
Advanced tab, and then note the LooksAlive and the IsAlive values. Increase those values to a value that is a longer time
than it takes to format the drive.
Note: You must increase the LooksAlive and the IsAlive values because the Cluster service tests the physical disk resources every 5 seconds for the LooksAlive value and 1 minute for the IsAlive value. To test for the IsAlive value, the Cluster service creates a temporary file at the root of the disk. If during the formatting of the disk the Cluster Service performs an IsAlive value test, the service does not create the temporary file successfully. As a result, the physical disk resource fails and therefore the formatting process does not succeed. - After you increase the values, click OK, and then bring online the Physical Disk resources. To do this, right-click the hard disk, and then click Bring on-line.
- Minimize the Cluster Administrator tool, and then double-click the My Computer icon on your desktop.
- Right-click the drive that you want to format, click
Format, and then format the drive with the options that you
want.
Note: The hard disk must use NTFS because the Cluster service requires NTFS for a shared hard disk.
Note: If you receive a "Disk is in use" error message when you try to format the drive, verify that all the services and utilities that have access to the drive are stopped. Any running service or program that has an open handle to the drive can prevent the disk from formatting. - After you format the hard disk, restore all your data, verify that all paths are correct, and then reset the LooksAlive and the IsAlive values. If you formatted the quorum hard disk, you do not have to restore the MSCS folder because it is automatically created when you move the quorum log back by using the Cluster Administrator tool.
- In Cluster Administrator, right-click the group that contains the hard disk that you formatted, and then click Bring on-line. When you do this, you bring all the resources in the group online.
- If you moved the quorum hard disk to another hard disk and you want to move it back, right-click the cluster name, click Properties, and then click the hard disk that you want to designate as the quorum hard disk on the Quorum tab.
Single Shared Hard Disk or Partition
If you have one shared hard disk that is also the quorum hard disk:- Turn off node B.
- On node A, click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
- Click Device Manager in the left pane, and then click Show Hidden Devices on the View menu.
- In the right pane, view the non-Plug and Play drives section, and then double-click the Clusdisk driver.
- On the Driver tab, change the Startup type option from System to Disabled.
- In the left pane, double-click Services and Applications, and then click Services.
- In the right pane, double-click the Cluster service, and then click Disabled in the Startup type box.
- Restart node A, and then log on to the computer.
- Double-click the My Computer icon on your
desktop, right-click the hard disk that you want to format, click
Format, and then format the hard disk with the options that
you want.
Note: The hard disk must use NTFS because the Cluster service requires NTFS for a shared hard disk. - Restore the data to the hard disk.
- Re-enable the Clusdisk driver and the Cluster service. To do so, repeat steps 2 through 8. In step 5, change the Startup type to System. In step 7, change the Startup type to Automatic.
- Start the Cluster Administrator tool to verify that all resources are online, and then turn on node B.