安装ubuntu卡在检测硬盘_检查ubuntu硬盘坏道和读写测试

本文介绍了在遇到安装Ubuntu时硬盘检测卡住的问题,通过使用fio工具进行磁盘的读写性能测试来排查故障。首先安装fio,然后详细解释了fio的参数设置,并展示了测试示例及结果分析,帮助确定问题在于网络还是硬盘。
摘要由CSDN通过智能技术生成

遇到了磁盘写的问题,服务器一直超时,找不到问题,怀疑是网络问题,和磁盘问题,通过排除法,确定是某一台机器有问题,下面开始分析是磁盘问题,还是网卡问题,网卡采用iperf去做测试,本例只讲磁盘的检测:

采用工具是fio测试磁盘的读写性能,本例只以顺序写为例测试。

先安装fio

$ apt-get install fio

#出现 [Y/n] 时输入y即可,安装信息如下所示:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

formencode-i18n libbabeltrace-ctf1 libbabeltrace1 libcephfs2 libcurl3 libgoogle-perftools4 libjs-jquery libjs-sphinxdoc libjs-underscore libleveldb1v5 libpython2.7

libradosstriper1 librgw2 libsnappy1v5 libtcmalloc-minimal4 libunwind8 python-cephfs python-cffi-backend python-cherrypy3 python-cryptography python-dnspython python-enum34

python-flask python-formencode python-idna python-ipaddress python-itsdangerous python-jinja2 python-logutils python-mako python-markupsafe python-openssl python-paste

python-pastedeploy python-pastedeploy-tpl python-pecan python-prettytable python-pyasn1 python-rados python-rbd python-repoze.lru python-requests python-rgw python-routes

python-simplegeneric python-singledispatch python-tempita python-urllib3 python-waitress python-webob python-webtest python-werkzeug

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:<

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值