Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

[Funtoo Stable Desktop] Optimization of mount options for ssd.



Hi Dear Friends.

I've 2 disks.


1) The first is an SSD of 120 GiB; I've installed /boot , swap and the root partition.

2) The 2nd is an classiic HDD 1TiB.


I've used ext4 for /boot anx xfs for root and /home

This is my actually fstab:

ci74771ht ~ # cat /etc/fstab 
# /etc/fstab: static file system information.
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
# See the manpage fstab(5) for more information.
# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>
/dev/sda3               /boot           ext4            noauto,noatime  1 2
/dev/sda5               none            swap            sw              0 0
/dev/sda6               /               xfs             noatime         0 1
/dev/sdb2               /home           xfs             noatime         1 2
/dev/sdb1               /mnt/Volume     ntfs-3g         defaults        0 0
#/dev/cdrom             /mnt/cdrom      auto            noauto,ro       0 0
shm                     /dev/shm        tmpfs           exec,rw         0 0

I'd like to hear your opinion about it and if I can add options to henance performances about my ssd ....... especially about security and stability.


Adding information:

ci74771ht ~ # parted -l
Modello: ATA Samsung SSD 840 (scsi)
Disco /dev/sda: 120GB
Dimensione del settore (logica/fisica): 512B/512B
Tabella delle partizioni: msdos
Flag del disco: 
Numero  Inizio  Fine    Dimensione  Tipo      File system     Flag
 1      1049kB  368MB   367MB       primary   ntfs            avvio
 2      368MB   73,4GB  73,0GB      primary   ntfs
 3      73,4GB  73,7GB  268MB       primary   ext4
 4      73,7GB  120GB   46,4GB      extended
 5      73,7GB  82,3GB  8590MB      logical   linux-swap(v1)
 6      82,3GB  120GB   37,8GB      logical   xfs
Modello: ATA ST1000DM003-9YN1 (scsi)
Disco /dev/sdb: 1000GB
Dimensione del settore (logica/fisica): 512B/4096B
Tabella delle partizioni: msdos
Flag del disco: 
Numero  Inizio  Fine   Dimensione  Tipo     File system  Flag
 1      1049kB  537GB  537GB       primary  ntfs
 2      537GB   805GB  268GB       primary  xfs

Also in / dev / sdb hdd 1TB there are 185 GiB of free space (for make experiments but now unformatted)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi, when researching about SSD, I found this helpful link:



Also relevant:




In the end, I have just "noatime" in the fstab and I do "fstrim -av" when I remember.

Link to comment
Share on other sites

  • 0

Thanks for your answer dear emarsk.

For Now i've operated only at cron level:


i74771ht ~ # crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/sandro/Funtoo/crons.cron installed on Sun Dec 21 22:10:02 2014)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
*       *       *       1-12    1               /sbin/fstrim -v -a
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...