Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirrors reboot #17

Closed
6 of 8 tasks
gaoyifan opened this issue Sep 1, 2016 · 13 comments
Closed
6 of 8 tasks

mirrors reboot #17

gaoyifan opened this issue Sep 1, 2016 · 13 comments

Comments

@gaoyifan
Copy link
Member

gaoyifan commented Sep 1, 2016

feature:bcache
bugfix: #6 #7 #9

  • 删除同步过程中的缓存逻辑
  • 删除nginx中的缓存配置
  • 编译、安装新内核
  • 格式化ssd
  • 转换array0、array1 (https://github.com/g2p/blocks)
  • 添加bcache设备
  • 重启
  • 检查array0的状态

@knight42 @Alkaid-Benetnash @zhsj @hosiet 大家看看有没有什么问题?

@knight42 找个时间大家去趟机房?联系一下jameszhang ?

@hosiet
Copy link
Member

hosiet commented Sep 1, 2016

今后 ssd 做什么用?用途有变化吗?

在 2016年9月1日週四 18:51,Yifan Gao notifications@github.com 寫道:

feature:bcache
bugfix: #6 #6 #7
#7 #9
#9

  1. 删除同步过程中的缓存逻辑
  2. 删除nginx中的缓存配置
  3. 编译、安装新内核
  4. 格式化ssd
  5. 转换array0、array1(https://github.com/g2p/blocks)
  6. 添加bcache设备
  7. 重启

@knight42 https://github.com/knight42 @Alkaid-Benetnash
https://github.com/Alkaid-Benetnash @zhsj https://github.com/zhsj
@hosiet https://github.com/hosiet 大家看看有没有什么问题?

@knight42 https://github.com/knight42 找个时间大家去趟机房?联系一下jameszhang ?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDYFoHaN8fmGTLMPh9XW1RiBCedViRfks5qlq4egaJpZM4Jyjzz
.

@gaoyifan
Copy link
Member Author

gaoyifan commented Sep 1, 2016

今后 ssd 做什么用?用途有变化吗?

仍然用作缓存。切换到bcache后,从文件级缓存变为块缓存。

可以同时为ftp、rsync、git、http(s)提供加速。不再需要自己维护cache-index.

@pudh4418
Copy link
Member

pudh4418 commented Sep 6, 2016

看样子 Debian 又发布关于 linux 内核的安全更新了。要是重启的话就一并使用新的内核吧。

话说,zhsj 搭建的自动编译内核并上传的的机制还好使吗?

@zhsj
Copy link
Contributor

zhsj commented Sep 6, 2016

@pudh4418 现在并没有自动编译并上传了,因为更新内核反正得重启。一般都长时间不重启,所以也没这个需求,就不搞了。。

@zhsj
Copy link
Contributor

zhsj commented Sep 6, 2016

不过 debian 自己签名的内核貌似已经进入 unstable 了,不知道使用姿势是怎样的。
https://tracker.debian.org/pkg/linux-signed

@zhsj
Copy link
Contributor

zhsj commented Sep 11, 2016

debian unstable 已经默认使用签名内核,建议直接从 unstable 里下载 deb 包[1] 装上就可以了。

另外 debian 默认没有设置 CONFIG_MODULE_SIG_FORCE,也就是说没签名的模块也可以插入。这个行为可以通过启动时修改内核参数更改,相应的参数[2] 是 module.sig_enforce=1

鉴于 mirrors 运行至今都没有使用过除 debian 源里任何第三方内核模块,也没有任何 dkms 相关的包,所以应该没有必要掌握用于签名的私钥。

[1] https://packages.debian.org/sid/linux-image-4.7.0-1-amd64
[2] https://www.kernel.org/doc/Documentation/module-signing.txt

@gaoyifan
Copy link
Member Author

确定要使用这么新的内核吗? 我比较担心遇到稳定性问题。

@zhsj
Copy link
Contributor

zhsj commented Sep 15, 2016

建议增加一条,重启时进内部阵列的raid卡看下磁盘状况。

@gaoyifan
Copy link
Member Author

那就需要去机房了

On Sep 15, 2016, at 5:11 PM, Shengjing Zhu notifications@github.com wrote:

建议增加一条,重启时进内部阵列的raid卡看下磁盘状况。

@pudh4418
Copy link
Member

不是有命令行工具可以直接在运行时操控内部阵列么?

在 2016年9月15日,下午5:11,Shengjing Zhu notifications@github.com 写道:

建议增加一条,重启时进内部阵列的raid卡看下磁盘状况。

@zhsj
Copy link
Contributor

zhsj commented Sep 15, 2016

@pudh4418 那个storcli吗?不是很会用,能看得到系统配置,比如哪些盘,怎么组的raid,但看不到日志。

@pudh4418
Copy link
Member

这种东西搜搜就有了,比如:
storcli /c0 show events file=log.txt

就是查看日志了。反正手册网上都有~

在 2016年9月15日,下午10:24,Shengjing Zhu notifications@github.com 写道:

@pudh4418 https://github.com/pudh4418 那个storcli吗?不是很会用,能看得到系统配置,比如哪些盘,怎么组的raid,但看不到日志。


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #17 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABwMMsQ3nL6uv6KzxQbqSWsvnwTYvmLtks5qqVUogaJpZM4Jyjzz.

@gaoyifan
Copy link
Member Author

gaoyifan commented Sep 26, 2016

note: 由于mirrors外部阵列出现故障,在维护过程中已完成重启。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants