ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

Disks, partitions and file systems: fdisk, mkfs, ext4, xfs

Lesson 5.29 minIntermediateDecember 1, 2026

Sign in to read this lesson

A new disk has been added but is not used yet. Three steps bring it into service — a partition table, a partition and a file system. In this lesson we learn the difference between GPT and MBR, creating partitions with fdisk and parted, and choosing between ext4 and xfs.

What you will learn

  • The order: partition table (GPT) → partition (sdc1) → file system (mkfs) → mount (next lesson).
  • GPT is the modern standard (128 partitions, disks over 2 TB); MBR is old (4 primary partitions, 2 TB limit).
  • sudo fdisk /dev/sdc: g GPT, n new partition, p print, w write; q quits without writing.
  • mkfs.ext4 and mkfs.xfs create a file system; ext4 can shrink, xfs is strong with large files but cannot shrink.
  • mkfs erases everything on the partition — check with lsblk -f that it is the right disk first.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.