1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| cat fstab
# /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).
# info moi : "discard" pour trimmer les ssd -- présent d'origine, et probablement
# pas une bonne idée, voir https://www.spinics.net/lists/raid/msg40924.html, donc zappé
# 20/02/2024 : étudier fstrim : I think what you really want to use is "fstrim" -
# this walks through a filesystem metadata, identifies free blocks, and sends TRIM commands for each of them.
# Obviously this can take a bit of time, and will slow down the disks while working, but you typically do it with a cron job
# in the middle of the night. https://www.spinics.net/lists/raid/msg40937.html
####note de 9/2026 : ssd -- ssd c'est le petit rapide
# <file system> <mount point> <type> <options> <dump> <pass>
#UUID=99dc8d6c-8674-4c7d-b27f-7cd860bdd63f / ext4 defaults,noatime,discard 0 1
/dev/sda1 / ext4 defaults,noatime 0 1
# et où est passé le swap ?
# 26/05/2021 : qui est normalement sur sda2, mais pas activé ici. Bizarre bizarre, je mets une ligne :
#####UUID=272a029e-4d4a-40e2-a3b7-51bf1ac7b0d0 none swap sw 0 0
# inspirée de debox (une antiquité), et ça concerne sda2 puisque l'uuid lui correspond et que
# la partoche est formatée ainsi
/dev/sda2 none swap sw 0 0
# note de 9/2026 : me souvient pas d'à quoi sert la ligne ci-dessous (un peu brouillon, tout ça)
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
####note de 9/2026 : premier dd, sdb -- les datas
##/dev/sdb1 : 1,6 To
/dev/sdb1 /data ext4 relatime,rw,auto,users,exec 0 2
##/dev/sdb2 : 195 Go -- en standby
#UUID=ca124013-9812-4eac-8e52-35560d5ac7f4 /data_small ext4 relatime,rw,auto,users,exec 0 2
####note de 9/2026 : second dd, sdc -- les sauvegardes des datas
##/dev/sdc1 : 1,6 To
/dev/sdc1 /dbck ext4 relatime,rw,auto,users,exec 0 2
#UUID=99fc2adf-d339-4fcc-82fb-82f93db59f2a /dbck_small ext4 relatime,rw,auto,users,exec 0 2
##note de 9/2026 : me souvient plus pourquoi cette ligne est commentée
Ah, si on pouvait mettre des couleurs...
(ou alors utiliser LibreOffice Writer ?) |