V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Valyrian
V2EX  ›  宽带症候群

GCE 搭 BBR,升级内核变成 read-only file system 什么情况。。

  •  
  •   Valyrian · 2017-01-18 08:12:11 +08:00 · 5937 次点击
    这是一个创建于 2627 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Centos 7 ,跟着这个教程做的: https://www.vultr.com/docs/how-to-deploy-google-bbr-on-centos-7

    重启之后变成 read-only file system ,什么文件都不能写= =,重建 instance 试了三次了都这样

    你们在 GCE 搭 BBR 的都怎么换内核的。。 @hongxin /t/334051

    19 条回复    2017-07-03 16:29:12 +08:00
    v2exhehehehe
        1
    v2exhehehehe  
       2017-01-18 08:18:36 +08:00
    Valyrian
        2
    Valyrian  
    OP
       2017-01-18 08:24:17 +08:00
    @v2exhehehehe 我是傻子。。
    hongxin
        3
    hongxin  
       2017-01-18 09:02:58 +08:00
    我 GCE 用的 cetntos6 换内核是用 https://teddysun.com/489.html 一键 BBR 换的,
    然后去 http://kernel.ubuntu.com/~kernel-ppa/mainline/ 更新内核到 4.9.4
    刚才我在 GCE 上新建了 centos7 的 instance ,亲测没有问题
    vultr 没用过不清楚,祝你好运!
    xiaoz
        4
    xiaoz  
       2017-01-18 09:08:20 +08:00
    @hongxin vultr 我也是用的秋水逸冰的一键脚本,测试可以正常升级内核。
    leeger
        5
    leeger  
       2017-01-18 09:09:57 +08:00
    我的也是一件脚本,正常哦~~~
    hongxin
        6
    hongxin  
       2017-01-18 09:12:41 +08:00
    @xiaoz 秋水真是好人,对于我这种懒人来说一键安装最方便了
    xiaoz
        7
    xiaoz  
       2017-01-18 09:28:36 +08:00
    @hongxin 是的,我还用他的一键 ss 脚本,哈哈。
    ooxxcc
        8
    ooxxcc  
       2017-01-18 09:30:00 +08:00
    重启之后给 dmesg 啊,难道让别人瞎猜问题所在么。。
    Valyrian
        9
    Valyrian  
    OP
       2017-01-18 09:41:01 +08:00   ❤️ 1
    @hongxin
    @xiaoz
    @leeger
    我也用了,看来脚本在 gce centos 7 不行。。
    lucifer9
        10
    lucifer9  
       2017-01-18 09:47:36 +08:00   ❤️ 2
    看下 /etc/fstab ,是不是有写 barrier=1 啥的,下次重装的时候删了这个,改成 defaults 然后再换内核就行了
    hongxin
        11
    hongxin  
       2017-01-18 10:03:44 +08:00
    @Valyrian 那就用 centos6 吧,我就是 6 用一键脚本,用到现在了
    kenshin912
        12
    kenshin912  
       2017-01-18 10:48:35 +08:00
    换 Ubuntu 啦 , 手动换也就几分钟搞定的 .
    ahillgian
        13
    ahillgian  
       2017-01-18 15:35:36 +08:00
    请问在 console - IAM&Admin - Service accounts 有几个账户, 我目前在用 GCE, 但是另外还有一个 App Engine 的服务账户, 可不可以删除?
    hazaki
        14
    hazaki  
       2017-01-18 20:16:39 +08:00
    你可以试试 fedora25 现在官方内核 4.9.3 不用折腾 正好也是 redhat 系
    Lentin
        15
    Lentin  
       2017-04-08 22:11:12 +08:00
    @hazaki gce 自带没有 fedora25 该怎么加上?
    yhxx
        16
    yhxx  
       2017-05-05 01:03:17 +08:00   ❤️ 1
    遇到一样的问题

    root 用户下 mount -o remount rw /
    就可以了
    Sequencer
        17
    Sequencer  
       2017-06-23 14:03:58 +08:00
    @yhxx 我也遇到了这个问题 除了用启动脚本重新挂载之外不知道有没有什么根治方法?
    mythhack
        18
    mythhack  
       2017-06-24 14:21:01 +08:00
    @yhxx 关键是如何连进去。。。。
    iamark
        19
    iamark  
       2017-07-03 16:29:12 +08:00   ❤️ 1
    我用 centos7 同样问题,解决步骤用了回复里面的. 1 在 /etc/init.d/rc.local 里面手工加了一行 mount, 2. 修改 /etc/fstab,把 barrier 去掉, 不知道哪一步解决的,结果是好了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2581 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:39 · PVG 23:39 · LAX 08:39 · JFK 11:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.