0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OpenMediaVault on Raspberry Pi 4 インストールメモ

Last updated at Posted at 2025-05-31

個人的メモ

  1. Raspberry Pi OS Lite を焼く
    • Desktop 環境だと OMV に拒否される
  2. OMV Install
  3. reboot
  4. GUI Login
    • username admin
    • password openmediavault
  5. メール設定
    image.png
  6. ファイルシステムマウント
  7. ディスクの 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
    
  8. smart 設定
    image.png
  9. 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
    
  10. 共有フォルダ設定
    image.png
  11. rsync module 設定
    image.png
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?