| < Day Day Up > |
Windows Server 2003 and Windows XP support two types of disk configurations:
BasicThe standard disk type used in previous versions of Windows. Basic disks are partitioned and can be used with current and previous versions of Windows.
DynamicAn enhanced disk type that can be updated without having to restart the system (in most cases). Dynamic disks are apportioned into one or more volumes and can be configured with software RAID.
| Note |
You can’t use dynamic disks on portable computers or with removable media. Dynamic disks are only supported on Windows 2000, Windows XP, and Windows Server 2003. |
When you upgrade to Windows XP or Windows Server 2003, disks with partitions are initialized as basic disks. When you install Windows XP or Windows Server 2003 on a new system with unpartitioned drives, you have the option of initializing the drives as either basic or dynamic.
Basic drives support all the fault-tolerant features found in Microsoft Windows NT 4; however, you can’t create fault-tolerant drive sets using the basic disk type. Because of this, if you want to set up software RAID, you must convert to dynamic disks and then create volumes that use mirroring or striping. The fault-tolerant features and the ability to modify disks without having to restart the computer are the key capabilities that distinguish basic disks from dynamic disks.
Although you can use both basic and dynamic disks on the same computer, disk configuration tasks that you can perform with basic and dynamic disks are different. With basic disks, you work with partitions. This means you can
Format partitions and mark them as active
Create and delete primary and extended partitions
Create and delete logical drives within extended partitions
Convert from a basic disk to a dynamic disk
With dynamic disks, you work with volumes. This means you can
Create standard and fault-tolerant volumes
Remove a mirror from a mirrored volume
Extend simple or spanned volumes
Repair mirrored or RAID-5 volumes
Reactivate a missing or offline disk
Revert to a basic disk from a dynamic disk (which requires deleting all existing volumes prior to doing so)
With either disk type, you can
View properties of disks, partitions, and volumes
Make drive letter assignments
Configure security and drive sharing
Whether you’re working with basic or dynamic disks, you need to keep in mind three special types of drive sections:
System The system partition or volume contains the hardware-specific files needed to load the operating system.
Boot The boot partition or volume contains the operating system and its support files. The system and boot partition or volume can be the same.
Active The active partition or volume is the drive section from which the computer starts.
| Note |
You can’t mark an existing dynamic volume as the active volume, but you can convert a basic disk containing the active partition to a dynamic disk. Once the update is complete, the partition becomes a simple volume that’s active. |
On an x86-based computer with the MBR partition style, you can mark a partition as active, which means the partition is the drive section from which the computer starts. You can’t mark dynamic disk volumes as active. When you convert a basic disk containing the active partition to a dynamic disk, this partition becomes a simple volume that’s active automatically.
| Note |
Before you mark a partition as active, make sure that the necessary startup files are on the primary partition that you want to make the active partition. For Windows Server 2003, these files are Boot.ini, Ntdetect.com, Ntldr, and Bootsect.dos. You might also need Ntbootdd.sys. |
Follow these steps to designate the active partition:
Invoke DiskPart by typing diskpart at the command prompt.
Select the disk that contains the partition you want to make active, such as
List the partitions on the disk by typing list partition at the command prompt.
Select the partition you want to work with, such as
DISKPART> select partition 0
Make the selected partition the active partition by typing active at the command prompt.
| Caution |
The disk and partition numbers used in the steps are arbitrary and meant only to demonstrate the procedure. Make sure you’ve selected the right disk and partition in steps 2 and 4. If you incorrectly mark a partition as active and it does not contain the operating system startup files, your computer might not start. |
Windows XP and Windows Server 2003 support both basic and dynamic disk types. At times, you’ll need to convert one disk type to the other and Windows provides the tools you’ll need to do this. When you convert a basic disk to a dynamic disk, partitions are changed to volumes of the appropriate type automatically. You can’t change these volumes back to partitions on a basic disk, however. Instead, you must delete the volumes on the dynamic disk and then change the disk back to a basic disk. Deleting the volumes destroys all the information on the disk.
Converting a basic disk to a dynamic disk is a straightforward process, but there are lots of stipulations. To start with, consider the following:
Only computers running Windows 2000, Windows XP, or Windows Server 2003 can use dynamic disks. Thus, if the disk you are converting contains earlier versions of the Windows operating system, you won’t be able to boot the computer to those versions of Windows after the conversion.
With MBR disks, you should ensure that the disk has 1 MB of free space at the end of the disk. Without the free space at the end of the disk, the conversion will fail. Both Disk Management and DiskPart reserve this space automatically; it is primarily when you use third-party disk-management utilities that you need to be concerned about whether this space is available.
With GPT disks, you must have contiguous, recognized data partitions. If the GPT disk contains partitions that Windows doesn’t recognize, such as those created by another operating system, you won’t be able to convert to a dynamic disk.
In addition, with either type of disk, the following is true:
You can’t convert drives that use sector sizes larger than 512 bytes. If the drive has large sector sizes, you’ll need to reformat before converting.
You can’t use dynamic disks on portable computers or with removable media. You can only configure these drives as basic drives with primary partitions.
You can’t convert a disk if the system or boot partition is part of a spanned, striped, mirrored, or RAID-5 volume. You’ll need to stop the spanning, mirroring, or striping before you convert.
You can, however, convert disks with other types of partitions that are part of spanned, striped, mirrored, or RAID-5 volumes. These volumes become dynamic volumes of the same type and you must convert all drives in the set together.
You can convert a basic disk to a dynamic disk by completing the following steps:
Invoke DiskPart by typing diskpart at the command prompt.
Select the disk that you want to convert to a dynamic disk, such as
DISKPART> select disk 0
Convert the disk by typing convert dynamic at the command prompt.
Once you convert a basic disk to a dynamic disk, the only way to revert to a basic disk is to remove all the volumes on the disk. This ensures the disk is empty and that all data it contains is removed. DiskPart does provide a command for wiping out all the volume or partition information on a disk. The command is CLEAN. When you give a disk focus and then type the CLEAN command, all partition or volume information on the disk is removed.
On MBR disks, this means that the MBR partition and hidden sector information are overwritten. On GPT disks, the GPT partition information, including the protected MBR, is overwritten. You can also use CLEAN ALL to specify that every sector on the disk should be set to zero, which completely deletes all data contained on the disk.
You can convert an empty dynamic disk to a basic disk by following these steps:
Invoke DiskPart by typing diskpart at the command prompt.
Select the disk that you want to convert to a basic disk, such as
DISKPART> select disk 0
Convert the disk by typing convert basic at the command prompt.
This changes the dynamic disk to a basic disk and you can then create new partitions and logical drives on the disk.
| < Day Day Up > |