Where to start First steps track · 15 stages
Linux Labs

Storage and file systems

14 articles, grouped by kind; the order follows the tracks.

Concepts 8

  • Mounting and fstab

    Mounting filesystems: the mount command, persistent mounts in /etc/fstab, UUIDs and options.

    lsblk -ffindmntblkid

    7 min
  • Loop device — a file as a disk

    A loop device shows a regular file to the system as a disk: you can partition, format and mount it.

    truncate -slosetup -flosetup -fP

    5 min
  • Disk space: df, du, inode

    Where the space and inodes went — df, du, finding large files, pitfalls.

    df -hdf -idu -xh

    4 min
  • LVM logical volumes

    LVM: physical volumes, volume groups and logical volumes (PV → VG → LV), extending and snapshots.

    lsblkpvsvgs

    5 min
  • Filesystems: ext4, xfs, fsck

    Filesystems: creating one with mkfs, labels and UUIDs, fsck checks, choosing between ext4 and xfs.

    lsblk -fmkfs.ext4 -Ltune2fs -m

    7 min
  • NFS network filesystem

    Network directories over NFS — exporting on the server, mounting on the client, permissions.

    exportfs -raexportfs -vshowmount -e

    4 min
  • Software RAID with mdadm

    Software RAID on Linux — creating an array, checking status, replacing a disk.

    catmdadm --detailmdadm

    5 min
  • Disk quotas

    Limiting space and file counts per user/group — enabling, configuring, reports.

    setquota -uedquota -uedquota -t

    4 min

Commands 6

Nothing found. Try a shorter query.

Loading…