|
1.首先明确猫盘群晖系统中经常控制风扇相关IO失败导致写日志,已按教程把日志输出内存中,即tmpfs.! r! i% w7 u( ?7 [ l
- #scemd bind
- touch /tmp/scemd.log.new || true
- chmod 660 /tmp/scemd.log.new || true
- chown system:log /tmp/scemd.log.new || true
- mount -o bind /tmp/scemd.log.new /var/log/scemd.log || true
- #. U2 R' F2 c, m! a
2 o' N8 G# \8 ~
9 u) B( ?2 s: P. d4 L; phibernationFull.log日志文件中可以看到相关信息已写入tmpfs
3 Y3 {6 R O. z9 v H; O( @8 C[ 8171.663318] scemd(7558): dirtied inode 183010 (volume1.lock.E2tWgd) on tmpfs7 C. s7 W9 H% f
[ 8173.676415] scemd(32464): dirtied inode 179481 (enumlist_det.tmp) on tmpfs7 ^3 M) G6 P' D2 f N1 h/ A
[ 8177.676482] scemd(7558): dirtied inode 183116 (volume1.lock.U2M7Fk) on tmpfs3 ], i! [0 m9 E% O) a* k, j
[ 8183.694872] scemd(7558): dirtied inode 183229 (volume1.lock.Y5kNsv) on tmpfs
9 M, a3 ?: f& a& x& u. h2 y+ N Y0 O1 A; F6 z
' W* T9 s6 \, j: t$ _2 L* G- \4 q
但是连着发现有写磁盘操作如下:; j9 x% ~9 T, o7 d; e! i
[ 8189.076863] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3
! q1 b, z9 X. } f! m7 ?! L[ 8189.076902] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3 n( w t- I- o3 D. g6 c
[ 8189.076912] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3+ [/ G$ n( d7 Z3 Z+ Q% v
7 A, B- R+ ?/ f, g
( p3 f+ _" e* I/ M) R/ S0 L
+ v- o, G. n& x, X& Z/ {/ u接着使用ps -ef命令打印所有进程,找到esynoscheduler相关的进程信息
7 O4 @8 y' x( T4 t- PUID PID PPID C STIME TTY TIME CMD
" u2 U3 @" ~1 _7 proot 7515 7433 0 08:48 ? 00:00:03 /usr/syno/sbin/esynoscheduler --fireEvent event=bootup
+ M$ m: s( [4 T# Mroot 8036 7515 0 08:48 ? 00:00:00 /usr/syno/sbin/esynoscheduler --fireEvent event=bootup
! ^/ h9 a8 H2 `. mroot 8043 8036 0 08:48 ? 00:00:00 sh -c '/tmp/esynoscheduler.script.7515' > '/volume1/@tmp/esynoscheduler.ou
- [7 u: W2 K9 U& E* l6 L0 w _ zroot 8058 8043 0 08:48 ? 00:00:00 sh -c '/tmp/esynoscheduler.script.7515' > '/volume1/@tmp/esynoscheduler.ou+ o' o f+ W9 Z" H4 s! i+ ?
root 8071 8058 0 08:48 ? 00:00:03 bash /volume1/homes/ping_led.sh
+ d2 W, P h) o- B0 e6 Q3 T" c0 ^8 _7 v
5 J! F# Z- u; T
到这里看不懂了,请问3条bash写操作是怎么产生的,应该怎么关闭?
; J% b F. w, c" Y/ z; ^" t# I( N) Z( ~- M7 J
# A$ H; x+ f9 A! g
" ]7 y# @: h/ t/ l2 |: [% i |
|