Article ID: 329707 - View products that this article applies to.
This article was previously published under Q329707
This article describes the best practices for using dynamic disks on Windows 2000-based computers.
Dynamic disks offer advantages over basic disks, which use the original MS-DOS-style master boot record (MBR) partition tables to store primary and logical disk partitioning information. Dynamic disks use a private region of the disk to maintain a Logical Disk Manager (LDM) database, which contains volume types, offsets, memberships, and drive letters of each volume. The LDM database is also replicated, so each dynamic disk knows about every other dynamic disk configuration. This feature makes dynamic disks more reliable and recoverable than basic disks.
The following articles contain information that you need to understand the information in this article. For more information about dynamic disks, hardware limitations, and the terminology that is used in this article, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/175761/ )Dynamic vs. basic storage in Windows 2000
(http://support.microsoft.com/kb/254105/ )Dynamic disk hardware limitations
Best practices and limitations of using dynamic disksBefore you use dynamic disks, consider the following recommended best practices and limitations of using dynamic disks.
The Latest FixesMicrosoft highly recommends that you install Windows 2000 Service Pack 3 (SP3) or later if you run Windows 2000 and you currently have dynamic disks or plan to upgrade any of your basic disks to dynamic disks. SP3 contains several important fixes for basic-disk-to-dynamic-disk conversions and for extending hardware RAID volumes if the disk is already dynamic.
For additional information about the fixes that SP3 contains, click the article number below to view the article in the Microsoft Knowledge Base:
294244Microsoft also recommends that you install a supported fix that is now available that corrects a problem that occurs when you start the Disk Management snap-in. This hotfix is not included in Windows 2000 SP3. For more information about this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/294244/ )Extending hardware RAID array may cause dynamic unreadable/offline error
(http://support.microsoft.com/kb/327020/ )Error message occurs when you start disk management after extending a hardware array
Dynamic disks vs. basic disksBefore you convert basic disks to dynamic disks, determine whether you require features that only dynamic disks provide. If you do not need spanned volumes, striped volumes, mirrored volumes, or RAID-5 sets, it is best to use basic disks.
Note Windows 2000 supports physical disk sizes up to 2TB in size. If your hardware vendor allows you to increase the size of an existing hardware RAID-5 disk logical unit number (LUN) up to the 2TB limit, you do not have to span the NTFS file system volume across multiple physical disks LUNs. Instead, we recommend that you continue to use basic disks, and use the DiskPart.exe utility to extend the NTFS volume after you add new physical storage capacity to the hardware RAID LUN. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
325590If you must extend an NTFS volume across multiple hard disks (LUNs) to create a spanned volume, use dynamic disks. For Windows 2000 only, the NTFS volume must have been originally created on a dynamic disk before it can be spanned. You cannot extend or span a volume that was created on a basic disk and then converted to a dynamic disk. This restriction does not apply to Windows XP and later. For more information about this Windows 2000 restriction, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/325590/ )How to use DiskPart.exe to extend a data volume
(http://support.microsoft.com/kb/225551/ )Restrictions on extending or spanning simple volumes on dynamic disks
Storage devicesIf you decide to use dynamic disks and you have both locally attached storage (IDE-based storage or Small Computer System Interface [SCSI]-based storage) and storage that is located on a storage area network (SAN, which is typically connected by means of fiber channel), do one of the following, depending on your situation:
To combat that problem, if you must have dynamic disks in a mixed configuration of both locally attached storage and SAN-attached storage, it is a good idea to protect all fiber hubs, routers, switches, SAN cabinets, and the server from power outages by using uninterruptible power supplies (UPSs) on all connecting devices.
Server clustersDynamic disks are not supported for use with Windows Clustering. Windows 2000 Advanced Server and Windows Datacenter Server that are non-OEM versions do not support dynamic disks in a server cluster infrastructure.
This restriction does not prevent you from extending an NTFS volume that is contained on a cluster shared disk (a disk that is shared between the computers in the cluster) that is basic. For more information about how to extend an NTFS volume on a cluster shared disk, click the following article number to view the article in the Microsoft Knowledge Base:
304736You can use the third-party add-on software Veritas Volume Manager for Windows 2000 to add the dynamic disk features to a server cluster infrastructure. If you install Veritas Volume Manager and configure Volume Manager Disk Group resources, contact Veritas Support for server cluster issues that are related to those resources. For more information about Veritas Volume Manager, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/304736/ )How to extend the partition of a cluster shared disk
237853The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
(http://support.microsoft.com/kb/237853/ )Dynamic disk configuration unavailable for server cluster disks
Moving dynamic disksIf you move dynamic disks between systems, you may not be able to move the dynamic disks back to the original host. If you must move the dynamic disks, move all the dynamic disks from a computer at one time, and make sure that they are all online and running on the destination system before you try to import them to the new host. This order is important so that the disk group name and ID of the primary disk group of the host system is always retained (if a dynamic disk is present). What makes the difference is whether there is at least one dynamic disk on the destination system or not. One problem scenario occurs when there is no dynamic disk on the destination system (so that that computer ends up with the same disk group name as the source computer when the disk are moved to it) and then you want to move the disks back to the source computer. You may encounter a problem if foreign disks that you are re-imported have the same disk group name as the local computer.
For more information about moving dynamic disks, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/222189/ )Description of disk groups in Windows disk management
(http://support.microsoft.com/kb/260113/ )"Internal error - Disk group exists and is imported" error message while importing foreign disk
The write signature and upgrade disk wizardWhen you start the Disk Management snap-in, it will enumerate all disks in the system to see if any disks have changed or if any new disks were attached to the system. If Disk Management finds any disks that are unknown, that are not initialized, or that do not have a disk signature in the MBR, Disk Management starts the Write Signature and Upgrade Disk Wizard.
The wizard first prompts you to select which disks that you want to write a disk signature to; by default, no disks are selected. To select the disks, click the check boxes next to the disk numbers.
The wizard then prompts you to select which disks that you want to upgrade to dynamic disks. Each disk that you selected on the first page is automatically selected here. If you continue without clearing the disk check boxes, LDM writes a disk signature and upgrades all the disks that you selected to dynamic disks automatically.
Note This wizard was changed in Windows XP and later. It no longer automatically selects the disks to be upgraded to dynamic.
If the MBR of a dynamic disk is zeroed out (for example, because of a hardware problem), when you start Disk Management, the Write Signature and Upgrade Disk Wizard starts. If you permit the disk to be reconverted to dynamic, the original LDM database is overwritten by the newly initialized LDM database. Disk Management shows that disk as healthy and only shows unallocated free space. If you have another healthy dynamic disk in the system at the time of conversion, its LDM database is then replicated to the newly converted dynamic disk and a "missing" disk (representing the original dynamic disk) is also shown in Disk Management.
Because of this, it is best that you disable the Write Signature and Upgrade Disk Wizard in Windows 2000, or that you caution users about the default behavior of the wizard, and be careful not to accidentally reconvert a disk that was previously dynamic.
To manually disable the wizard, follow these steps.
Note If you previously selected the Do not show this wizard again check box in the wizard, you do not have to use this procedure because the key and value already exist and are set to 0x1 (disabled).
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
"Missing" dynamic disksIf Disk Management shows a "Missing" dynamic disk, this means that a dynamic disk that was attached to the system cannot be located. Because every dynamic disk in the system knows about every other dynamic disk, this "missing" disk is shown in Disk Management. Do NOT delete the missing disk's volumes or select the Remove Disk option in Disk Management unless you intentionally removed the physical disk from the system and you do not intend to ever reattach it. This recommendation is important, because after you delete the disk and volume records from the remaining dynamic disk's LDM database, you may not be able to import the missing disk and bring it back online on the same system after you reattach it.
Text-mode setup and recovery consoleNever delete or create a partition on a dynamic disk during Windows 2000 or Windows XP text-mode setup or when you start the computer by using the Recovery Console. Doing so may result in permanent data loss. For more information about this recommendation, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/227364/ )Dynamic volumes are not displayed accurately in text-mode setup or recovery console
(http://support.microsoft.com/kb/236086/ )System or boot disk listed as dynamic unreadable in disk management
The Mirrored DriveNever break a healthy system disk or boot dynamic mirrored volume and expect the mirrored drive to replace the original primary drive if it fails. The drive letter that is assigned to the manually broken mirrored drive is assigned the next available drive letter and is a permanent record in the LDM database. This means that no matter what position that drive takes in the boot process, it is assigned the new (and incorrect) drive letter, so the operating system cannot function correctly.
For more information about common symptoms that are related to the incorrect boot partition drive letter, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/249321/ )Unable to log on if the boot partition drive letter has changed
(http://support.microsoft.com/kb/258062/ )"Directory Services cannot start" error message when you start your Windows-based or SBS-based domain controller
Note Windows software mirroring is a fault-tolerant solution that ensures that you can maintain access to data if you have a hardware disk failure. Software mirroring is not intended to be used as an offline backup mechanism.
Hardware mirroringIf you use dynamic disks with hardware mirroring, it is very important that you do not expose BOTH halves of the hardware-mirrored drives to the same operating system at the same time. To do this, break the hardware mirror by using the OEM RAID configuration utility, and then configure both disks as standalone drives that are both accessible to the operating system. The LDM databases will be exactly the same (because you hardware-mirrored them), whereas each dynamic disk on a system should contain a unique DiskID in the LDM header so that LDM can distinguish one dynamic disk from another.
The same holds true if you use software disk imaging products that duplicate hard disks sector-by-sector. Unpredictable results and, more likely, undesirable results may occur if two dynamic disks that are exactly the same are exposed to the operating system at the same time.
Maximum sizes on an NTFS file system volumeBefore you format an NTFS volume, evaluate the types of files to be stored on the volume so that you can determine whether to use the default cluster size. When formatting NTFS volumes, you can specify a cluster size of up to 64 kilobytes (KB) by using the Disk Management snap-in. If you format a volume, but you do not specify a cluster size, default values are used. If you want to change the cluster size after the volume is formatted, you must reformat the volume. Before you select a cluster size other than the default, note the following important limitations:
ConclusionBy using dynamic disks, you can create fault-tolerant volumes (mirrored volumes and RAID-5 sets) and very large multiple-disk (LUN) volumes by using striped and spanned volumes. These features are available only on dynamic disks. Dynamic disks are more robust and fault-tolerant in the way they store and replicate disk and volume configuration information. Dynamic disks are primarily designed to be "online" all the time, and this is why they are not available on removable media. If you use the recommendations in this article, your data should remain online and accessible under various controllable and uncontrollable circumstances.
Article ID: 329707 - Last Review: February 1, 2007 - Revision: 11.3