────────────────────────────────────────────
💿 Disk Partitioning
────────────────────────────────────────────
Commando Beschrijving
fdisk : Interactieve CLI-tool voor MBR-partities.
parted : Geschikt voor zowel MBR als GPT; ondersteunt scripting.
partprobe : Ververs partitie-informatie in het systeem zonder reboot.
────────────────────────────────────────────
🔗 Mounting Local and Remote Devices
────────────────────────────────────────────
Term / Bestand Beschrijving
mount : Mount een bestandssysteem of apparaat.
/etc/fstab : Configuratiebestand voor permanente mounts bij opstarten.
systemd.mount : Systemd unit-bestanden om mountpoints via systemctl te beheren.
LUKS : Linux Unified Key Setup – standaard voor disk-encryptie.
External devices : Denk aan USB-sticks, externe schijven, SD-kaarten; vaak herkend als /dev/sdX of /media/....
────────────────────────────────────────────
📂 Filesystem Management Tools
────────────────────────────────────────────
Type Tools / Opmerkingen
Ext4 : mkfs.ext4, tune2fs, e2fsck
XFS : mkfs.xfs, xfs_repair, xfs_growfs
Btrfs : mkfs.btrfs, btrfs check, btrfs balance, btrfs scrub
────────────────────────────────────────────
📊 Monitoring Storage Space and Disk Usage
────────────────────────────────────────────
Commando Beschrijving
df : Toont vrije en gebruikte ruimte per gemount bestandssysteem.
du : Toont schijfruimtegebruik per bestand of directory.
────────────────────────────────────────────
📦 Logical Volume Manager (LVM)
────────────────────────────────────────────
Commando Beschrijving
pvcreate : Initialiseer fysieke volume (PV).
pvs : Toon info over fysieke volumes.
vgcreate : Maak volume group (VG) aan.
vgextend : Voeg PV toe aan een bestaande VG.
vgs : Toon info over volume groups.
lvcreate : Maak een logisch volume (LV) aan.
lvresize : Vergroot/verklein een logisch volume.
lvchange : Wijzig attributen van een logisch volume.
lvs : Toon info over logische volumes.
────────────────────────────────────────────
🧩 Inspecting RAID Implementations
────────────────────────────────────────────
Commando Beschrijving
mdadm : Beheer software RAID arrays.
/proc/mdstat : Status van actieve RAID arrays.
────────────────────────────────────────────
🌐 SAN / NAS / Netwerkopslag
────────────────────────────────────────────
Term / Tool Beschrijving
SAN : Storage Area Network; blokniveau opslag via netwerk (bijv. iSCSI, Fibre Channel).
NAS : Network Attached Storage; bestandssysteemniveau opslag via netwerk (NFS/SMB).
multipathd : Daemon voor multipath I/O, typisch in SAN-omgevingen.
────────────────────────────────────────────
🌍 Network Filesystems
────────────────────────────────────────────
Systeem Beschrijving
NFS : Network File System – native Linux netwerkfilesystem.
SMB/CIFS : Gebruikt door Windows; ondersteund in Linux via samba/mount.cifs.
────────────────────────────────────────────
🖥️ Opslaghardware Inspectie
────────────────────────────────────────────
Commando Beschrijving
lsscsi : Toont SCSI-apparaten zoals schijven.
lsblk : Toont blokapparaten in boomstructuur.
blkid : Toont UUID's en bestandssystemen van blokapparaten.
fcstat : Fibre Channel statusinformatie (niet op alle systemen beschikbaar).