Learning Linux III: Storage

April 14, 2023
Documenting my journey with linux and devops part III

Storage Managment

linux device handling

listing devices utils

lsdev - information about installed hardware
lsusb - list usb information
lspci - list pci connected device information
lsblk - list block devices
lscpu - display CPU information
dmesg - print or control the kernel-ring buffer

systemd udevd

pseudo filesystems

managing partitions

swap partitions

file systems

automating mounts

potential issues

LVM

To use LVM in Linux, follow these basic steps:

RAID configurations

monitoring filesystems and disk usage

disk usage

df - shows the amount of space available on a mounted device
du - shows disk usage per directory

files ystems

tune2fs - show and optimiz Ext file systems dumpe2fs - dump Ext file system metadata xfs_admin - monitor XFS properties