2021年9月10日 星期五

Debian 11 修正 failed to execute child process "dbs-launch"(No such file or directory)

安裝  dbus-x11
apt-get install dbus-x11

FORTINET FortiSwitch 124F series 摘要

預設帳號 / 密碼  admin /

恢復預設值
execute factoryreset

預設 IP
192.168.1.1/24

COM 設定
Baud rate: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None

mdadm rebuid 筆記

暫停 rebuid
echo "idle" > /sys/block/md0/md/sync_action

加速 rebuid
echo 500000 > /proc/sys/dev/raid/speed_limit_max

mdadm bitmap 相關指令
mdadm --grow --bitmap=internal /dev/md0
mdadm --grow --bitmap=none /dev/md0


相關檔案
/etc/sysctl.d/maxresync.conf  編輯
dev.raid.speed_limit_max = 10000

/etc/sysctl.conf 編輯
dev.raid.speed_limit_max = 51200

Debian 11 安裝 rsync daemon

apt install -y rsync
echo "port = 873" >/etc/rsyncd.conf

systemctl start rsync

modules 範例
/etc/rsyncd.conf
[rsync01]
path = /test01
uid = nobody
gid = users
list = yes
read only = no
write only = no
use chroot = yes
lock file = /run/lock/rsyncd-rsync01

Debian s.m.a.r.t gui 工具

https://github.com/ashaduri/gsmartcontrol
apt install -y gsmartcontrol