DESKTOP

Windows Small Business Server 2011 : Managing Disk Storage (part 2) - Creating Volumes

9/18/2013 9:58:15 PM

3. Creating Volumes

Windows SBS 2011 supports five volume types, as described in Table 1. These volume types provide varying amounts of fault tolerance and performance enhancement. The volumes you created during the Windows SBS 2011 installation are simple volumes, and because the volumes contain the computer’s boot and system files, they must remain that way. However, you can use any unallocated space on the system disk, plus the space on your other disks, to create volumes of any type.

Table 1. Volume Types Supported by Windows SBS 2011

VOLUME TYPE

NUMBER OF DISKS REQUIRED

FAULT TOLERANCE

DESCRIPTION

Simple

1

None.

Consists of space from a single disk.

Spanned

2 to 32

None. The loss of one disk destroys the volume.

Consists of space from multiple dynamic disks, combined to create a single volume.

Striped

2 to 32

None. The loss of one disk destroys the volume.

Consists of space from multiple dynamic disks, combined to create a single volume. The system writes data one stripe at a time to each successive disk in the volume, increasing input/output (I/O) efficiency.

Mirrored

2

Yes. The volume survives the loss of one disk.

Consists of an identical amount of space on two disks. The system writes duplicate copies of all data to both of the disks, so that all the data remains available if one disk fails. The volume size therefore equals half of the total disk space.

RAID-5

3 or more

Yes. The volume survives the loss of one disk.

Consists of space on at least three disks. The system stripes data, along with parity information, across the disks. If one disk should fail, the system can reconstruct the missing data using the parity information on the other disks.

In addition to the volume types, Windows SBS 2011 supports two disk types: basic disks and dynamic disks. When you first initialize a disk, it appears as a basic disk. A basic disk can have up to four partitions: three primary partitions and one extended partition, with the extended partition hosting multiple logical drives. As long as you create only simple volumes on a disk, it remains a basic disk. The first three simple volumes you create on a basic disk are the primary partitions. When you create a fourth simple volume, the Disk Management snap-in creates an extended partition using all the remaining unallocated space on the disk, and a logical drive of the size you specified for the simple volume, as shown in Figure 2.

An extended partition and logical drive in the Disk Management snap-in.

Figure 2. An extended partition and logical drive in the Disk Management snap-in.

Tip

It is possible to create a fourth primary partition on a basic disk, but you cannot do it using the Disk Management snap-in. Instead, you must use the Diskpart.exe tool from the command prompt.

To create volumes other than simple volumes, you must convert the disks into dynamic disks. Technically, a dynamic disk has one partition that uses all its available space. You can then create multiple volumes within that single partition. When you use basic disks to create a spanned, striped, mirrored, or RAID-5 volume using the Disk Management snap-in, the tool converts the disks from basic to dynamic automatically. If you delete all the volumes on a dynamic disk (erasing the data on them), Disk Management automatically converts it back to a basic disk.

The Disk Management snap-in enables you to convert a basic disk into a dynamic disk manually, by right-clicking a disk and using the interface shown in Figure 3, although this usually is not necessary.

The Convert To Dynamic Disk dialog box.

Figure 3. The Convert To Dynamic Disk dialog box.

When you convert a basic disk with partitions on it to a dynamic disk, the snap-in converts each partition to a simple volume, as shown in Figure 4. There is a corresponding command to convert a dynamic disk back to a basic disk, but it only appears when there are no volumes on the dynamic disk. Therefore, the only way to convert a dynamic disk to a basic disk is to delete all its data.

Basic disk partitions become dynamic disk volumes.

Figure 4. Basic disk partitions become dynamic disk volumes.

Caution

The only drawback to using dynamic disks is that you cannot boot the computer from any volume on a dynamic disk other than the current boot volume. This prevents you from using a technique called dual-booting to run two operating systems on the same computer. This is not a serious problem for most users, as virtualization technology has rendered dual-booting obsolete in most cases.

Creating a Simple Volume

To create a simple volume with the Disk Management snap-in, perform the following procedure:

  1. Click Start. Then click Administrative Tools > Computer Management. The Computer Management Console appears.

  2. In the Scope (left) pane, select the Disk management node.

  3. In the graphical view, right-click the unallocated space on any of your disks; from the context menu, select New simple volume. The New Simple Volume Wizard appears.

  4. Click Next to bypass the Welcome page. The Specify Volume Size page appears.

    image with no caption
  5. In the Simple volume size in MB box, specify the size of the volume you want to create and click Next. The Assign Drive Letter Or Path page appears.

    image with no caption
  6. Select one of the following options and configure its properties:

    • Assign the following drive letter Enables you to select the available drive letter you want to use to access the volume.

    • Mount in the following empty NTFS folder Enables you to access the new volume from within a folder on another existing volume. This makes the new volume appear in the specified folder, as though it is part of the existing volume.

    • Do not assign a drive letter or drive path Enables you to create the new volume without any means of accessing it. You can assign a drive letter or mount the volume to a folder at a later time.

  7. Click Next. The Format Partition page appears.

    image with no caption
  8. To format the volume, leave the Format the volume with the following settings option selected and configure the following properties:

    • File system Specifies whether you want to format the volume using the NTFS, FAT, FAT32, or exFAT file system. NTFS provides many more features than any of the file allocation table (FAT) options, including access control, compression, and encryption. The only compelling reason to use FAT or FAT32 is if you must access the volume using an operating system that does not support NTFS. The exFAT file system is a new, 64-bit version designed for use on USB flash drives.

    • Allocation unit size Specifies the size of the individual clusters the system uses when allocating space on the volume. For a volume that stores a great many small files, a smaller value provides more efficient use of disk space; for a volume that stores extremely large files, a greater value provides better performance. For most applications, however, the default setting is preferable.

    • Volume label Specifies a name, up to 32 characters long, that the system uses to identify the volume.

    • Perform a quick format Selecting this check box causes the wizard to format the volume without checking for errors. Clearing the check box causes the wizard to check the disk for errors as it formats the volume and mark bad sectors as inaccessible. The time required for the error checking depends on the size of the drive. For large drives, it can be a lengthy process.

    • Enable file and folder compression Selecting this check box along with the NTFS file system causes the computer to store all the data it writes on the volume in a compressed form. This provides additional storage space on the disk, but also places an additional burden on the system processor, which is responsible for performing all of the real-time compressions and decompressions.

    Note

    You can turn compression on and off for a volume at any time, from the General tab on the volume’s Properties sheet.

  9. Click Next. The Completing The New Simple Volume Wizard page appears.

  10. Click Finish. The wizard closes, and the new volume appears in the unallocated space.

image with no caption

Depending on the computer’s hardware, the size of the volume, and the settings you selected, it might take several minutes for the formatting to finish.

Creating Other Volume Types

The Disk Management snap-in also includes wizards for creating spanned, striped, mirrored, and RAID-5 volumes. These wizards are identical to the New Simple Volume Wizard, except for the addition of a Select Disks page. This page enables you to select the disks you want to use to create the volume and specify the amount of space you want to use on each disk.

When the wizard finishes creating a volume, the allocated space on all of the disks involved changes color to reflect the properties of the new volume, as shown in Figure 5.

New spanned, striped, mirrored, and RAID-5 volumes in the Disk Management snap-in.

Figure 5. New spanned, striped, mirrored, and RAID-5 volumes in the Disk Management snap-in.

Creating Spanned Volumes

When creating a spanned disk, as shown in Figure 6, you must select at least 2 and no more than 32 disks, and you can specify any amount of space on each disk.

The Select Disks page in the New Spanned Volume Wizard.

Figure 6. The Select Disks page in the New Spanned Volume Wizard.

The disk you selected when creating the volume appears already in the Selected list, with all its available disk space allocated. You can modify the amount of space you want to devote to the drive as needed. The Available list contains all the other disks in the system with available space. After selecting one or more disks and clicking the Add button, you can modify the amount of space allocated from each additional disk as well. The Total volume size in megabytes (MB) indicator specifies the total amount of space on all the disks you selected.

Creating Striped Volumes

When creating a striped volume, as shown in Figure 7, you must select at least 2 and no more than 32 disks, and you must specify the same amount of space on each disk.

The Select Disks page in the New Striped Volume Wizard.

Figure 7. The Select Disks page in the New Striped Volume Wizard.

The process of selecting disks for a striped volume is essentially the same as that for a spanned volume, except that the amounts of space allocated on each disk automatically adjust themselves as needed. For example, if the disk you selected when creating the volume has 40,000 MB free, and you add a disk that has only 20,000 MB free, the wizard automatically adjusts the configuration to use 20,000 MB from both disks because all the selected disks must contribute the same amount of space. As with a spanned drive, the Total volume size in megabytes (MB) indicator specifies the combined allocated space in all the selected disks.

Caution

As mentioned earlier, it is critical to understand that spanned and striped volumes do not add fault tolerance, and are, in fact, less fault tolerant than the other volume types. The loss of one disk in a spanned or striped volume causes the entire volume to be lost, including the data on other undamaged disks.

Creating Mirrored Volumes

When creating a mirrored volume, as shown in Figure 8, you can select only two disks, and you must specify the same amount of space on each disk.

The Select Disks page in the New Mirrored Volume Wizard.

Figure 8. The Select Disks page in the New Mirrored Volume Wizard.

The Select Disks page in the New Mirrored Volume Wizard functions just as when you created a striped volume, except that you can select only two disks, and the Total volume size in megabytes (MB) indicator specifies the amount of space allocated on each disk, not the sum of both. A mirrored volume stores two copies of each file, thereby realizing a volume size that is half of the total allocated space.

Note

A mirrored disk array enables the computer to survive the failure of one disk with service interruption or data loss. Another variation on this technology is to create a mirrored array using two disks that are connected to different host adapters. This technique, called disk duplexing, enables the computer to survive the failure of a disk or a host adapter.

Creating RAID-5 Volumes

When creating a RAID-5 volume, as shown in Figure 9, you must select three or more disks, and you must specify the same amount of space on each disk.

The Select Disks page in the New RAID-5 Volume Wizard.

Figure 9. The Select Disks page in the New RAID-5 Volume Wizard.

The system provides fault tolerance by calculating a parity value for each bit in the array. A parity value is a sum of the corresponding bits on each disk in the array. Every bit has a binary value of 0 or 1, so the sum of all the bits in a particular location on the array must be 0 or 1. (This is why all the disks in the array must have the same amount of space.) If one of the disks in the array is lost, the system can use the parity information to recalculate the value of the missing bits.

For example, in a 4-disk array, the values of the first bit in each of the first 3 disks might be 0, 1, and 1, as shown in Figure 10.

Bit 1 values on a four-disk RAID-5 array (before parity).

Figure 10. Bit 1 values on a four-disk RAID-5 array (before parity).

Adding them together (in binary) gives you a parity value of 1, which the system writes to the first bit in the fourth disk, as shown in Figure 11.

Bit 1 values on a four-disk RAID-5 array (with parity).

Figure 11. Bit 1 values on a four-disk RAID-5 array (with parity).

If the second disk in the array fails, as shown in Figure 12, one of the four corresponding bits is lost.

Bit 1 values on a four-disk RAID-5 array, after disk failure.

Figure 12. Bit 1 values on a four-disk RAID-5 array, after disk failure.

When this occurs, the system can look at the values of the first bit in the remaining disks (0 and 1) and the value of the parity bit (1), and know that the value of the missing bit must be 1, as shown in Figure 13. (If the parity bit were 0, the missing bit would have to be 0.) When the malfunctioning drive is replaced, the system calculates the value of each missing bit and reconstructs the data on the new disk.

Bit 1 values on a 4-disk RAID-5 array, after disk reconstruction.

Figure 13. Bit 1 values on a 4-disk RAID-5 array, after disk reconstruction.

In this way, a RAID-5 array can yield a greater amount of available storage space than a mirrored array. On a RAID-5 volume, the size of the volume specified by the Total volume size in megabytes (MB) indicator is based on the size of the disks, multiplied by the number of disks in the array, minus 1. Thus, a RAID-5 array that consists of four 100 GB drives will have a volume size of 300 GB.

100 x (4 – 1) = 300

A RAID-5 volume can suffer the failure of any one disk without data loss. When a disk fails, overall performance of the array suffers, more so while the array is reconstructing the data on a newly installed disk.

The RAID-5 capability provided by Windows Server 2008 R2 is known as software-based RAID because the system processor is responsible for performing all of the bit parity calculations. Administrators who are serious about RAID data protection might want to consider a hardware-based RAID solution, instead. Hardware-based RAID uses a separate host adapter with its own processor to offload the bit parity calculations from the system processor. This provides greater efficiency without overburdening the computer’s main processor.

Other  
 
Top 10
Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
OPEL MERIVA : Making a grand entrance
FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
BMW 650i COUPE : Sexy retooling of BMW's 6-series
BMW 120d; M135i - Finely tuned
PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
Popular Tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS