HOW TO: Format an Existing Partition on a Shared Cluster Hard Disk

Article translations Article translations
Article ID: 257937 - View products that this article applies to.
This article was previously published under Q257937
Expand all | Collapse all

On This Page

SUMMARY

This article describes how to format an existing hard disk or partition on a shared cluster hard disk or partition. You may have to do this if there is NTFS file system damage on a cluster hard disk resource that the chkdsk command cannot repair, or if you want to reformat a partition to start with a known good file system state and known good data. To do this, you may have to format one or all the existing shared hard disks, including the quorum hard disk. In Windows 2000 and Windows Server 2003, if a program or service has an open file, you cannot format the hard disk where the file is open. You cannot format the quorum hard disk when the Cluster service is running.

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:
  1. Quit all programs, stop all non-cluster-aware services, and then move all groups to one node.
  2. Start the Cluster Administrator tool, right-click the cluster name, and then click Properties.
  3. 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.
  4. In the Cluster Administrator tool, click the groups until you find the shared hard disk that you want to format.
  5. 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.
  6. 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.
  7. 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.
  8. Minimize the Cluster Administrator tool, and then double-click the My Computer icon on your desktop.
  9. 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.
  10. 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.
  11. 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.
  12. 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:
  1. Turn off node B.
  2. On node A, click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
  3. Click Device Manager in the left pane, and then click Show Hidden Devices on the View menu.
  4. In the right pane, view the non-Plug and Play drives section, and then double-click the Clusdisk driver.
  5. On the Driver tab, change the Startup type option from System to Disabled.
  6. In the left pane, double-click Services and Applications, and then click Services.
  7. In the right pane, double-click the Cluster service, and then click Disabled in the Startup type box.
  8. Restart node A, and then log on to the computer.
  9. 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.
  10. Restore the data to the hard disk.
  11. 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.
  12. Start the Cluster Administrator tool to verify that all resources are online, and then turn on node B.

Properties

Article ID: 257937 - Last Review: November 1, 2006 - Revision: 3.2
APPLIES TO
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
Keywords: 
kbclustering kbenv kberrmsg kbhowtomaster KB257937

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com