Translate

Disk Management

Disk Management

Basic Disk Storage
Basic storage uses normal partition tables supported by MS-DOS, Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), Microsoft Windows NT, Microsoft Windows 2000, Windows Server 2003 and Windows XP. A disk initialized for basic storage is called a basic disk. A basic disk contains basic volumes, such as primary partitions, extended partitions, and logical drives. Additionally, basic volumes include multidisk volumes that are created by using Windows NT 4.0 or earlier, such as volume sets, stripe sets, mirror sets, and stripe sets with parity. Windows XP does not support these multidisk basic volumes. Any volume sets, stripe sets, mirror sets, or stripe sets with parity must be backed up and deleted or converted to dynamic disks before you install Windows XP Professional.

Dynamic Disk Storage
Dynamic storage is supported in Windows XP Professional, Windows 2000 and Windows Server 2003. A disk initialized for dynamic storage is called a dynamic disk. A dynamic disk contains dynamic volumes, such as simple volumes, spanned volumes, striped volumes, mirrored volumes, and RAID-5 volumes. With dynamic storage, you can perform disk and volume management without the need to restart Windows.
Note: Dynamic disks are not supported on portable computers or on Windows XP Home Edition-based computers.
You cannot create mirrored volumes or RAID-5 volumes on Windows XP Home Edition, Windows XP Professional, or Windows XP 64-Bit Edition-based computers. However, you can use a Windows XP Professional-based computer to create a mirrored or RAID-5 volume on remote computers that are running Windows 2000 Server, the Standard, Enterprise and Data Center versions of Windows Server 2003.
Storage types are separate from the file system type. A basic or dynamic disk can contain any combination of FAT16, FAT32, or NTFS partitions or volumes.
A disk system can contain any combination of storage types. However, all volumes on the same disk must use the same storage type.

 

 

Dynamic Storage Terms

A volume is a storage unit made from free space on one or more disks. It can be formatted with a file system and assigned a drive letter. Volumes on dynamic disks can have any of the following layouts: simple, spanned, mirrored, striped, or RAID-5.
A simple volume uses free space from a single disk. It can be a single region on a disk or consist of multiple, concatenated regions. A simple volume can be extended within the same disk or onto additional disks. If a simple volume is extended across multiple disks, it becomes a spanned volume.
A spanned volume is created from free disk space that is linked together from multiple disks. You can extend a spanned volume onto a maximum of 32 disks. A spanned volume cannot be mirrored and is not fault-tolerant.
A striped volume is a volume whose data is interleaved across two or more physical disks. The data on this type of volume is allocated alternately and evenly to each of the physical disks. A striped volume cannot be mirrored or extended and is not fault-tolerant. Striping is also known as RAID-0.
A mirrored volume is a fault-tolerant volume whose data is duplicated on two physical disks. All of the data on one volume is copied to another disk to provide data redundancy. If one of the disks fails, the data can still be accessed from the remaining disk. A mirrored volume cannot be extended. Mirroring is also known as RAID-1.
A RAID-5 volume is a fault-tolerant volume whose data is striped across an array of three or more disks. Parity (a calculated value that can be used to reconstruct data after a failure) is also striped across the disk array. If a physical disk fails, the portion of the RAID-5 volume that was on that failed disk can be re-created from the remaining data and the parity. A RAID-5 volume cannot be mirrored or extended.
The system volume contains the hardware-specific files that are needed to load Windows (for example, Ntldr, Boot.ini, and Ntdetect.com). The system volume can be, but does not have to be, the same as the boot volume.
The boot volume contains the Windows operating system files that are located in the %Systemroot% and %Systemroot%'System32 folders. The boot volume can be, but does not have to be, the same as the system volume.


Both Windows 8 and Windows 7 come with a handy disk management utility that allows you to create, resize and delete hard disk partitions on the fly, without having to boot into a special disk utility or purchase additional software. In this tutorial, I'll demonstrate how to use the Disk Management utility in order to manage your partitions. As you will be able to see from this tutorial, the tool is quite easy to use and you don't really need third party software.
How to Access Disk Management in Windows 7 & Windows 8
To access the Disk Management utility you will first have to open the Computer Management. To do so, follow the steps from How to Find Computer Management section found in this tutorial: Reasons Why Computer Management Is My Favorite Administrative Tool.
Once you've opened Disk Management, look on the left-hand side and select Disk Management in the Storage section.
In the Disk Management section, you'll see the right-hand side of the window populate with your disk information, showing you the name, size, and type of each partition for the disks on your system.
Please keep in mind that the Disk Management utility can only manage file systems compatible with Windows operating systems, such as FAT16/FAT32 and NTFS. While it can see other types of partitions, such as ones created and formatted by Linux or other operating systems, it can only delete them. For more information on partition types, please see: Wikipedia's page on File Systems.
How to Delete a Disk Partition with Disk Mangement
In some cases you'll want to remove a partition from your hard drive, either to make space to extend an existing partition, or redo the partition, but with a different size or file system. To remove a partition, right-click or tap and hold the partition you're trying to remove and then click or tap "Delete Volume".
You'll be prompted to confirm your choice, to make you aware that if you remove the partition all data on it will be erased. Therefore, please make sure you've backed up any critical data on that partition prior to clicking or tapping Yes.
You'll now see the deleted partition showing as "Free space" or Unallocated in the Disk Management utility.

How to Create a Disk Partition with Disk Management
If you do have "free" space on your hard drives, you can use it to create new partitions. The actual logic behind using Primary, Extended, and Logical partitions is outside the scope of this tutorial. However, we recommend this very informative article, called What is a Partition.
You'll see unpartitioned space highlighted and labeled as Unallocated or "Free space".
To create a partition here, right-click or tap and hold the free space and select "New Simple Volume" to bring up the "New Simple Volume Wizard.". Click or tap Next.
The wizard will ask you for the size of the partition, which you can specify as you wish, using all or just part of the total available space.
Now you can choose to assign a drive letter, mount in an empty NTFS folder or even not assigning any drive letter or path for your new partition. Select the option of your choosing and click or tap Next.
You'll be asked for information on how the partition should be formatted. Keep in mind that if you wish to use this partition, it needs to be formatted. In most cases, you'll want to use NTFS. This is the default and preferred file system since Windows NT, providing increased performance, security and fault tolerance when compared to FAT16/FAT32. For more information, read this article: Why you should use NTFS.
If you don't want to format the partition, select "Do not format this volume" and click or tapNext. If you do want to format the partition, select the second option, using NTFS as the file system and keeping the allocation unit size (referred to in Linux as the "block size") set at the default value, which is 4Kb. You'll also want to label the volume, which is a required step if you plan on sharing this partition with other operating systems. The volume label will also show up next to the drive letter when viewing the partition in File Explorer or Windows Explorer. After you've completed this step, click or tap Next.
The wizard will now display a summary of the settings you chose for the new partition. Click or tap Finish to complete it.
Once this is done, you'll be back to the Disk Management utility and should see the new partition formatting. This process will generally take only a few seconds, but will depend on the size of the partition and the speed of your computer.
When it's all done, you'll see the new partition listed.

How to Format a Partition with Disk Management
You can format a partition that is already created, keeping in mind that doing so will remove all data on the partition. In this example, I re-created the "G:" partition but didn't select the option to have it formatted. Right-click or tap and hold the partition and select Format. Set the label and file system type, keeping the allocation unit size at the default (4 Kb). As mentioned earlier, the volume label will show up next to the drive letter when viewing the partition in File Exploreror Windows Explorer, and is required if you're planning on sharing this partition with other operating systems.
Click or tap OK, and confirm the warning about data being erased.
The partition will begin formatting. This process will generally take only a few seconds, but will depend on the size of the partition and the speed of your computer.

How to Resize a Partition - Extending & Shrinking
You can shrink or expand NTFS and FAT16/FAT32 partitions, as long as there is free (unpartitioned) space immediately before or after the partition you're trying to modify. Expanding a partition does not require formatting. To do this, right-click or tap and hold the partition and select "Extend Volume". This will open the "Extend Volume Wizard". In this example, I want to expand the size of my Stuff partition.
Click next, and the wizard will show you how much space is available for adding to the current partition. In this example, there is about 135GB of space next to the partition, but I only want to use 50GB of this to make the total size of the partition about 100GB.
Click or tap Next to see a brief summary of the change and then click or tap again Finish to apply them.
You'll be brought back to the Disk Management utility, where you'll see that the size of the Stuffpartition is now about 100GB.
In many cases, you can also shrink a partition. On partitions that store Windows operating systems, there may be certain files on the disk that can prevent you from shrinking a volume. This problem has existed since Windows Vista, and may require that you take certain steps to prepare the partition to be shrunk. If you're working with a Windows partition (one that actually contains the files of the operating system), please see this guide for information on how to prepare the partition, which applies both to Windows 7 and 8: Working Around Windows Shrink Volume Inadequacy Problems.
Right-click or tap and hold the partition and select "Shrink volume". The below box may come up for several minutes while Windows examines the hard drive to determine whether the volume can be shrunk, and how much disk space can be shaved off.
Once this is complete, the wizard will ask how much space you want to take off the partition. In this example, I'm removing 20GB off the100GB partition so it ends up at about 80GB.
Click Shrink, and you'll be brought back to the Disk Management utility where you will see that your partition is now smaller, and the extra space has been made available.

Changing a Drive Letter and Label with Disk Management
In this example, there is a partition "E:" and labeled as Stuff. I want to change the drive letter to"X:" instead and name it Test. To change the drive letter associated with the partition, right-click or tap and hold the partition and click "Change Drive Letter and Paths".
A new window will pop up, listing the drive letter of the partition you are trying to change.
Click or tap Change. In the next window, select the new drive letter you wish to represent the partition and click or tap OK.
You may be prompted to acknowledge the change you are about to make. If you wish to proceed, click or tap Yes.
You'll now see the partition listed in the Disk Management utility with a different drive letter.
Now, to change the label of the partition, simply right-click or tap and hold the partition and select Properties. In the General tab, type in the new label name next to the disk icon.
Click or tap OK, and the partition's label will be changed.

 

Troubleshooting:


Disk Management displays status descriptions in graphical view and under the Status column of list view to inform you of the current status of the disk or volume. Use these status descriptions to help you detect and troubleshoot disk and volume failures. The following is a partial list of disk and volume status descriptions:
  • Online
    This is the normal disk status when the disk is accessible and functioning correctly.
  • Healthy
    This is the normal volume status when the volume is accessible and functioning correctly.
  • Unreadable
    The disk is inaccessible because of possible hardware failure, corruption, or I/O errors.

    To troubleshoot this issue, restart the computer or rescan the disk to try and return the disk to Online status. To rescan the disk, open Computer Management, and then click Disk Management. On the Action menu, click Rescan Disks.
For a complete list of disk and volume status descriptions and troubleshooting procedures, see Disk Management Help. In the Disk Management snap-in or Computer Management window, click Help on the Action menu.
Conclusion:
The Disk Management utility in Windows 8 and Windows 7 makes it easy to manage the partitions on your hard disks, which is useful for sharing partitions with other operating systems, or separating data for backup and recovery purposes. 


No comments:

Post a Comment