個人的メモ
- Raspberry Pi OS Lite を焼く
- Desktop 環境だと OMV に拒否される
- OMV Install
- reboot
- GUI Login
- username
admin
- password
openmediavault
- username
- メール設定
- ファイルシステムマウント
- ディスクの smart 有効化
sudo smartctl --smart=on /dev/sda sudo smartctl --smart=on /dev/sdb sudo smartctl --smart=on /dev/sdc sudo smartctl --smart=on /dev/sdd sudo smartctl --smart=on /dev/sde
- smart 設定
- mdadm の整合性チェック設定
$ cat<<__EOF__ | sudo tee /etc/systemd/system/mdadm-scrub.service [Unit] Description=check /dev/md0 [Service] Type=oneshot ExecStart=/usr/bin/bash -c 'echo check > /sys/block/md0/md/sync_action' __EOF__ $ cat <<__EOF__ | sudo tee /etc/systemd/system/mdadm-scrub.timer [Unit] Description=mdadm check every 2 weeks on Sunday at 00:00 [Timer] OnCalendar=Sun *-*-01,14 00:00:00 Persistent=true [Install] WantedBy=timers.target __EOF__ $ sudo systemctl daemon-reload $ sudo systemctl enable --now mdadm-scrub.timer
- 共有フォルダ設定
- rsync module 設定