|
1.首先明确猫盘群晖系统中经常控制风扇相关IO失败导致写日志,已按教程把日志输出内存中,即tmpfs.3 u; T* s- E$ f8 E8 G
- #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
- #/ e: N& c; g# O4 R& l: b, d
3 J# f: f! a' ]! Z) v5 Y4 X1 A* ~+ V) B; m
hibernationFull.log日志文件中可以看到相关信息已写入tmpfs
`3 @$ Q- {" ?4 K" m8 d' s[ 8171.663318] scemd(7558): dirtied inode 183010 (volume1.lock.E2tWgd) on tmpfs* I5 N3 ^& T3 A7 Y
[ 8173.676415] scemd(32464): dirtied inode 179481 (enumlist_det.tmp) on tmpfs1 S, r' N6 O7 `' G, R9 G8 z2 G$ n
[ 8177.676482] scemd(7558): dirtied inode 183116 (volume1.lock.U2M7Fk) on tmpfs
+ B3 R% x) X0 u4 m8 m% b[ 8183.694872] scemd(7558): dirtied inode 183229 (volume1.lock.Y5kNsv) on tmpfs+ n0 @2 E8 q0 ~3 Z( w
- F# I" m n+ I
. n/ G! Z1 L: T/ }但是连着发现有写磁盘操作如下:
) x% v& m3 g: E; W8 ~[ 8189.076863] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3
" M9 O! ~9 t3 f/ z[ 8189.076902] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3
# I j: [: }! H8 `[ 8189.076912] bash(8134): dirtied inode 9175053 (esynoscheduler.output.8094) on sda3* F3 T+ I2 [( h5 |/ M% K" H+ N. m
0 I: X* G c( f) ]. g
3 g; R! S* ?+ R+ x' z
: d" h- {, U) E& b. K# J
接着使用ps -ef命令打印所有进程,找到esynoscheduler相关的进程信息1 U+ _: n+ g" [. D6 p% Q
UID PID PPID C STIME TTY TIME CMD
4 Y! H6 Q1 ]4 f! L' c- k% lroot 7515 7433 0 08:48 ? 00:00:03 /usr/syno/sbin/esynoscheduler --fireEvent event=bootup
* K' M1 a$ q8 W0 oroot 8036 7515 0 08:48 ? 00:00:00 /usr/syno/sbin/esynoscheduler --fireEvent event=bootup4 x; q, q+ ^/ \9 _+ L$ N
root 8043 8036 0 08:48 ? 00:00:00 sh -c '/tmp/esynoscheduler.script.7515' > '/volume1/@tmp/esynoscheduler.ou
2 p4 M. O, U$ \, R% D3 [- eroot 8058 8043 0 08:48 ? 00:00:00 sh -c '/tmp/esynoscheduler.script.7515' > '/volume1/@tmp/esynoscheduler.ou
( K1 ^1 `- U/ }5 F* A2 |7 rroot 8071 8058 0 08:48 ? 00:00:03 bash /volume1/homes/ping_led.sh0 e6 C" Z2 Y6 Q% e3 c) W
! G0 X& [$ n+ B* ?! T3 H
: a& S) _; E3 A( ?: ^/ K7 p6 P6 ? V5 F* d
到这里看不懂了,请问3条bash写操作是怎么产生的,应该怎么关闭?% V2 L! I/ z* s- @% z
) e! X9 j" k- S0 s3 d
[: ^! V8 W7 T* t9 d
7 d* f' |3 W6 Z* W2 d2 M' Y. `. v |
|