Windows dynamic disk volumes: configuration operations for simple volumes, cross-zone volumes, with-zone volumes, image volumes, and RAID 5 volumes
Windows Server 2003 provides a new disk management method to improve disk performance and fault tolerance. By upgrading a basic disk to a dynamic disk, you can allocate and manage disk space more flexibly and configure various disk arrays to improve disk capacity.
Comparison between dynamic disks and basic disks:
A basic disk can only contain four partitions. They are a maximum of three primary partitions and an extended partition. The extended partition can contain several logical disks. Dynamic disks do not have a limit on the number of volumes. As long as the disk space permits, you can create any volumes in a dynamic disk.
In a basic disk, partitions cannot span across disks. A partition is a logical disk. Dynamic disks can expand the free disk space of several disks to the same volume to increase the capacity of large volumes.
The basic disk has no fault tolerance function. If the disk is damaged, data may not be restored. Dynamic disks provide disk Fault Tolerance capabilities to prevent data loss caused by damage to a single partition.
Basic disk read/write is relatively stable and small. Dynamic disks provide zone-based volumes to improve disk read/write performance.
Dynamic disks can be used to create five types of volumes: simple volumes, cross-zone volumes, with-zone volumes, image volumes, and RAID 5 volumes.
Simple volume: A simple volume is composed of space on a single Dynamic Disk. If there is sufficient available space on the disk, create a simple volume. You can expand a simple volume by adding space from the same disk or another disk.
Cross-zone volume: A Cross-zone volume is composed of disk space on more than one dynamic disk. If the required volume is too large for a simple disk, you can create a cross-zone volume. You can expand cross-zone volumes by adding available space from another disk and loving you.
Strip volume: (RAID-0) strip volume on two or more disks to store data in a zone. The speed for obtaining data in a zone is faster than that of a simple volume or a cross-zone volume.
Image volume: (RAID-1) the image volume copies your data on two dynamic disks. To prevent data loss, you can create an image volume to save multiple copies of all information.
RAID5 volume: the RAID-5 volume is partitioned into three or more dynamic disks to store data. If part of the data is lost, RAID-5 provides a data recovery method.
The following is a test comprehension in the virtual machine:
First, add three disks to the VM:
Open disk management and convert the three new disks to dynamic disks:
Right-click a Dynamic Disk and create a volume. You can create five types of volumes. The wizard is different except for the following two figures.
Simple volume:
As you can see, a zone-based volume can only be used on one disk, and other cross-zone disks cannot be added. However, you can select the size of the allocated space (2 GB for the current test ). There is still unpartitioned space on the disk. You can add it as an extended volume to a partitioned logical volume (disk D) or create a new volume. Delete any simple volume of the same partition combination. The entire volume is deleted.
If the added extended volume is not in the same partition, after adding other partitions, the simple volume will become a cross-zone volume. (You can also add an image to a simple volume. After adding an image, it will become an image volume. If you delete an image, it will be changed back to a simple volume)
Cross-zone volume:
A partitioned volume can span multiple partitions or specify the size of each partition. The available capacity of a logical disk is the total size of each partition's cross-zone volume (6.97 GB ). A cross-zone volume is a volume (up to 32) that contains space on multiple magnetic disks ), the order in which data information is stored in a cross-zone volume is to store the first disk and then gradually store it in the back disk.
The simulated partition is damaged or detached.Disk 2Remove. In this case, the entire logical partition (disk D) is affected and the entire related partition is unavailable. If any partition volume is deleted, the entire logical volume is deleted. Cross-zone volumes cannot improve high performance or fault tolerance.
With area volume:
The size of each partition of a partition volume is the same. The available capacity of a logical disk is the total size of the partition volume (6 GB). If you delete a partition with a partition volume, the entire zone will be deleted. If one of the partitions is damaged, the result is similar to that of the preceding cross-zone volume. When writing data to a tape volume, the data is divided into 64 KB data blocks, and different data blocks are written to each disk in the array at the same time. This process significantly improves disk efficiency and performance. However, zone-based volumes do not provide fault tolerance.
Image volume:
As long as there are only two hard disks in a zone volume, each partition of the mirror volume has the same size. The available capacity of the Logical Disk is only the size of one mirror, and the other mirror volume is a copy, the maximum disk usage is 50%. The mirror volume improves read performance because the driver simultaneously reads data from two disk members. Of course, because data is also written to two members at the same time, its write performance will be slightly reduced.
Two volumes of mutual images can interrupt the image volume and delete the image
An image volume is interrupted and will become two identical simple volumes.
When you delete an image, the selected image volume is deleted, and the image volume that is not deleted is changed to a simple volume.
When a disk is damaged or lost, the Logical Disk (disk D) can still be accessed. Right-click the lost image disk to delete the image.
Image volumes provide fault tolerance, but do not provide performance optimization.
RAID-5 volume:
RAID-5 requires at least three hard disks, up to 32 disks, and RAID 5 volumes share the same space in each partition.
Delete one hard disk:
The Current Logical Disk (d disk) can still be fully stored with data and can be operated, but how can I remove or repair a damaged disk?
Divide the virtual machine into another hard disk. Right-click the RAID-5 partition and select repair volume ".
Select available partitions:
Wait for the data to be re-synchronized. The Logical Disk is still operational ., After that, delete the original lost disk.
A RAID5 volume is a partition volume that contains a parity value. Each disk has a parity value. When any disk in the array fails, the information in other disks can be computed and the data in the failed disk can be restored. RAID 5 can be understood as a compromise between RAID 0 and RAID 1. RAID 5 can provide data security for the system, but it is more secure than Mirror, and the disk space utilization is higher than Mirror. RAID 5 has a Data Reading Speed similar to RAID 0, but has an additional parity information. The data writing speed is slightly slower than that of a single disk. At the same time, because multiple pieces of data correspond to one parity information, the disk space utilization of RAID 5 is higher than that of RAID 1, and the storage cost is relatively low. Therefore, RAID 5 is a widely used solution.