beginner

Storage, RAID and Backups

How drives fail, what partition styles and RAID levels really protect you from (and what they do not), and the backup habits that save a business. Includes a RAID capacity calculator and a 3-2-1 backup check in real Python.

55 min

1. Executive summary and objective

Data is the one thing in a computer you cannot buy again. The hardware is replaceable; the customer’s photos, invoices and work are not. This lesson covers how storage works, how it fails, and how to make sure a failure is an inconvenience instead of a disaster.

Objective: you can choose between drive types, explain the common RAID levels and their limits, and design a backup plan that passes the 3-2-1 rule.

2. Types of storage

HDD (hard disk drive) SSD (solid-state drive)
How it stores data Spinning magnetic platters read by a moving head Flash memory chips, no moving parts
Speed Slower, especially for many small files Much faster
Typical failure sign Clicking, grinding, slow reads, bad sectors Sudden disappearance, read-only mode, wear indicators
Strengths Low cost per terabyte Fast, quiet, shock-resistant
Connection SATA SATA, or NVMe over PCIe (fastest)

Both report health data through S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology). Tools and the firmware can warn you about reallocated sectors, temperature or wear before a drive fails, which is the cheapest warning you will ever get. A SMART warning means: back up now.

Partition styles: MBR and GPT

A new drive must be partitioned and formatted before use. There are two partition styles:

  • MBR is the older style. It supports disks up to about 2 TiB and four primary partitions.
  • GPT is the modern style. It supports far larger disks and many partitions, stores a backup copy of its table, and is required for Windows to boot in UEFI mode.

If a customer’s 4 TB drive shows only 2 TB, it was initialised as MBR. Converting means reformatting unless you use a specialist conversion tool, so back up first.

3. RAID: what it is and what it is not

RAID (Redundant Array of Independent Disks) combines several drives so they act as one. Different levels trade capacity, speed and protection:

Level How it works Minimum drives Usable capacity Survives
RAID 0 Stripes data across drives for speed 2 All of it Nothing: one failure loses everything
RAID 1 Mirrors data on two drives 2 One drive’s worth One drive failure
RAID 5 Stripes data with distributed parity 3 (n - 1) drives One drive failure
RAID 6 Stripes with two parity blocks 4 (n - 2) drives Two drive failures
RAID 10 Mirrored pairs, then striped 4 (even number) n / 2 drives One failure guaranteed, more if they fall in different pairs

(Here n is the number of drives, all the same size. If sizes differ, the smallest drive limits each).

4. Backups that actually work

The 3-2-1 rule

  • 3 copies of the data (the original plus two backups),
  • on 2 different kinds of media (for example internal drive plus external drive or cloud),
  • with 1 copy off-site (another building or cloud storage).

Many teams add a fourth idea: keep at least one copy offline or immutable, so ransomware that reaches your network cannot reach that copy.

Backup types

Type What it copies Restore Space and time
Full Everything One set Most space, longest
Incremental Only what changed since the last backup of any kind Full plus every incremental in order Smallest and fastest to make, slowest to restore
Differential Everything changed since the last full backup Full plus the latest differential Grows each day, simpler restore

A backup you have not tested is a hope, not a backup

Schedule test restores. Confirm the files open, and time how long it takes, because “how long will it take us to be working again?” is the first thing a business asks.

When a drive is failing

  1. Stop using it. Continued use can spread damage.
  2. If it is still readable, copy data to healthy storage first. Repair and reformatting come afterwards.
  3. If it clicks, will not spin up, or is not detected, power it down and consider a professional recovery service. Do not open a hard drive.

5. Hands-on: RAID capacity and 3-2-1

Write a RAID calculator and a 3-2-1 checker. They are the kind of small tools a technician uses to size a purchase or audit a customer’s plan.

RAID capacity and the 3-2-1 rule — Python 3
WHAT TO DO
raid_usable(level, drives, size_tb) returns usable capacity in TB. level 0 -> drives * size level 1 -> size (a mirror: one drive's worth) level 5 -> (drives - 1) * size level 6 -> (drives - 2) * size level 10 -> (drives // 2) * size backup_ok(copies, media_types, offsite) returns True only if the plan follows 3-2-1: at least 3 copies, at least 2 media types, at least 1 off-site.
YOUR CODE (edit here, then press Run)
Ctrl/⌘ + Enter
OUTPUT

6. Verification and troubleshooting

Symptom Likely cause and first action
Clicking or grinding drive Mechanical failure. Power down, do not keep trying; recover data to another drive or a specialist.
SMART warning Back up immediately, then replace the drive.
“Drive shows less space than advertised” Units difference (GB vs GiB) or MBR limit on a very large disk.
RAID array shows “degraded” One drive has failed. The system still runs, but there is no safety margin: back up now, replace the drive, let the array rebuild.
Deleted file needed back Check the recycle bin, then backups and file history. Stop writing to the drive to improve recovery chances.
A small office has a NAS (network storage box) in RAID 5 and says 'we are fully protected'. What do you ask, and what do you recommend?

Ask what happens if a file is deleted or encrypted by ransomware, or if the office is damaged: RAID protects only against a single drive failing. Recommend a 3-2-1 backup, with at least one copy off-site and one that is offline or immutable, and a test restore on a schedule.

Can You Explain It?

Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.

  • Why does RAID not replace a backup? Give two examples of failures RAID cannot help with.
  • Explain the 3-2-1 backup rule to a business owner in two sentences.
  • Four 4 TB drives are in RAID 6. How much space is usable and how many drive failures can it survive?

7. Key takeaways

  • SSDs are fast and have no moving parts; HDDs are cheaper per terabyte. Watch S.M.A.R.T. warnings.
  • GPT replaces MBR for large disks and UEFI booting.
  • RAID improves availability, not safety. RAID 0 has no protection at all.
  • Follow 3-2-1, keep one copy offline or immutable, and test your restores.
  • With a failing drive: stop, copy data off, then repair. Sanitise drives properly before disposal.

🧪 Want to practise this on your own computer? See how to set up your lab →

🤖

Need clarification? Ask GT

Hi, I'm GT — your AI tutor for Storage, RAID and Backups. What would you like to know?
📝

Knowledge Check

1 of 4

Which statement about RAID is correct?

Official References

Report a problem

About: /lessons/it-support-storage-and-backups