projekte:banana-pro:install-armbian-to-a-sata-drive
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| projekte:banana-pro:install-armbian-to-a-sata-drive [2016/04/19 01:51] – daniel | projekte:banana-pro:install-armbian-to-a-sata-drive [2016/04/27 10:33] (aktuell) – [Automatic installation with nand-sata-install] daniel | ||
|---|---|---|---|
| Zeile 7: | Zeile 7: | ||
| </ | </ | ||
| + | The installer seems to optimize the harddrive settings in /etc/fstab for ssd's and flash drives. For traditional harddrives i modified the settings and turned on the filesystem check. [[projekte: | ||
| ===== Manual installation steps ===== | ===== Manual installation steps ===== | ||
| Zeile 60: | Zeile 61: | ||
| # reboot system | # reboot system | ||
| reboot | reboot | ||
| - | |||
| </ | </ | ||
| + | ===== Editing /etc/fstab and installing smartmontools ===== | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | # modify /etc/fstab settings for /dev/sda1 | ||
| + | sudo nano /etc/fstab | ||
| + | |||
| + | # change line | ||
| + | #/ | ||
| + | # to this | ||
| + | / | ||
| + | # Set the sixth field (fs_passno) from 0 to 1 or fsck will not check this drive | ||
| + | |||
| + | # install tune2fs to modify the filesystem parameters | ||
| + | sudo tune2fs -l /dev/sda1 | ||
| + | # check filesystem every 10 mounts | ||
| + | sudo tune2fs -c 10 /dev/sda1 | ||
| + | # check filesystem after 7 days | ||
| + | sudo tune2fs -i 7d /dev/sda1 | ||
| + | |||
| + | sudo reboot | ||
| + | |||
| + | # install smartmontools to monitor the drive S.M.A.R.T. data | ||
| + | sudo apt-get install smartmontools | ||
| + | |||
| + | #smartctl --info /dev/sda | ||
| + | #smartctl -P show /dev/sda | ||
| + | #smartctl --help | ||
| + | #smartctl -H /dev/sda | ||
| + | #smartctl -a /dev/sda | ||
| + | </ | ||
projekte/banana-pro/install-armbian-to-a-sata-drive.1461023474.txt.gz · Zuletzt geändert: 2016/04/19 01:51 von daniel