Working with Basic Disks


Unless you convert it after the initial installation of Windows Server 2003, the physical disk that the operating system is installed on will be configured as a basic disk with a single partition. If you choose to leave this disk configured as a basic disk, you need to understand how to work with basic disks. This section discusses how to perform the following tasks:

  • Create primary partitions on a basic disk.

  • Create extended partitions on a basic disk.

  • Create logical drives in an extended partition on a basic disk.

  • Delete partitions on a basic disk.

  • Format a partition.

  • Change the drive letter of a partition.

  • Set a partition to active.

Creating a Primary Partition on a Basic Disk

As discussed earlier in this chapter, when Windows Server 2003 is initially installed on a new machine, it is installed on a basic disk in a primary partition. Usually, after the initial installation of the operating system, unallocated free space is still available on the disk. This space can be used to create additional drives.

On a basic disk, you can have either four primary partitions or three primary partitions and an extended partition. Step by Step 12.4 walks you through creating a primary partition on a basic disk.

Step by Step

12.4 Creating a primary partition

1.

From the Start menu, select All Programs, Administrative Tools, Computer Management.

2.

In the left pane of the Computer Management MMC, left-click the Storage entry and then select the Disk Management entry. This starts the Disk Management snap-in.

3.

In the lower-right pane of the Computer Management MMC, right-click the unallocated space on the drive that you want to add a primary partition to (see Figure 12.10).

Figure 12.10. The Disk Manager snap-in, showing how to start the New Partition Wizard.


4.

From the pop-up menu, select New Partition. This starts the New Partition Wizard. Click Next to continue.

5.

The next screen (shown in Figure 12.11) prompts you to select the type of partition to create. Select the Primary Partition option button and then click Next to continue.

Figure 12.11. The New Partition Wizard, showing how to select the partition type. Notice that the logical drive selection is available only when an extended partition is selected.


6.

The next screen prompts you to select the size of the new partition. The size can be anything from 8MB up to the size of the available free space. Enter the desired size and then click Next to continue.

7.

The next screen allows you to select the drive letter or NTFS folder to assign the new partition to. You also have the option to not assign it, opting instead to come back and do it later. Most of the time you will assign a drive letter. Click Next to continue.

8.

The Format Partition screen of the New Partition Wizard allows you to specify whether you want to format the partition and what file system and cluster size to use. There is also a selection to configure the new partition for file and folder compression. Normally, most partitions in Windows Server 2003 are formatted as NTFS with the default cluster size and no compression, as shown in Figure 12.12. The different file system formats are covered later in this chapter. Click Next to continue.

Figure 12.12. The Format Partition screen allows you to select from NTFS, FAT, and FAT32 formats.


9.

Look over the settings on the Completing the New Partition Wizard screen. Confirm that the selected settings are correct. If you need to make any changes, click the Back button. If everything is correct, click Finish.

Creating an Extended Partition on a Basic Disk

If you need to create more than four partitions on a basic disk, you must create an extended partition so that you can create logical drives inside it. Step by Step 12.5 walks you through creating an extended partition on a basic disk.

Step by Step

12.5 Creating an extended partition

1.

From the Start menu, select All Programs, Administrative Tools, Computer Management.

2.

Left-click the Storage entry and then select the Disk Management entry. This starts the Disk Management snap-in.

3.

In the lower-right pane of the Computer Management MMC, right-click the unallocated space on the drive to which you want to add an extended partition.

4.

From the pop-up menu, select New Partition. This starts the New Partition Wizard. Click Next to continue.

5.

The next screen prompts you to select the type of partition to create. Select the Extended Partition option button and then click Next to continue.

6.

The next screen prompts you to select the size of the new extended partition. The size can be anything from 8MB up to the size of the available free space. Typically, the extended partition is the last partition created on the disk, so you will accept the default, which is the maximum. Click Next to continue.

7.

Look over the settings on the Completing the New Partition Wizard screen. Confirm that the selected settings are correct. If you need to make any changes, click the Back button. If everything is correct, click Finish.

Creating a Logical Drive on a Basic Disk

By itself, an extended partition isn't worth much. However, within an extended partition, you can create a theoretically unlimited number of logical drives.

Step by Step 12.6 outlines how to create a logical drive.

Step by Step

12.6 Creating a logical drive

1.

From the Disk Management snap-in, right-click the extended partition entry on the drive to which you want to add a logical drive partition.

2.

From the pop-up menu, select New Logical Drive. This starts the New Partition Wizard. Click Next to continue.

3.

The next screen prompts you to select the type of partition to create. Notice that the Logical Drive selection is available only when an extended partition is selected. Select the Logical Drive option button and then click Next to continue.

4.

The next screen prompts you to select the size of the new partition. The size can be anything from 8MB up to the size of the available free space. Enter the desired size and then click Next to continue.

5.

The next screen allows you to select the drive letter or NTFS folder to assign the new partition to. You also have the option to not assign it, opting instead to come back and do it later. Most of the time you will assign a drive letter. Click Next to continue.

6.

The Format Partition screen of the New Partition Wizard allows you to specify whether you want to format the partition and what file system and cluster size to use. There is also a selection to configure the new partition for file and folder compression. Normally, most partitions in Windows Server 2003 are formatted as NTFS with the default cluster size and no compression. The different file system formats are covered later in this chapter. Click Next to continue.

7.

Look over the settings on the Completing the New Partition Wizard screen. Confirm that the selected settings are correct. If you need to make any changes, click the Back button. If everything is correct, click Finish.

Deleting a Partition

Deleting a partition or logical drive is far easier than creating one. However, it is important to remember that when a partition or logical drive is deleted, the data that was on that drive or partition is gone. It cannot be recovered by any utility that is included with Windows Server 2003. Before deleting a partition or logical drive, always make sure you have a current backup!

Note: Delete In the Proper Order

You cannot delete an extended partition until all the logical drives inside it have been deleted.


Step by Step 12.7 show you how to delete a partition or logical drive.

Step by Step

12.7 Deleting a partition or logical drive

1.

From the Disk Management snap-in, right-click the partition or logical drive that you want to delete and select Delete Partition or Delete Logical Drive from the shortcut menu.

2.

Acknowledge the warning dialog box notifying you that all data will be lost by clicking Yes.

Windows Server 2003 is self-preserving in that it does not allow you to delete the system or boot partitions from within the Disk Management GUI.

File Systems and Formatting a Partition

Before you can store data on a drive, it has to be formatted with a file system. Two main file systems are recognized by Windows Server 2003: File Allocation Table (FAT16 and FAT32) and the NT File System (NTFS). Although other file systems are in use in Windows Server 2003, such as the Universal Disk Format (UDF) and the CD-ROM File System (CDFS), they are read-only file systems and do not truly support detailed access controls. For this reason, this sectionand the Microsoft examfocuses on the capabilities and features of the FAT and NT file systems.

The File Allocation Table (FAT) File System

The FAT file system is recognized by Windows Server 2003 to provide legacy support for earlier Windows operating systems. Because FAT was originally designed to support disks that were much smaller than the devices in use today, it is not very efficient at handling large disks or files. Windows Server 2003 is able to read partitions formatted in two versions of FATthe 16-bit version (FAT16) supported by early versions of MS-DOS and the 32-bit version (FAT32) first introduced with Windows 95 OEM Service Release 2 (OSR2). The first version of the FAT file system, FAT12, used in the earliest versions of MS-DOS, is not supported in Windows Server 2003.

Because FAT predates Windows NT and Windows 2000/2003/XP, it does not include support for extensive security or enhanced partition features such as compression. From a practical perspective, the biggest difference between FAT16 and FAT32 is the maximum supported partition size. This is achieved by doubling the size of the File Allocation Table from 16 bits to 32 bits. For FAT16 partitions, the maximum size is 4GB, even though most operating systems limit FAT16 to 2GB partitions. In theory, FAT32 partitions support a maximum size of 2,047GB. However, there is a 32GB limitation on creating FAT32 partitions in Windows 2003.

The NT File System (NTFS)

Introduced with the first versions of Windows NT, the NT File System (NTFS) is designed to provide a high-performance, secure file system for Windows NT Servers. Windows Server 2003 includes the same version of NTFS included with Windows 2000.

Here are some of the benefits of NTFS over FAT:

  • Recoverability To ensure data is consistently written to the volume, NTFS uses transaction logging and advanced recovery techniques. In the event of a failure, NTFS uses checkpoint and data-logging information to automatically maintain the consistency of the data on the volume.

  • Compression NTFS supports selective file, folder, and volume compression, which is not available on FAT volumes.

  • Encrypting File System (EFS) EFS is similar to NTFS compression in that it allows the user to selectively encrypt files and folders as desired. After a file is encrypted, all file operations continue transparently for the user who performed the encryption. However, unauthorized users cannot access the files. EFS is covered in detail in Chapter 13, "Managing Data Storage."

  • Disk quotas NTFS volumes include the use of disk quotas to limit the amount of drive space a user can consume.

  • Mounted drives NTFS allows you to attach volumes or partitions to a folder on an existing drive. This allows you to increase the size of the existing drive, and it doesn't use any additional drive letters.

  • Permissions NTFS allows you to assign security at the file level.

The selectivity of the NTFS compression settings allows administrators the ability to pick and choose whether specific file system objects are compressed. Although data compression reduces the drive space required on the volume, it puts a greater burden on the system's resources. A small amount of processing overhead is involved in compressing and uncompressing files during system operation. Providing the option to selectively compress entire volumes, folders, or individual files ensures that the drive space is used as efficiently as possible, while still maintaining timely file services.

In an effort to provide the fastest file services available, NTFS uses smaller clusters and has been designed to require fewer disk reads to find a file on the volume. NTFS also supports significantly larger volumes than FATup to 16TB (terabytes) on a single volume.

Perhaps more importantly, individual files, folders, and volumes can be secured at the user and group level. This is significantly more secure than FAT, which is limited to three very basic permission settings (and then only when the volume is accessed via shared folders): Read, Change, and Full Control. Securing folders and, when possible, files is discussed in greater detail in Chapter 4.

Because NTFS offers such improvements over FAT, Microsoft (and just about anyone else you talk to) recommends that all Windows Server 2003 volumes be formatted with NTFS. However, there are some situations where this is not possible. For example, most multiple-boot configurations require a FAT file system on the boot partition. If you need to maintain a FAT volume on the server, it is important that you understand the security implications of the configuration.

Exam Alert: Mutually Exclusive

Remember that EFS and compression are mutually exclusive. Both EFS and compression are covered in Chapter 13.


Formatting the Partition or Logical Drive

After you decide which file system to use, you have to format your drives. During the initial installation of Windows Server 2003, the installation procedure formatted the installation drive for you. In addition, when manually creating a partition or logical drive, the wizard prompts you for the file type and then formats the drive for you.

If you need to manually format a partition or logical drive, follow the procedure provided in Step by Step 12.8.

Step by Step

12.8 Formatting a partition or logical drive

1.

From the Disk Management snap-in, right-click the partition or logical drive that you want to format. Then select Format from the shortcut menu.

2.

From the Format dialog box, as shown in Figure 12.13, enter the volume name, the file system desired, and the allocation unit size. You can adjust the cluster size to tune performance for a specific disk size. However, NTFS compression is not supported for cluster sizes larger than 4,096 bytes. It's usually best to accept the default cluster size unless you have a specific reason not to. You can also select to perform a Quick Format, which removes the files but does not scan for bad sectors. This option should be used only on a disk that has been previously formatted and has no bad sectors. There is also an option to enable file and folder compression on the drive. This causes every file and folder either copied or created on this drive to be compressed. Select the desired options and then click OK to continue.

Figure 12.13. Drive formatting options.


3.

Acknowledge the warning dialog box notifying you that all data will be lost by clicking Yes.

Remember, Windows Server 2003 is self-preserving in that it does not allow you to format the system or boot partitions from within the Disk Management GUI.

Changing the Drive Letter of a Partition

In Windows Server 2003, only the system and boot partitions are required to maintain specific drive letters. Any other drives can be assigned the letters CZ. Drive letters A and B are reserved for floppy drives; however, you can assign B to a network drive if you want. The only caveat is that if you have installed a program on a drive or if a program is looking for its data in a specific location, you might not be able to access it after you change the drive letter. This happens because many programs store their location in the Registry. When you change a drive letter, the program entries in the Registry aren't updated with the changes.

If you want to rearrange drive letters, it should be done immediately after the initial installation of Windows Server 2003 and before you install any programs.

Use the procedure outlined in Step by Step 12.9 to change drive letter assignments.

Step by Step

12.9 Changing a drive letter

1.

From the Disk Management snap-in, right-click the drive that you want to reconfigure and select Change Drive Letter and Paths from the shortcut menu.

2.

From the Change Drive Letter and Paths For dialog box, click the Change button.

3.

From the Change Drive Letter or Path dialog box, click the drop-down list and choose a new drive letter. Click OK to continue.

4.

When the warning prompt appears, click Yes to confirm the change.

Using Mounted Drives

A feature of NTFS is the capability of mounting a partition or volume as a folder on an existing drive. This is especially useful on data drives. For example, suppose that your user data drive is rapidly running out of free space. You could always go out and buy a larger drive and then move all the files over to the new drive. However, by using a mounted drive, you can mount the new drive as a folder on the existing drive, thereby adding additional space to the existing drive. This saves you from having to move the user files. The end users won't see any difference because they still access everything via the same drive letter or share. Additionally, you can create a volume from free space on an existing drive and then mount that volume as a folder.

Note: Mount Points

In some of the Windows Server 2003 documentation, you might see Mounted Drives referred to as Mount Points. This was the terminology used in previous versions of Windows. Same technology, just a different name.


An additional advantage of mounted drives is that they don't use a drive letter. As we mentioned earlier, there are only 24 letters available. You also are not limited to mounting other NTFS volumes. Other file systems can be mounted, such as a CD or DVD, or a FAT volume.

You can mount multiple drives to a volume and move them to different folders, if needed. For example, when a mounted volume is moved, deleted, or dismounted, the files and folders on the volume are not deleted. This allows you to move the drive to a different folder or to another computer.

Use the procedure outlined in Step by Step 12.10 to create a mounted drive.

Step by Step

12.10 Mounting a drive

1.

From the Disk Management snap-in, right-click the drive that you want to mount and select Change Drive Letter and Paths from the shortcut menu.

2.

From the Change Drive Letter and Paths For dialog box, select the Mount in the following empty NTFS folder option button.

3.

Either type in the folder that you want to mount the drive to or click the Browse button to locate it.

4.

Click OK when finished.

Exam Alert: Mounted Drives

A mounted drive can only be mounted to an empty folder. You will need to know this for the exam.


Marking a Partition As Active

When an Intel-based computer starts, it looks for the active partition to start the system. This can be either a primary partition on a basic disk or a simple volume on a dynamic disk. However, the simple volume must have previously been created and marked as the active partition before the disk was converted from basic to dynamic. Although the active partition can be changed on a basic disk, it cannot be changed on a dynamic disk. Follow the procedure outlined in Step by Step 12.11 to mark a primary partition as Active.

Step by Step

12.11 Marking a primary partition as Active

1.

From the Disk Management snap-in, right-click the partition that you want to mark as Active.

2.

Select Mark Partition as Active from the shortcut menu.

3.

When the warning prompt appears, click Yes to confirm the change. The results are shown in Figure 12.14.



Figure 12.14. Disk Management snap-in, showing the results of marking disk 1, partition 1 as Active.





MCSA. MCSE 70-290 Exam Prep. Managing and Maintaining a MicrosoftR Windows ServerT 2003 Environment
MCSA/MCSE 70-290 Exam Prep: Managing and Maintaining a Microsoft Windows Server 2003 Environment (2nd Edition)
ISBN: 0789736489
EAN: 2147483647
Year: 2006
Pages: 219
Authors: Lee Scales

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net