@ryecoaaron your answer to my question if there was a solution with the possibility to make the system read only, you clearly answered no but inside my fstab there is already the line ext4 errors=remount -ro . Doesnt this mean its already read only?
If you want to reduce writes to the ssd, then you would need to install the plugin.
If you check below, you can see that without installing the flash plugin I could easily go to the fstab and change the appropriate lines noatime, nodirtime...etc. What is the point of installing that plugin if in both cases (install it or not) you have to manually enter the fstab and make the changes?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=d7d2d854-8e20-4474-a580-ec762ece7877 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=998f9df7-3fff-4ff4-9833-0ffa4d26a91a none swap sw 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/disk/by-id/ata-INTEL_SSDSCKKW128G8_BTLA817310JH128I-part3 /srv/dev-disk-by-id-ata-INTEL_SSDSCKKW128G8_BTLA81$
/dev/disk/by-label/Muz /srv/dev-disk-by-label-Muz ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,gr$
/dev/disk/by-id/ata-WDC_WD40PURZ-85TTDY0_WD-WCC7K1EF7H4A-part1 /srv/dev-disk-by-id-ata-WDC_WD40PURZ-85TTDY0_WD-WC$
/dev/disk/by-label/New\x20Volume /srv/dev-disk-by-label-New\040Volume ntfs defaults,nofail 0 2
# <<< [openmediavault]
Display More
Most systems don't need swap and swap writes a lot to your drive if you use it. Once again, this is optional especially with an ssd.
So should I just comment out the UUID=998f9df7-3fff-4ff4-9833-0ffa4d26a91a none swap sw and it wont use swap anymore? Does this mean that ram is going to be used instead and I should have aspecific amount always free? (something like zfs?)
I ve read this info https://manpages.debian.org/st…il-linux/fstrim.8.en.html but no clear example (at least for me) on how I could use the command to my ssd drive. Could you help with this (I mean the command)
I dont want to use fstrim -a and interacts somehow negative with my spinning drives (in case any errors occur)
Finally should I add the options above noatime, nodirtime etc as in the tecnodad videos or not?
Isnt there any clear answer likke you have an ssd do this and that and get over.