fstab
Table of Contents
1. Description
The file fstab contains descriptive information about the
filesystems the system can mount.
2. Create new storage disk to mount on boot
2.1. Make sure the disk is not mounted
lsblk -f findmnt
2.2. Unmount the drive if its mounted
umount /mnt/storage
2.3. Create a new partition table
See notes:fdisk
2.4. Format the partition with ext4
mkfs.ext4 /dev/sda1
3. Configure the /etc/fstab file
3.1. Find the drive UUID
3.2. Add the device
The manual has a section about the mount options under FILESYSTEM-INDEPENDENT MOUNT OPTIONS
# <file system> <mount point> <type> <options> <dump> <pass> UUID=ba13a47f-c3a5-4821-b60f-c40418666b46 /mnt/storage ext4 rw,nosuid,nodev,nofail 0 0
3.3. Check for any errors
Make sure the mount command does not return any errors
mount -a
4. Adding storage to Steam
Settings > Downloads > Steam Library Folders
5. Related nodes
6. References
- https://wiki.archlinux.org/title/Fstab
- https://manpages.debian.org/stable/mount/fstab.5
- LearnLinuxTV on YouTube - Formatting & Mounting Storage Volumes
- LearnLinuxTV on YouTube - The /etc/fstab file
- https://manpages.debian.org/stable/mount/mount.8
- https://support.system76.com/articles/extra-drive/
- https://github.com/system76/docs/blob/master/content/extra-drive.md