linux:console:mounting-drives
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
linux:console:mounting-drives [2016/04/25 00:51] – [Do a filesystem check] daniel | linux:console:mounting-drives [2016/04/26 01:09] (aktuell) – [Set filesystem check intervals] daniel | ||
---|---|---|---|
Zeile 20: | Zeile 20: | ||
Create a file called forcefsck in the / directory | Create a file called forcefsck in the / directory | ||
<code bash> | <code bash> | ||
+ | [[http:// | ||
+ | |||
+ | ===== Show filesystem check intervals ===== | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | ===== Set filesystem check intervals ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo vi /etc/fstab | ||
+ | # / is on /dev/sda1 | ||
+ | UUID=123abcd1-a123-1a12-1234-a1a1234ab123 / | ||
+ | |||
+ | # Setting maximal mount count to 60 | ||
+ | sudo tune2fs -c 60 /dev/sda1 | ||
+ | |||
+ | #Setting interval between checks to 2592000 seconds | ||
+ | sudo tune2fs -i 30d /dev/sda1 | ||
+ | </ | ||
+ | [[https:// |
linux/console/mounting-drives.1461538315.txt.gz · Zuletzt geändert: 2016/04/25 00:51 von daniel