2.1 Given a scenario, install server operating systems.
📘CompTIA Server+ (SK0-005)
When installing a server operating system, one of the most important steps is configuring disk partitions and volumes correctly.
A server stores operating system files, applications, logs, databases, and user data. If disk partitions are not planned properly, the server may not boot, may run out of space, or may become difficult to manage.
For the Server+ (SK0-005) exam, you must understand:
- GPT vs MBR
- Basic disks vs Dynamic disks
- Logical Volume Management (LVM)
Let’s explain each clearly and completely.
1. Understanding Partitions and Volumes
What is a Partition?
A partition is a logical section of a physical disk.
A single hard drive or SSD can be divided into multiple partitions. Each partition can:
- Store a file system
- Contain an operating system
- Store application data
- Be used for swap or paging
- Be used for backups
When installing a server OS, you decide how to divide the disk.
What is a Volume?
A volume is a usable storage area created on a partition (or sometimes across multiple disks).
A volume:
- Has a file system (NTFS, ReFS, ext4, XFS, etc.)
- Has a drive letter (Windows) or mount point (Linux)
- Is used to store data
In simple terms:
Physical Disk → Partition → Volume → File System → Data
2. MBR vs GPT (Partition Table Types)
Before creating partitions, the system needs a partition table.
A partition table tells the system:
- How many partitions exist
- Where they start
- Where they end
- Which one is bootable
There are two main types:
- MBR (Master Boot Record)
- GPT (GUID Partition Table)
A. Master Boot Record (MBR)
MBR is the older partitioning system.
Key Characteristics:
- Supports disks up to 2 TB
- Maximum of 4 primary partitions
- Stores boot information in the first sector of the disk
- Used with Legacy BIOS
Partition Limitations:
MBR allows:
- 4 primary partitions
OR - 3 primary + 1 extended partition
The extended partition can contain multiple logical drives.
Problems with MBR:
- Limited to 2 TB disk size
- Limited partition count
- Single boot record (if corrupted, system may not boot)
- Less resilient
B. GUID Partition Table (GPT)
GPT is the modern partitioning system.
Key Characteristics:
- Supports disks larger than 2 TB
- Supports up to 128 partitions (Windows default)
- Uses multiple partition table copies (backup)
- Used with UEFI firmware
- More reliable and fault tolerant
GPT stores:
- Primary partition table
- Backup partition table at the end of the disk
- CRC checks for integrity
GPT vs MBR Comparison (Exam Focus)
| Feature | MBR | GPT |
|---|---|---|
| Maximum Disk Size | 2 TB | 9.4 ZB (very large) |
| Max Partitions | 4 primary | 128 (Windows default) |
| Firmware Support | BIOS | UEFI |
| Redundancy | No | Yes (backup table) |
| Reliability | Lower | Higher |
When to Use GPT vs MBR
In modern server installations:
- GPT is recommended
- Required for UEFI systems
- Required for disks larger than 2 TB
- Standard in modern Windows and Linux servers
MBR may still be used:
- On older hardware
- Legacy systems with BIOS
For the Server+ exam:
If you see large disks, UEFI, or modern server OS → choose GPT.
3. Basic Disk vs Dynamic Disk (Windows Concept)
In Windows Server environments, disks can be configured as:
- Basic disk
- Dynamic disk
A. Basic Disk
Default disk type in Windows.
Uses:
- MBR or GPT partition table
- Standard partitions
Supports:
- Primary partitions
- Extended partitions
- Logical drives
Simple and stable.
Best for:
- Most server installations
- OS installation
- Standard storage
B. Dynamic Disk
Dynamic disks provide advanced volume features.
Instead of traditional partitions, dynamic disks use:
- Dynamic volumes
These volumes allow advanced configurations across multiple disks.
Dynamic Disk Volume Types
1. Simple Volume
- Uses space from one disk
- Similar to primary partition
2. Spanned Volume
- Combines space from multiple disks
- Acts as one large volume
- No fault tolerance
If one disk fails → data lost.
3. Striped Volume (RAID 0)
- Data spread across multiple disks
- Improves performance
- No fault tolerance
If one disk fails → all data lost.
4. Mirrored Volume (RAID 1)
- Data copied to two disks
- Fault tolerant
- If one disk fails, system continues working
5. RAID-5 Volume
- Uses 3 or more disks
- Striping with parity
- Fault tolerant (one disk failure allowed)
When to Use Dynamic Disks
Used in:
- Older Windows Server versions
- When software RAID is needed
- When extending volumes across disks
However:
Modern systems often prefer:
- Hardware RAID
- Storage Spaces (newer Windows)
- SAN storage
For the exam:
Understand dynamic disk supports software RAID.
4. Logical Volume Management (LVM) – Linux Concept
In Linux environments, disk management is handled differently.
Instead of simple partitions, Linux commonly uses:
Logical Volume Management (LVM)
What is LVM?
LVM is a flexible storage management system.
It allows administrators to:
- Combine multiple disks
- Resize volumes
- Extend storage easily
- Create snapshots
- Manage storage dynamically
LVM is commonly used in Linux server distributions like:
- Red Hat Enterprise Linux
- Ubuntu Server
LVM Structure (Very Important for Exam)
LVM has three main layers:
1. Physical Volume (PV)
Actual disk or partition prepared for LVM.
Example:
- /dev/sda
- /dev/sdb1
2. Volume Group (VG)
Pool of storage created from one or more PVs.
Think of it as a storage container.
3. Logical Volume (LV)
Virtual partition created from the volume group.
Logical volumes:
- Act like normal partitions
- Can be resized
- Can be mounted
- Can host file systems
LVM Workflow
Physical Disk → PV → VG → LV → File System → Mount
Advantages of LVM
1. Resize Volumes Easily
You can increase size without reinstalling OS.
2. Add New Disks
Add new disk to volume group and expand storage.
3. Snapshots
Create snapshot of volume for backup purposes.
4. Flexible Storage
Better for databases, log-heavy systems, application servers.
Why LVM is Important in Server Environments
Servers grow over time:
- Databases grow
- Log files increase
- Applications require more storage
LVM allows expansion without downtime in many cases.
5. Key Differences: Dynamic Disk vs LVM
| Feature | Dynamic Disk (Windows) | LVM (Linux) |
|---|---|---|
| OS | Windows | Linux |
| Software RAID | Yes | Yes |
| Resize Volumes | Limited | Yes (more flexible) |
| Snapshots | No | Yes |
| Storage Pooling | Yes | Yes |
| Common in Modern Servers | Less common | Very common |
6. Exam Scenario-Based Understanding
You may see questions like:
Scenario 1:
A server has a 4 TB disk and uses UEFI.
Correct Answer → GPT
Scenario 2:
A Windows Server needs software RAID 1 without hardware RAID.
Correct Answer → Dynamic Disk with Mirrored Volume
Scenario 3:
A Linux server needs storage expansion without downtime.
Correct Answer → LVM
Scenario 4:
Older server using BIOS and 1 TB disk.
Correct Answer → MBR (possible), but GPT still preferred if supported
7. Important Exam Points to Remember
GPT
- Required for disks >2 TB
- Required for UEFI boot
- Modern standard
MBR
- 2 TB limit
- 4 partition limit
- Used with BIOS
Dynamic Disk
- Windows feature
- Software RAID
- Spanned, striped, mirrored, RAID-5 volumes
LVM
- Linux feature
- PV → VG → LV
- Resize, snapshots, flexible storage
- Widely used in enterprise Linux servers
8. Common Mistakes Students Make
- Confusing partition type with file system
- Thinking GPT is a file system (it is not)
- Confusing dynamic disk with hardware RAID
- Forgetting 2 TB limit of MBR
- Mixing up PV, VG, and LV order
Final Summary (Must Remember for SK0-005)
When installing a server OS:
- Choose partition style:
- GPT (modern, recommended)
- MBR (legacy)
- Choose disk configuration:
- Basic disk (standard)
- Dynamic disk (Windows advanced volumes)
- In Linux:
- Use LVM for flexibility
- Understand PV → VG → LV
For modern enterprise servers:
- GPT + UEFI is standard
- LVM is common in Linux
- Hardware RAID often preferred over dynamic disk
