When you install a Windows OS (e.g., Windows .NET ServerWin.NET Server2003, Windows 2000, or Windows NT 4.0), you can choose between two types of logical disks: basic and dynamic. The type you select has huge implications for your Windows server and the software that runs on it. Let's look at these two types of logical disks and why you need to understand the differences between them.
Basic Disks
Before Win2K, Windows OSs used only basic disks, which date back to Windows 9x and have a fairly respectable past. Microsoft designed the basic disk to support future Windows products. In essence, a basic disk contains basic volumes, such as primary partitions, extended partitions, and logical drives. When you use basic disks, you're limited to creating four primary partitions per disk or three primary partitions and one extended partition with unlimited logical drives. Although these limitations are real, they aren't as severe as you might think. Basic and dynamic disks differ in the number of partitions (on basic disks) and volumes (on dynamic disks) that each can contain. Basic disks also use the partition tables (stored in the Master Boot RecordMBRat the beginning of the disk) that Windows XP, Win2K, NT 4.0, Windows Me, Win9x, and MS-DOS support. To make matters more confusing, basic disk volumes also include support for multidisk volumessuch as volume sets, stripe sets, mirror sets, and stripe sets with paritycreated in NT 4.0 or earlier. (XP doesn't support these multidisk basic volumes but Win2K does.)
As a Win2K and NT 4.0 administrator, you've used basic disks and probably have had occasion to "get fancy" by using volume sets, mirror sets, or stripe sets. However, you might have noticed some limitations with basic disks, such as having to reboot the system after you make changes to an NT 4.0 disk configuration.
Dynamic Disks
The limitations of basic disks and other inconveniences drove the creation of a new type of disk definition for Windows systemsthe dynamic disk. XP Professional Edition and Win2K support dynamic disk storage. When you initialize a physical disk as dynamic, it's called a dynamic disk and contains dynamic volumes, such as simple volumes, spanned volumes, striped volumes, mirrored volumes, and RAID 5 volumes. Dynamic disk storage is divided into volumes instead of partitions. Dynamic storage lets you manage disks and volumes without restarting Windows.
Differentiating storage types (i.e., basic and dynamic disks) from file-system types (i.e., FAT, FAT16, FAT32, and NTFS) and from partitions and volumes is important. Storage types are different from file-system types. On a basic disk, a partition is a portion of the disk that functions as a physically separate unit. A physical disk unit can contain any combination of storage types. However, all volumes on the same disk must use the same storage type. A volume is a storage unit derived from free space on one or more dynamic disks. You can format both partitions and volumes with a file system (such as NTFS) and assign a drive letter. Volumes also have different layouts (e.g., simple volumes, spanned volumes, striped volumes) and characteristics, as Table 1, page 28, shows. Basic disks used to provide different layout types (e.g., spanned, mirrored, RAID 5) with partitions. However, XP Pro, Win2K, and Win.NET Server provide these layouts in dynamic disk volumes. Unfortunately, laptop computers and XP Home Editionbased computers don't support dynamic disks. Other dynamic disk limitations include lack of support for removable storage devices (i.e., IEEE 1394 FireWire and USB-attached disks) and an irritation when using Windows Cluster Service (as I discuss later).
Dynamic disks introduce the concept of disk groups. VERITAS Software has performed a lot of storage-management work for Microsoft, and VERITAS's Logical Disk Manager (LDM) Pro for Windows heavily uses disk groups. Disk groups (collections of disks organized as entities) help administrators prevent data loss by organizing dynamic disks. All dynamic disks within a disk group store configuration data for the entire group (this data is stored in a 1MB region at the end of each dynamic disk). All configuration information for simple, spanned, mirrored, striped, or RAID 5 volumes within a disk group is stored on each disk in the group. This "database" of configuration information is replicated and kept up-to-date across all dynamic disks in the group. If you lose a dynamic disk or you move the disk group to another system, the OS maintains the configuration information for the disk group. Win2K systems allow only one disk group (Disk Group 0DG0) per computer (unless you use LDM Pro). Microsoft will probably extend this disk-group functionality in future Windows releases.
Selecting a Storage Type
As a Windows administrator, you might think this information is too confusing and find it difficult to decide whether to use basic or dynamic disks. The following information might help.
First, if you're struggling with what to do about disk fault tolerance and you want to use mirrored (RAID 1) or RAID 5 volumes on a dynamic disk, stop. You don't have to sweat this decision. You should never use the OS (whether or not it's Windows) or software to provide disk fault tolerance, which is much better suited to the capabilities of hardware-storage subsystems. Vendors of these products (e.g., EMC, Hewlett-PackardHPIBM) spend a huge amount of R&D dollars figuring out ways to make disk fault tolerance better, faster, and more robust. In contrast, in Windows, disk fault tolerance consists of a simple check box option that Microsoft developed with a minimal investment of time and money. Why ask your OS to manage disk-fault-tolerance overhead? Those precious processor and memory resources the OS and software-based solutions use for that overhead could be better used by real applications. When it comes to disk fault tolerance, support your local hardware-storage vendor.
If Windows Cluster Service is on your radar screen, you don't have much of a choice between dynamic and basic disks. Because of the way Windows Cluster Service manages resources and handles failover, it can't accommodate dynamic disk layout types. Because Windows Cluster Service doesn't support dynamic disks, it doesn't even recognize them. Therefore, if you've configured dynamic disks, you won't be able to set up Windows Cluster Service unless you have at least one basic disk available as a shared cluster disk (i.e., available on a shared storage medium such as a Storage Area NetworkSANor SCSI bus). If you set up your cluster with basic disks, the option to upgrade cluster disks to dynamic disksby right-clicking the disk device in the Disk Administrator (in NT 4.0) or the Microsoft Management Console (MMC) Disk Management snap-in (in Win2K)isn't even available when Windows Cluster Service manages the basic disks. For Windows Cluster Service, the choice is clear: Basic disks are your best (and only) option.
From a Windows storage-administration perspective, dynamic-disk management offers more options and better flexibility. In Win2K and later, only dynamic disks let you span or add fault tolerance. Only dynamic disks let you make disk-configuration changes without rebooting the system (most of the time). Dynamic disks are the only option that supports disk groups; if you're using products such as LDM Pro, this fact might be a key consideration. Barring the use of clusters or backward-compatibility for other OSs or applications, dynamic disks are the best choice for Windows administrators.
If you deploy increasingly complex systems and applications, you must make the choice between basic and dynamic disk with a thorough understanding of the options and caveats associated with each. The worst thing you can do is decide that you want to change your Windows storage type after your server is already in production.
Reader Comments
Windows NT does not support dynamic disks.
The .NET server does not have multi diskgroup functionality, which they should have put into. I found that Veritas Cluster server supports dynamic disks as well as basic disks. Also their Volume Manager have multi diskgroup functions.
Yako -December 17, 2002
It's a bad idea to categorically recommed against using the OS to handle your fault tolerance.
A properly configured duplexed mirrored file system (multiple controllers, cables & disks) eliminates any single point of failure in the disk subsystem, this is a level of redundancy which is unavailable on all but the most expensive hardware RAID solutions.
For many, giving up a small portion of performance for a significant amount of fault tolerance is the best choice.
Robert Aitchison -January 08, 2003
From experience with Win2K... Lost 2 drives in a RAID5 attached to hardware RAID controller. The drive was a dynamic disk. MS PSS had tools to rebuild the corrupted MBR if the drive had been basic, but no go with dynamic. Since you can make a basic disk a dynamic anytime, but once you go dynamic you can't move back to basic, make sure there is a compelling reason. (And always have a hot spare :-)
Joe Gasper -May 28, 2003
Dynamic disks can in fact be used in a cluster environment by installing VERITAS Volume Manager. VxVM allows the creation of cluster disk groups containing dynamic disks, which are used to create a Volume Manager Disk Group resource (instead of a Physical Disk resource).
Kat MacMahon -May 28, 2003
Do you know if a dynamic disk configuration (instead of basic) with Hardware Raid (PERC Card, NAS PV755N DELL) can be the cause of file system instability and inconsistency? Many files were corrupted, and the chkdsk /f has not been able to recover all the data corrupted. So do you think we should have let basic disk configuration, or may be it's another reason?
Fernani Sofiane -December 14, 2003
Storage Admin: "Choosing Basic vs. Dynamic Disk Storage for Windows Servers" (December 2002, http://www.winnetmag.com, InstantDoc ID 27085) has several errors. The correct VERITAS Software product name is VERITAS Volume Manager for Windows, not LDM Pro. VERITAS Volume Manager is available for all the major OSs and is the worldwide market leader in storage virtualization with a 79.9 percent market share, according to Gartner. VERITAS Volume Manager's software RAID capabilities are a great choice for Windows Server customers and complement hardware RAID for additional availability and performance.
The most misleading statements in this article concern the use of dynamic disks with Microsoft Cluster Server (MSCS). Although it is true that the Logical Disk Manager included with the Windows 2000 OS doesn't support the use of dynamic disks with MSCS, the addition of VERITAS Volume Manager for Windows fully supports the use of dynamic disks with MSCS.
The Microsoft article "Dynamic Disk Configuration Unavailable for Server Cluster Disk Resources" (http://support.microsoft.com/?kbid=237853) clearly states that if customers want to use dynamic disks with MSCS, then the VERITAS Volume Manager for Windows add-on adds support for dynamic disks to a MSCS server cluster.
—Michael Jones
Senior Product Manager, Windows Foundations and Editions
VERITAS Software
Thank you for your feedback about the article. Although I do understand and respect your points, I didn't intend to provide details about third-party vendor products. The article was a look at the native capabilities of the Windows OS. My statements are accurate for a native Windows scenario.
—Jerry Cochran
Michael Jones -January 15, 2004
I'm having this error: with a Compaq CL380 cluster machine, not configured in cluster, only one node connected to the external CR3500 storage. The machine supports SCSI ULTRA 2, but the HDD installed are SCSI Ultra320. I installed the OS Win 2k Server on the node (2 18Gb HDDs in mirror) and SQL 2000 srv on the external storage (2 36GB HDDs in mirror). When I Restore a database in SQL 2000 srv, the OS is loosing the connection with the storage and after a few minutes, it blocks completly. I have to restart the node to regain connection with the external storage. I can't figure out what is the problem. P.S. the restore doesn't work with dynamic disk configured in the external storage, but it seems to work with basic disk configured in the external storage! ????!!!
Catalin Anghel -May 04, 2004
l;k;k:"k";
Anonymous User -November 10, 2004
The part of the article about no support for Dynamic Drive support for IEEE 1394 Fireware is incorrect. To enable support add a simple DWORD entry,
System Key: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dmadmin\Parameters]
Value Name: EnableDynamicConversionFor1394
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = enabled)
More info at: http://www.winguides.com/registry/display.php/1204/
Anonymous User -January 05, 2005
To Sum it up?
If I am reading all of this correctly and from other sites...if I set my 3 disc raid 5 to dynamic and since the volume info is kept on the system portion, am I SOL if the system drive gets corupt? That is to say...the info stored on the volume?
Anonymous User -January 20, 2005
This is very helpfully
Anonymous User -February 01, 2005
Excellent article, I am well versed with hardware mirroring, but this writing puts what MS did in very good perspective. Thx....
Anonymous User -February 21, 2005
Excellent article, I am well versed with hardware mirroring, but this writing puts what MS did in very good perspective. Thx....
Anonymous User -February 21, 2005
Excellent article, I am well versed with hardware mirroring, but this writing puts what MS did in very good perspective. Thx....
Anonymous User -February 21, 2005
Excellent article, I am well versed with hardware mirroring, but this writing puts what MS did in very good perspective. Thx....
Anonymous User -February 21, 2005
Excellent article, I am well versed with hardware mirroring, but this writing puts what MS did in very good perspective. Thx....
Anonymous User -February 21, 2005
To Sum it up? If I am reading all of this correctly and from other sites...if I set my 3 disc raid 5 to dynamic and since the volume info is kept on the system portion, am I SOL if the system drive gets corupt? That is to say...the info stored on the volume? Not true. It keeps the database on the disks themselves. I have a hardware raid 5 array that is dynamic and it's been pulled from server to server in our R&D lab many times and all you have to do is select import disk to access the data on any computer running a supported OS.
Anonymous User -March 19, 2005
I have been testing the use of hardware snapshot technology (EMC SnapView for CLARiiON in this instance) and have found Windows dynamic disk to be very problematic. The snapshot technology works fine - however, if one intends to import snapshots (or clones) into a secondary host to create test servers or to offload backup processing from a primary host, then lots of luck! The issue seems to be that Windows doesn't like moving dynamic disks from one server to another - which is what you effectively do when carting snaps or clones to another host. I can get a dynamic disk clone or snap into a secondary host - but it takes at least one, and sometimes multiple reboots of the second host to make this work. Not really practical for a production environment. My testing with basic disk works fine both in creating snaps and in importing them to secondary hosts. Also, for EMC Clariion storage, I can use metaluns at the array side and expand a BASIC disk endlessly and on the fly without host or application disruption to increase capacity using the 'diskpart' CLI tool from MS.. This works as well with dynamic disk and metaluns. As was stated in the original article - allow the hardware vendor to handle the RAID. If you do this, then what is the point of dynamic disk?
sssswg -April 05, 2005
For Basic Disks and Dynamic Disks, they have their own differences and similarity. Here is a complete article to compare them through several aspects on: http://www.dynamic-disk.com/difference-between-basic-and-dynamic-disk.html
Free CDs Offer Fundamental Content for IT Pros Are you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content.
Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts.
Get Windows IT Pro & Mark Minasi’s Favorite Power Tools Guide Order Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price!
Deep Dive into VMware vSphere, eLearning Series Join John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.