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?

Question:

Leo, first, thanks for all I’ve learned from your newsletter and your books. A couple of weeks ago I bought Saved! Backing Up With Macrium Reflect and began learning how to use Macrium Reflect. I registered the book and downloaded the pdf version. A few days ago, I downloaded and installed on my Windows 7 laptop the trial version, version 5.2. Now that I’ve succeeded in creating the rescue CD and booting from it and creating several daily scheduled full backups on a 1 TB external drive, I decided to purchase it.

But when I went to the website to buy a personal version for home use, I found that there are two options. A standard version 5 or a professional version 5. The web page explains that the professional license offers the features of the standard license plus “Dynamic disk support” and “Restore images to new hardware using Macrium ReDeploy”. I think I understand why Macrium Redeploy might be very helpful sometime in the future but dynamic disk support begs a few questions. What is a dynamic disk? Does my Windows 7 laptop have a dynamic disk? What is dynamic disk support? Does a home user, like me, need dynamic disk support for a Windows 7 laptop?

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 your 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!

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.

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

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

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.

Partition A & B

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 this kind of thing.

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

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.

More types of dynamic disks

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

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 kind of 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 actually faster to read and to write the data to and from that combination of drives:

Striped

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

Mirrored volumes, on the other hand are exactly the opposite. 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 Drives

And 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

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.

Do this

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

I'll see you there!

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.