Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

What’s a Dynamic Disk?

Something you may have seen, but probably don’t have

Chances are that you have a basic disk, and don’t need the functionality offered by dynamic disk support. Even if that functionality actually is kind of cool.
A computer user interacting with disk management tools on a computer screen. The screen prominently displays disk management software, with a dynamic disk option highlighted with glowing effects to indicate advanced functionality.
(Image: DALL-E 3)
Question:

My backup software’s web page explains that thier professional license offers the features of the standard license plus “Dynamic disk support”. What is a dynamic disk? Does my Windows laptop have a dynamic disk? What is dynamic disk support? Does a home user, like me, need dynamic disk support?

It seems like a disk would be a really simple thing. You put some data on it, add a little organization around it to find that data and you’re done. Right?

Dynamic disks are a little more complex, but the good news here is that most folks really don’t need to worry about dynamic disks. But they are kind of interesting, and I’ll go into some detail on the different things they can do.

Become a Patron of Ask Leo! and go ad-free!

TL;DR:

Dynamic disks

Dynamic disks are different from basic disks in their ability to handle features like merging, spanning, and mirroring volumes across multiple physical drives. Most home users have basic disks and likely don’t need dynamic disk support unless they require advanced functionality.

What makes a dynamic disk different?

Basic disks are the disks you’re familiar with already. A basic disk pretty much matches the relatively simple idea that I described. The basic disk typically contains one or more partitions, each partition contains one or more volumes, and those volumes are formatted using one of several different types of file systems like FAT32 or NTFS.

While there are several layers to this scheme, the approach is actually pretty straightforward.

Dynamic disks differ in several different ways. For example, rather than having a partition table to determine where all those partitions physically are on a disk, they actually have a partition database. That database implies that you might be able to do a few more things with dynamic disks than you would with a basic disk.

Merging space

Consider this really common scenario. You have a basic disk with two partitions and some unused free space. It’s partition A next to partition B, followed by that free space.

Partitions A, B and free space
Partitions A, B and free space. (Image: askleo.com)

With a basic disk, if you want to use that free space to increase the size of partition A, you must first rearrange things so that the free space is actually next to partition A. That typically means moving partition B so that you end up with, instead, partition A next to that free space, followed by partition B:

Partition A, free space, B
Partition A, free space, B. (Image: askleo.com)

You could then merge the free space into partition A next to it so that partition A takes up the total. You’re left with a larger partition A followed by partition B, and that’s it.

Extended partition A and partition B.
Extended partition A and partition B. (Image: askleo.com)

There are several partition-management tools out there that can do exactly what I’ve just described, and in later versions of Windows, the disk management tool itself can usually do some of this kind of thing.

“Merging” space

Dynamic disks are slightly more flexible in terms of partitioning.

Rather than move anything, you can create a partition, of sorts, out of the free space and then simply say that partition A is made up of the area in front of partition B, and the area behind it. Your disk then looks like the first part of partition A, followed by partition B, followed by the second part of partition A:

Partition A split across partition B
Partition A split across partition B. (Image: askleo.com)

To your computer it looks like two partitions, pretty much as normal. But on the disk the partition is actually broken up and lives in two different places.

Now, the technical term for those parts of a partition is “extent”. And as we’ve seen, extents don’t have to live next to each other to be used to create a single volume. So, that partition A that we just talked about is made up of two extents: one before and one after partition B.

Spanned volumes

Extents don’t even have to live on the same physical drive. The simplest case is taking two hard drives, setting them up as dynamic disks and then creating a single partition that encompasses both disks. Your system now sees one partition. The fact that it’s physically implemented as two separate drives is hidden. This is what they call a spanned volume since it spans multiple, physical disks:

Spanned Disk
Spanned Disk. (Image: askleo.com)

The downside? You’ve doubled your risk of failure, as if either disk fails, the entire partition could be lost.

Striped volumes

Striped volumes are like spanned volumes except that instead of putting, say, the first part on one drive and the second part on another, the data is actually intermixed. Chunks of data alternate between one drive and the other. While this sounds confusing, there’s a very good reason for it. It turns out that when you distribute your data evenly across the drives like this, it’s faster to read and to write the data to and from the combination of drives:

Striped volume.
Striped volume. (Image: askleo.com)

(“sections” is actually arbitrary and undefined – exactly how data is divided up is an unspecified implementation detail.)

Once again, though, you’ve doubled your risk of failure, as if either disk fails, the entire partition could be lost. This is often referred to as “RAID-0”.

Mirrored volumes

Mirrored volumes are conceptually the opposite of striped. Two drives are used, but the amount of data represented is equivalent to one drive. Why? Well, when you write data to the drive, it’s written to both so that if one fails, its mirror can continue on without data loss. Again, two drives, but to the system it looks like a single partition:

Mirrored disks.
Mirrored disks.

This is often referred to as “RAID-1”. The downside is that it might be slightly slower, and of course it takes twice as many disks to get the storage you need.

RAID-5

RAID-5 is a little bit of everything so far. A RAID-5 setup can be implemented using dynamic disks. Three drives are used: two for data and one for error checking. As it turns out, when configured properly, any one of those three drives can fail without data loss:

RAID 5
RAID 5 (Image: askleo.com)

RAID implementations can get significantly more complex, but this touches the surface of what you can do with dynamic disks in Windows. In practice, most RAID implementations don’t rely on Windows at all, but rather dedicated hardware RAID controllers.

Do this

As I said earlier, chances are you have a basic disk. Particularly, if you have only one drive, you almost certainly have a basic disk, and chances are that you don’t need the functionality offered by dynamic disks… even if that functionality actually is kind of cool. Having “basic” disks is fine for all the hard drives in your system. If you have advanced needs, this is just a jumping off point, but at least you’ll understand what it is you’re looking at in disk management tools.

Basic and dynamic! Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

1 thought on “What’s a Dynamic Disk?”

  1. Thanks Leo for a very easily digested explanation of a subject that has been confusing me for some time.
    By accident I ended up with my data drive as dynamic and found that the free version of Macrium no longer “saw” the backups I had stored there so I had to revert to a basic configuration. After I did so everything was fine.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.