Commit daf569

2026-08-05 22:15:45 Niklas Polke: Update Mount and Umount
linux/ssd.md ..
@@ 1,5 1,43 @@
# SSD
+ ## Temporarily Mount Partition
+
+ ### mount
+ with `sudo mount /dev/sda1 /mnt/ssd-test`
+
+ ### umount
+ with `sudo umount /dev/sda1`
+
+ ## Permanently Mount Partition
+
+ ### create Backup
+ ```bash
+ sudo cp /etc/fstab /etc/fstab.backup
+ ```
+
+ ### edit `/etc/fstab`
+ with `sudo nano /etc/fstab` and insert UUID from `blkid /dev/sda1` and insert new line
+ ```bash
+ UUID=123456-abcd-...... /srv/ssd ext4 defaults,nofail,x-systemd.device-timeout=10s 0 2
+ ```
+ - /srv/ssd is the permanent mount point
+ - ext4 is partition type
+ - defaults means standard partition
+ - nofail means the system boots even if the mount is not active
+ - device-timeout - doesn't wait too long during boot
+ - 0 is default for old dump backup settings
+ - 2 will be checked after all 1 - 0 means no check through `fsck`
+
+ ### mount
+ with `sudo systemctl daemon-reload` and then `sudo mount -a`
+
+ ### check results
+ ```bash
+ lsblk
+ findmnt /srv/ssd
+ df -hT /srv/ssd
+ ```
+
## Create New Partition
### What is currently on the ssd
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9