首先,

cd /usr/src/flashcache-3.1.2/utils

cp flashcache /etc/init.d/

chmod +x /etc/init.d/flashcache

有几个flashcache 就copy几个flashcache过去

flashcache 开机自启动

/etc/inittab  下查看运行级别

  1. id:3:initdefault:       运行3 级别

修改flashcache内容,设置:运行级别 3 4 5  启动顺序9  关闭顺序 98

 

加载驱动

将原有的挂载点都卸载掉,主要是防止启动时已经挂载好了,这样flashcache会挂载失败

flashcache 开机自启动

按要求修改这部分:

flashcache 开机自启动

 

chkconfig flashcache on

chkconfig flashcache1 on

chkconfig flashcache2 on

chkconfig flashcache3 on

chkconfig flashcache4 on

 

 

 

 

 

 

 

 

 

 

 

 

相关文章:

  • 2021-07-09
  • 2021-07-27
  • 2021-06-23
  • 2021-10-21
  • 2022-01-27
  • 2021-08-25
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2021-11-24
  • 2021-12-05
  • 2022-01-27
相关资源
相似解决方案