Failed to deploy ‘renren-factory Dockerfile: renren-factory/renren-factory-server/Dockerfile’: {“message”:“Error processing tar file(exit status 1): Error cleaning up after pivot: remove /.pivot_root162611078: device or resource busy”}

手动安装,升级内核

开启 BBR 要求 4.10 以上版本 Linux 内核,可使用如下命令查看当前内核版本

uname -r

3.10.0-514.10.2.el7.x86_64

如果当前内核版本低于 4.10,可使用 ELRepo 源更新: http://elrepo.org/tiki/tiki-index.php

导入公钥

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

要为RHEL-安装ELRepo 7,SL- 7或CentOS- 7:

rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

要为RHEL-安装ELRepo 6,SL- 6或CentOS- 6:

rpm -Uvh https://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm

要使用ELRepo的镜像系统,请同时安装yum-plugin-fastermirror。

安装内核

yum --enablerepo=elrepo-kernel install kernel-ml -y

安装完成后,查看已安装的内核:

rpm -qa | grep kernel

kernel-tools-3.10.0-957.1.3.el7.x86_64
kernel-3.10.0-957.1.3.el7.x86_64 kernel-3.10.0-957.el7.x86_64
kernel-tools-libs-3.10.0-957.1.3.el7.x86_64
kernel-ml-4.20.0-1.el7.elrepo.x86_64

在输出中看到类似kernel-ml-4.20.0-1.el7.elrepo.x86_64的内容,表示安装成功。

修改grub2引导

egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \'

CentOS Linux (4.20.0-1.el7.elrepo.x86_64) 7 (Core) CentOS Linux
(3.10.0-957.1.3.el7.x86_64) 7 (Core) CentOS Linux
(3.10.0-957.el7.x86_64) 7 (Core) CentOS Linux
(0-rescue-40b6222317d24a7690053e4070fadddb) 7 (Core)

由于序号从0开始,设置需要的内核为启动项

grub2-set-default 0
reboot

重启完成后,重新登录并重新运行uname命令来确认你是否使用了正确的内核:

uname -r

得到如下结果则升级成功:

4.20.0-1.el7.elrepo.x86_64

Error cleaning up after pivot: remove /.pivot_root162611078: device or resource busy相关推荐

  1. rm: cannot remove ‘.nfs00000000066962660000031b‘: Device or resource busy

    1.当你ssh在本地登陆服务器之后vim编辑文件时突然网络断开,然后再次登陆重新编辑的时候会有.swp 文件, 只需要给临时文件删除了就可以继续编辑. 2.但是如果你重新连接之后,直接把你刚才的工作目 ...

  2. Linux rm -rf 之rm: cannot remove `linux': Device or resource busy

    2017年1月19日,清理linux服务器上一目录时出现灵异事件,居然有rm -rf不能删除的东西,排除用户进程占用,但是最后我还是把它给删掉了.     处理过程如下: [oracle@se31 ~ ...

  3. rm: cannot remove directory `misc': Device or resource busy

    rm: cannot remove directory `misc': Device or resource busy 解决方法: [root@crmnormal misc]# cat /etc/mi ...

  4. 使用fswebcam报错Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy或者使用metion监控,画面为灰色

    一,BUG解决 不知道大家使用树莓派的时候,有没有遇到过使用fswebcam报错Error selecting input 0 VIDIOC_S_INPUT: Device or resource b ...

  5. 驱动加载错误:insmod: error inserting 'hello.ko': -1 Device or resource busy

    一:insmod时候错误: 1:错误信息insmod: error inserting 'hello.ko': -1 Device or resource busy 2:原因:你的代码里面的设备号和系 ...

  6. docker rm时提示device or resource busy问题解决

    1.现象复现,提示device or resource busy docker rm -f recom-engine-service Error response from daemon: drive ...

  7. docker 磁盘问题:device or resource busy

    问题:[root@hdp-gp-dk02 ~]# docker start 01ea65845e45 Error response from daemon: Cannot start containe ...

  8. 删除K8S集群的/var/lib/kubelet目录报Device or resource busy错误解决方法

    无法删除/var/lib/kubelet目录 [root@k8s-node2 k8s_node]# rm -rf /var/lib/kubelet rm: cannot remove '/var/li ...

  9. rm -rf xxx遇到device or resource busy

    文章目录 删除数据遇到报错信息: 查找原因: 删除数据遇到报错信息: 异常信息: [root@kVM12345679-0 root]# rm -rf /mnt/* rm: cannot remove ...

最新文章

  1. SQL Server误区30日谈-Day21-数据损坏可以通过重启SQL Server来修复
  2. 第三道深搜-----------hdu1016
  3. CodeForces - 1203F1 Complete the Projects (easy version)(贪心)
  4. POJ 1442 Black Box(大小堆,求第K小的元素)
  5. π里包含了所有可能的数字组合吗?
  6. 高并发异步uwsgi+web.py+gevent
  7. (100)FPGA RAM实现(V实现)
  8. linux下截图软件 shutter
  9. 三星gsat笔试容不容易通过
  10. 2017年信息学奥赛NOIP普及组试题
  11. TSL2561 STM32驱动程序
  12. iOS 初学者功能代码大集合,个人笔记
  13. 一文看懂Python的多进程通信
  14. 幽默感也有套路:可用数学模型量化
  15. 硅光电二极管检测电路
  16. element el-table 计算指定列
  17. 【拒绝花里胡哨】运维实用手册shell篇(无废话,全程暴力干货)
  18. linux shadow文件*,Linux怎么查找shadow文件进入这样几步轻松搞定
  19. 源码安装ROS Melodic Python3 指南 (转) + 安装记录
  20. PHP开发人员的8个分布式计算谬论

热门文章

  1. 工厂系列系统之 MES 系统13 产品追溯
  2. 计算机专业计算机组装与维修随堂练,广东省创新杯说课大赛计算机专业类一等奖作品:cpu安装于维护教学设计...
  3. html自动序号函数代码,自定义自动编号函数
  4. IOS版aplayer使用教程_MT4交易软件安装使用教程(IOS苹果手机版)
  5. 从零开始托福考试全攻略
  6. 数学分析笔记16:重积分
  7. 【Dexie.js 踩坑】Failed to execute ‘transaction‘ on ‘IDBDatabase‘
  8. 水果店销售技巧有哪些,水果店销售说话技巧有哪些
  9. openId -( 关注者Id )如何获取 open ID
  10. Android高德地图路线规划,自定义图层(overlay),所有点和线刚好显示在屏幕中心