Skip to main content

Disk Management

Disk device list

lsblk

Create a filesystem

sudo mkfs.ext4 <device-name>

Display storage size

df -h

Mount disk

mount <device-name> <path>

Unmount disk

umount <path>

Persist the mount on reboot

nano /etc/fstab
<device-name>   <path>   ext4    defaults    0   2