Thread: fstab for SSD
i (hopefully) have disabled access times, enabled discard, moved temporary folders ram, changed scheduler deadline. i've symlinked .cache mech hard drive, swap on mech hard drive. there else need stop unneccesary writes ssd?
code:# /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sdb1 during installation uuid=4c5e3194-3519-4e92-bda3-0a64ee7e1cd3 / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1 # swap on /dev/sda5 during installation uuid=94eaae07-8632-4411-96d7-70917b1aa627 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 # tmp in ram tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0code:#!/bin/sh -e # # rc.local # # script executed @ end of each multiuser runlevel. # make sure script "exit 0" on success or other # value on error. # # in order enable or disable script change execution # bits. # # default script nothing. echo deadline > /sys/block/sdb/queue/scheduler echo 0 > /proc/sys/vm/swappiness exit 0
looks me, it's pretty same setup.
in fstab don't have use nodiratime option, implied using noatime.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] fstab for SSD
Ubuntu
Comments
Post a Comment