dell服务器运维,施用smartctl查dell服务器坏道实录
使用smartctl查dell服务器坏道实录
一、执行命令:
# smartctl -a /dev/sda
smartctl version 5.38[x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page ishttp://smartmontools.sourceforge.net/
Device: SEAGATE ST3300657SS Version: ES64
Serial number: 6SJ175BR
Device type: disk
Transport protocol: SAS
Local Time is: Tue Feb 21 15:23:46 2012 CST
Device supports SMART and is Enabled
Temperature Warning Disabled or NotSupported
SMART Health Status: OK
Current Drive Temperature: 40 C
Drive Trip Temperature: 68 C
Elements in grown defect list: 16
Vendor (Seagate) cache information
Blocks sent to initiator = 1990352432
Blocks received from initiator = 2738959193
Blocks read from cache and sent to initiator = 35795691
Number of read and write commands whose size <= segment size =423851654
Number of read and write commands whose size > segment size = 0
Vendor (Seagate/Hitachi) factoryinformation
number of hours powered up = 7208.00
number of minutes until next internal SMART test = 58
Error counter log:
Errors Corrected by Total Correction Gigabytes Total
ECC rereads/ errors algorithm processed uncorrected
fast | delayed rewrites corrected invocations [10^9 bytes] errors
read: 1029069625 28 0 1029069653 1029069653 1016.060 0
write: 0 0 0 0 0 8091.799 0
verify: 126342 0 0 126342 126342 3.000 0
Non-medium error count: 13
SMART Self-test log
Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ]
Description number (hours)
# 1 Background long Failed insegment --> 24 7196 435567298 [0x30x11 0x0]
# 2 Background short Completed 16 7194 - [- - -]
# 3 Background short Completed 16 7170 - [- - -]
# 4 Background short Completed 16 7146 - [- - -]
# 5 Background short Completed 16 7122 - [- - -]
# 6 Background long Completed 16 7100 - [- - -]
# 7 Background short Completed 16 7098 - [- - -]
# 8 Background short Completed 16 7074 - [- - -]
# 9 Background short Completed 16 7050 - [- - -]
#10 Background long Completed 16 7028 - [- - -]
#11 Background short Completed 16 7026 - [- - -]
#12 Background short Completed 16 7002 - [- - -]
#13 Background short Completed 16 6978 - [- - -]
#14 Background short Completed 16 6954 - [- - -]
#15 Background long Completed 16 6932 - [- - -]
#16 Background short Completed 16 6930 - [- - -]
#17 Background short Completed 16 6906 - [- - -]
#18 Backgroundshort Completed 16 6882 - [- - -]
#19 Background long Completed 16 6860 - [- - -]
#20 Background short Completed 16 6858 - [- - -]
Long (extended) Self Test duration: 3200seconds [53.3 minutes]
二、查看硬盘分区
#fdisk –lu
Disk/dev/sda: 300.0 GB, 300000000000 bytes
255heads, 63 sectors/track, 36472 cylinders, total 585937500 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 83 Linux
/dev/sda2 208845 585922679 292856917+ 8e Linux LVM
三、确认坏区位置
# echo 'scale=5;(435567298 - 208845) * 512/4096'|bc *512是1个Units512字节,/4096是每个块设备是4096字节
54419806.62500 处于第五个扇区,8个扇区1个块,0.125*5=0.625
说明在54419806这个块的第5个扇区有问题,接下来查看下出问题的地方是否有文件使用了
四、查看是否有文件在使用坏区
# debugfs
debugfs 1.39 (29-May-2006)
debugfs: open /dev/mapper/VolGroup00-LogVol02 #打开/dev/mapper/VolGroup00-LogVol02
debugfs: icheck 54419806 #Print a listing of the inodes which use the one ormore blocks specified on the command line
Block Inode number
54419806 50659332
debugfs: ncheck 50659332 #Take the requested list of inode numbers, and print alisting of pathnames to those inodes.
Inode Pathname
50659332 /database/jhl_2918_x5/mysql/ibdata1 #找到了有文件处于坏区位置
debugfs:
dell服务器运维,施用smartctl查dell服务器坏道实录相关推荐
- 服务器运维难题之300台服务器如何管理
300台服务器,对于站长人群来说,已经屡见不鲜,甚至有机房会有十几万台的服务器,在大数据的情况下,运维人员必须学会管理服务器,那么如何去管理好它们呢,市面上有几款远程桌面,下面我们来分析一下: 1:i ...
- 服务器运维基础知识,IDC机房服务器运维基础知识
机房的服务器的维护是机房运维工作的重点,合理的机房环境对于服务器来说是非常的重要的,随着这年经济的发展,机房也在不断的在很多的方面进行调整,今天我们学习IDC机房服务器运维基础知识. 1.关于电力 ( ...
- 高性能Linux服务器运维实战,《高性能Linux服务器构建实战》笔记
系统安全.故障排查.自动化运维.集群架构 1.账号安全,安装完后可以删除的账号: adm,lp,sync,shutdown,halt,news,uucp,operator,games,gopher 禁 ...
- 服务器运维是什么意思?日常工作包含哪些?
[导读]越来越多的人开始从事服务器运维工作了,但很多人不清楚服务器运维到底是什么意思?日常工作包含哪些?服务器运维用什么软件好?因此我们小编针对着三家问题进行了详细解答,希望可以帮到大家. 服务器运维 ...
- 从hilinux.com架设谈网站或其他服务器运维
从hilinux.com架设谈网站或其他服务器运维 原帖 http://hilinux.com/bbs/thread-600-1-1.html 看到chinaunix最近出的门户网站运维板块veyro ...
- 【微学堂】线上Linux服务器运维安全策略经验分享
技术转载:https://mp.weixin.qq.com/s?__biz=MjM5NTU2MTQwNA==&mid=402022683&idx=1&sn=6d403ab447 ...
- 华为服务器维修报告,服务器运维报告
服务器运维报告 内容精选 换一换 可以.华为和SAP合作伙伴给客户提供端到端的服务,包括线下到线上的迁移服务,系统升级服务,ECC升级到S4,数据库更换服务(Oracle/DB2更换成HANA),系统 ...
- 如何批量运维服务器论文,win 服务器 批量管理 服务器运维利器
由于做服务器运维方面的工作,需要一人对近千台服务器进行统一集中的管理,如同时批量对服务器执行相关的指令.同时批量对LINUX服务器upload程序包.同时批量对LINUX服务器download程序包. ...
- Linux服务器运维/虚拟主机-李强强-专题视频课程
Linux服务器运维/虚拟主机-170人已学习 课程介绍 Linux服务器就是采用Linux系统的网络服务器,同时也有采用windows的服务器,作用是类似的.而Linux并不是一个特 ...
- 服务器开发系列(五)——服务器运维
系列文章目录 服务器开发系列(一)--计算机硬件 服务器开发系列(二)--Jetson Xavier NX 服务器开发系列(三)--Linux与Windows操作系统基础功能对比 服务器开发系列(四) ...
最新文章
- POI LastRowNum and PhysicalNumberOfRows
- dart系列之:HTML的专属领域,除了javascript之外,dart也可以
- centos7添加新网卡实现双IP双网关
- HTML 元素和属性--备份
- GitOps—通过CI/CD自动化构建虚拟机模版
- 从零学ELK系列(四):Docker安装Elasticsearch(超详细图文教程)
- Supervisor使用说明
- JAVA日期时间相关库
- linux 内存坏了,Linux的缓存内存 Cache Memory详解
- Linux 杀死stuck线程,如何中断weblogic中stuck thread
- 访问服务器 信号灯超时时间已到,win7系统分区提示信号灯超时时间已到怎么办...
- linux 安装 迅雷
- 高尔顿钉板概率模型的实现
- 计算机网络中的数据传输方式—同步传输和异步传输
- 软考成绩什么时候出来?
- Windows命令行窗口 - DOS 指令
- Homework 1 : Knowledge items of C++ (part 1)
- 陈阳,她离开微软,投身开源10年!只管热爱,无问西东
- 服务器2008临时文件夹删除,Windows2008修改文件夹所有者
- 2023中国程序员薪酬报告出炉,你拖后腿了吗?