4.2 Understanding Computer Hardware (Weight: 2)
📘Linux Essentials (LPI 010-160)
1. Types of Storage Devices
There are several types of storage devices you need to know for the exam:
a) Hard Disk Drives (HDDs)
- Traditional magnetic storage.
- Uses spinning disks (platters) and a read/write head to access data.
- Key points:
- Stores large amounts of data at a lower cost.
- Slower than SSDs.
- Common in servers and desktops for mass storage.
- Use in IT: Good for storing backups, logs, and large datasets in a server environment.
b) Solid State Drives (SSDs)
- Uses flash memory (no moving parts).
- Key points:
- Much faster than HDDs.
- More expensive per GB than HDDs.
- Less prone to mechanical failure.
- Use in IT: Often used for OS drives, databases, and applications needing high speed.
c) Hybrid Drives
- Combines SSD and HDD features.
- Key points:
- Frequently used data stored on SSD for speed.
- Large capacity stored on HDD for cost efficiency.
- Use in IT: Can be used in small servers or office desktops where performance matters but budget is limited.
d) Optical Drives
- Uses CDs, DVDs, or Blu-ray disks.
- Key points:
- Less common now.
- Mostly for installation media, archival storage.
- Use in IT: Rarely used; mainly for legacy software installations or offline backup.
e) USB Flash Drives
- Portable flash memory devices.
- Key points:
- Easy to move data between computers.
- Limited capacity compared to HDD/SSD.
- Use in IT: Transferring small files, emergency boot drives.
f) Network-Attached Storage (NAS)
- A storage device connected to a network.
- Key points:
- Provides file sharing for multiple users over LAN.
- Often has RAID configurations for redundancy.
- Use in IT: Central storage for office files, backups, or multimedia storage.
g) Storage Area Network (SAN)
- A high-speed network that provides block-level storage to servers.
- Key points:
- Can be very large, enterprise-level storage.
- Accessed by servers as if it were local storage.
- Use in IT: Datacenters, cloud infrastructure, high-performance applications.
2. Storage Device Interfaces
Storage devices connect to the computer through interfaces. Key ones:
- SATA (Serial ATA)
- Common for HDDs and SSDs in desktops.
- Moderate speed.
- Easy to install.
- NVMe (Non-Volatile Memory Express)
- Connects SSDs directly via PCIe slots.
- Very fast data transfer.
- Used in servers and high-performance desktops.
- USB
- External storage devices.
- Can be USB 2.0, 3.0, 3.1, or USB-C with varying speeds.
- Network Interfaces
- NAS devices connect via Ethernet (1Gbps or 10Gbps).
- SAN often uses Fibre Channel or iSCSI protocols.
3. Storage Drivers
A driver is a small program that allows the operating system to communicate with the storage hardware. Without a proper driver, Linux cannot use the device correctly.
- Linux often has built-in drivers for most storage devices.
- Common types of drivers in Linux:
- SCSI Drivers – for traditional hard drives, SSDs, and SAN devices.
- ATA/SATA Drivers – for desktop and laptop storage devices.
- NVMe Drivers – for modern SSDs.
- USB Storage Drivers – for USB flash drives and external hard drives.
- Network Storage Drivers – for NAS (NFS, SMB/CIFS) and SAN (iSCSI, Fibre Channel).
- Linux uses a device file system (
/dev) to represent storage devices, like:/dev/sda– first hard drive/dev/sdb– second hard drive/dev/nvme0n1– first NVMe drive
4. Key Concepts to Remember
- Block vs. Character Devices
- Block devices: Store data in blocks (HDD, SSD) → you can read/write random blocks.
- Character devices: Data is read/written as a stream (keyboard, mouse). Not used for storage but sometimes related to storage drivers.
- Mounting
- Storage must be mounted to use in Linux.
- Example:
mount /dev/sda1 /mnt/data– attaches the device to/mnt/data.
- File Systems
- Storage devices store data in file systems (ext4, XFS, FAT32, NTFS).
- Drivers allow the OS to read/write these file systems.
- Device Detection
- Linux detects devices automatically via
udevand loads the proper driver. - You can see detected devices with
lsblk,fdisk -l, ordmesg.
- Linux detects devices automatically via
5. Exam Tips
- Know the difference between HDD, SSD, NVMe, USB, NAS, and SAN.
- Understand why drivers are needed and the role of Linux device files.
- Remember common commands:
lsblk→ lists all storage devicesfdisk -l→ shows partitionsmount→ attaches storage to filesystemdmesg | grep -i storage→ shows storage detection messages
- Be familiar with storage interfaces: SATA, NVMe, USB, Ethernet for NAS/SAN.
✅ Summary Table:
| Device Type | Speed | Cost | Use in IT | Linux Driver |
|---|---|---|---|---|
| HDD | Medium | Low | Mass storage, backup | SATA/SCSI |
| SSD | High | Medium/High | OS, DB, apps | SATA/NVMe |
| NVMe SSD | Very High | High | High-performance apps | NVMe |
| USB Flash | Medium | Low | Portable storage | USB storage |
| NAS | Medium | Medium/High | Shared network storage | NFS/SMB/CIFS |
| SAN | Very High | High | Datacenter block storage | iSCSI/Fibre Channel |
