Managing & Main Tan Ing A Server 2003 Environment
Managing & Main Tan Ing A Server 2003 Environment
Managing & Main Tan Ing A Server 2003 Environment
Objectives
Understand concepts related to disk management Manage partitions and volumes on a Windows Server 2003 system Understand the purpose of mounted drives and how to implement them Understand the fault tolerant disk strategies natively supported in Windows Server 2003
Objectives (continued)
Determine disk and volume status information and import foreign disks Maintain disks on a Windows Server 2003 system using a variety of native utilities
Basic Disks
Maximum of four primary partitions or three primary and one extended partition on a disk Each primary partition:
Can use FAT, FAT32, or NTFS file system Has a drive letter
Boot partition
Operating system files reside on boot partition Can be located on a primary partition or logical drive
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 5
Primary Partitions
A basic drive must contain at least one and no more than four primary partitions One partition is the system (or active) partition
Contains files to start operating system Usually drive C on Windows Can also be used for traditional data storage
Stripe set
Two or more disks striped for RAID level 0 or 5
Dynamic Disks
Can set up a large number of volumes per disk
Volumes are similar to partitions but with additional capabilities
A spanned volume:
Space in 2 to 32 dynamic disks Treated as a single volume Allows you to maximize use of scattered space across several disks
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 10
Striped Volume
Referred to as RAID level 0 Implemented for performance enhancement, particularly for storage of large files Not fault tolerant Requires from 2 to 32 disks Data is written in 64 KB blocks across rows in the volume
11
12
13
14
15
16
Extending Volumes
Volume can be extended unless
Functioning as boot or system volume
Possible tools
Disk Management DISKPART command-line utility
17
Mounted Drives
Mounting a drive is an alternative to assigning it a drive letter A mounted drive is represented as a folder with a normal path To mount a drive:
Must be on an NTFS volume Must be an empty folder
Reasons:
26 drive letter limit Path access is convenient Backups
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 18
Hard disks do fail periodically Software RAID provides various levels of fault tolerance A combination of RAID and backup can minimize disruption and loss of data
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 19
RAID Levels
Redundant Array of Independent Disk strategies
Set of standards for: Lengthening disk life Preventing data loss Enabling uninterrupted access to data
RAID level 1
Disk mirroring (duplicating data from main disk to backup disk)
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 20
RAID level 3
Disk striping, error correction on 1 disk
RAID level 4
Disk striping, error correction across all disks, checksum on 1 disk
RAID level 5
Disk striping, error correction across all disks, checksum across all disks
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 21
No specific fault tolerance support Can be created using New Volume Wizard
23
25
RAID-5 Volume
Requires a minimum of 3 disks Provides good fault tolerance Parity information distributed across all drives Performance slower than with a striped volume (parity information must be computed and stored)
26
27
28
Windows Server 2003 provides the ability to import disks from other servers if necessary (foreign disks)
30
When first connected, the disk status will be foreign and it will not be accessible Use the Import Foreign Disks option on the disk If multiple disks are imported
Each disk is imported individually Default is that disk will use its original drive letter but an available letter is chosen if there is a conflict
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 32
33
Check Disk
Allows you to scan a disk for bad sectors and file system errors Disk cant be in use during scan Two start options:
Automatically fix file system errors Scan for and attempt recovery of bad sectors
CONVERT
CONVERT is a command-line utility Converts existing FAT and FAT32 partitions or volumes to NTFS Leaves existing data intact
35
Disk Cleanup
Allows an administrator to determine where disk space is being used and could potentially be freed Files that can be removed include:
Temporary internet files Downloaded program files Files in recycle bin Windows temporary files No longer used Windows components and programs
Disk Defragmenter
Free disk space eventually become fragmented as files are created and removed Results in slower access and higher disk wear Defragmentation attempts to place files in contiguous areas Defragmentation should be done periodically
37
DISKPART
Command-line utility for managing disks, volumes, partitions Uses include:
Configuring active partition, assigning drive letters, implementing fault tolerance schemes, etc.
Can manage disks from within scripts Get the complete syntax and options with DISKPART /?
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 38
FORMAT
Used to implement a file system on an existing partition Also used on MS-DOS and Windows 9X Has a variety of advanced settings
Setting allocation unit (cluster) size
Command-line version can be run from scripts Get the complete syntax and options with FORMAT /?
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment 39
FSUTIL
Used with FAT, FAT32, and NTFS file systems Includes many advanced features, requires experienced user Information available includes:
Listings of drives, volume information, NTFS-specific data
Tasks include:
Managing disk quotas, displaying free space
MOUNTVOL
Used to create, delete, or list volume mount points from command line VolumeName parameter is difficult to use
Complicates adding new mount point Doesnt affect removing mount points
41
Summary
Windows Server 2003 supports data storage types:
Basic disk Divided into 4 primary partitions or 3 primary and 1 extended partition with logical drives Dynamic disk Can be divided into a number of volumes on 1 disk A number of disks can be configured in 1 volume Support simple, spanned, striped, mirrored, RAID-5 volumes
Summary (continued)
Fault tolerance implemented through RAID strategies
Most highly recommended are: RAID level 1 (mirrored volumes) RAID level 5 (striped, distributed parity info)
Hardware RAID very effective but more costly A number of command-line tools and other utilities are available for disk management and cleanup
43
0 1 2 3 4 5
Striping Mirroring Hamming Code Parity Byte Level Parity Block Level Parity Interleave Parity
(#Drives/2)x Cap Drive 31.GB (#Drives-1)x Cap Drive 54GB (# Drives-1) x Cap Drive (# Drives-1) x Cap Drive (# Drives -1) x Cap Drive 54GB 54GB 54GB
44
Ability to recover from single disk Makes drive work but is not used failure
Warm Spare Drives Ability to recover from single disk Delay in recovering because the failure drive must be started Global Spare Drive Ability to recover from single disk Requires multiple ranks running failure on any rank on the RAID controller Failover (Active Passive) Failover (Active Active) Ability RAID controller as the single point of failure Other controller sits idle until needed
46
47
48