Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 2002

Choosing Basic vs. Dynamic Disk Storage for Windows Servers

Your decision has huge implications for your servers
RSS
Subscribe to Windows IT Pro | See More Windows NT 4.0 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

When you install a Windows OS (e.g., Windows .NET Server—Win.NET Server—2003, 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 Record—MBR—at 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 volumes—such as volume sets, stripe sets, mirror sets, and stripe sets with parity—created 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 systems—the 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 Edition­based 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 0—DG0) 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-Packard—HP—IBM) 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 Network—SAN—or SCSI bus). If you set up your cluster with basic disks, the option to upgrade cluster disks to dynamic disks—by 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.

End of Article



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.<P>

—Michael Jones
Senior Product Manager, Windows Foundations and Editions
VERITAS Software<P>


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.<BR>

—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


 See More Comments  1   2 

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

CES 2009: Ballmer Announces Windows 7, Windows Live, Live Search Milestones

During his first-ever Consumer Electronics Show (CES) 2009 keynote address last night in Las Vegas, Microsoft CEO Steve Ballmer announced the pending public availability of a feature-complete Windows 7, the final version of Windows Live Essentials, and ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Storage Whitepapers Email Archiving Implementation: Five Costly Mistakes to Avoid

Combining Deduplication and VMware Disaster Recovery: Cascading Savings Improves Cost Effectiveness

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing