Showing posts with label SSD. Show all posts
Showing posts with label SSD. Show all posts

Sunday, 8 November 2020

Optional: set noatime [for SSD]

 

Optional: set noatime

12. By setting "noatime", you disable the "access time stamp", that the operating system puts on a file whenever it's being read by the operating system. For an SSD "noatime" might be better, because it reduces the disk writes somewhat.

Although noatime doesn't make a big difference (which is why setting it has been labeled as optional), it has hardly any negative side effects: only in very rare use cases which almost nobody will ever encounter.

The easiest way to set noatime for your SSD, is this:

a. Launch a terminal window.
(You can launch a terminal window like this: *Click*)

b. Then use copy/paste for transferring the following line into the terminal (don't try to type it: a typo can have serious consequences!):

sudo sed -i 's/ errors=remount-ro/ noatime,errors=remount-ro/' /etc/fstab

Press Enter. Type your password when prompted. In Ubuntu this remains entirely invisible, not even dots will show when you type it, that's normal. In Mint this has changed: you'll see asterisks when you type. Press Enter again.

Note: Do you have a separate partition for /home? Then you need to execute this command as well (use copy/paste, don't type):

sudo sed -i 's/ defaults/ noatime,defaults/' /etc/fstab

Friday, 14 August 2020

Agar Drive NTFS Automount Setiap Sesi Login Ubuntu

$  sudo blkid
akan muncul tampilan seperti berikut:

 /dev/sda6: LABEL="DATA" UUID="01D645EA4E6DF0A0" TYPE="ntfs" PARTLABEL="Basic data


lalu edit bagian  /etc/fstab

 $ sudo gedit /etc/fstab

[saya menggunakan aplikasi gedit sebagai text editor]


isikan di bagian akhir: 

UUID=01D645EA4E6DF0A0 /media/user/DATA ntfs rw,nosuid,nodev,noatime,allow_other 0 0


Sesuaikan bagian berikut untuk laptop/komputer Anda:

Sesuaikan UUID

Sesuaikan user:

sesuaikan nama drive;