一个新装的系统,总共有8块盘。sda用来装系统,其他的盘挂载在home分区下面。但是有一块盘老实挂载不上,提示如下错误:
[root@nmg01-tuku-ccdb124.nmg01.baidu.com ~]# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sdg1,
or too many mounted file systems
然后我尝试着重新分区并格式化硬盘,用parted命令,然后mkfs.ext4 /dev/sdg1,也还是不行。因为是菜鸟,所以不大会排查错误,dmesg和message里面的信息如下:
dmesg:
[root@nmg01-tuku-ccdb124.nmg01.baidu.com ~]# dmesg |grep error
sas: ata7: end_device-6:0: dev error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
sas: sas_eh_handle_sas_errors: task 0xffff880473598000 is done
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
sas: sas_eh_handle_sas_errors: task 0xffff880871c1eb40 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1ea00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e780 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e8c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e640 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f7c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e140 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e500 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870571040 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e3c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e280 is done
sas: sas_eh_handle_sas_errors: task 0xffff8808705703c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1e000 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570500 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1ec80 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570640 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1edc0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570780 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1ef00 is done
sas: sas_eh_handle_sas_errors: task 0xffff8808705708c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f040 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570a00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f180 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570b40 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f2c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570c80 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f400 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570dc0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f540 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870570f00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880871c1f680 is done
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
sas: sas_eh_handle_sas_errors: task 0xffff88086fdd6640 is done
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
sas: sas_eh_handle_sas_errors: task 0xffff8808705743c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574500 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574640 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574780 is done
sas: sas_eh_handle_sas_errors: task 0xffff8808705748c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574a00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574b40 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574c80 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575cc0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574dc0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870574f00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575040 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575180 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8e780 is done
sas: sas_eh_handle_sas_errors: task 0xffff8808705752c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8e8c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575400 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8ea00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575540 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8eb40 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575680 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8ec80 is done
sas: sas_eh_handle_sas_errors: task 0xffff8808705757c0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8edc0 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575900 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8ef00 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575a40 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8f040 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575b80 is done
sas: sas_eh_handle_sas_errors: task 0xffff880470c8f180 is done
sas: sas_eh_handle_sas_errors: task 0xffff880870575e00 is done
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
ata9.00: NCQ disabled due to excessive errors
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sd 6:0:2:0: [sdg] Add. Sense: Unrecovered read error - auto reallocate failed
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sas: ata9: end_device-6:2: cmd error handler
sas: ata7: end_device-6:0: dev error handler
sas: ata8: end_device-6:1: dev error handler
sas: ata9: end_device-6:2: dev error handler
sas: ata10: end_device-6:3: dev error handler
res 51/40:08:00:08:2c/00:00:22:00:00/e0 Emask 0x9 (media error)
ata9.00: error: { UNC }
sd 6:0:2:0: [sdg] Add. Sense: Unrecovered read error - auto reallocate failed
[root@nmg01-tuku-ccdb124.nmg01.baidu.com ~]#
message的信息:
[root@nmg01-tuku-ccdb124.nmg01.baidu.com ~]tail /var/log/messages
Aug 17 20:18:02 nmg01-tuku-ccdb124 crond(pam_unix)[11149]: session closed for user root
Aug 17 20:20:01 nmg01-tuku-ccdb124 crond(pam_unix)[15621]: session opened for user root by (uid=0)
Aug 17 20:20:01 nmg01-tuku-ccdb124 crond(pam_unix)[15621]: session closed for user root
Aug 17 20:22:14 nmg01-tuku-ccdb124 passwd(pam_unix)[20814]: password changed for root
Aug 17 20:22:15 nmg01-tuku-ccdb124 sshd(pam_unix)[20849]: session opened for user root by root(uid=0)
Aug 17 20:22:17 nmg01-tuku-ccdb124 kernel: EXT4-fs (sdg1): VFS: Can't find ext4 filesystem
Aug 17 20:26:16 nmg01-tuku-ccdb124 kernel: EXT4-fs (sdg1): VFS: Can't find ext4 filesystem
Aug 17 20:30:01 nmg01-tuku-ccdb124 crond(pam_unix)[8053]: session opened for user root by (uid=0)
Aug 17 20:30:01 nmg01-tuku-ccdb124 crond(pam_unix)[8053]: session closed for user root
Aug 17 20:33:35 nmg01-tuku-ccdb124 kernel: EXT4-fs (sdg1): VFS: Can't find ext4 filesystem
[root@nmg01-tuku-ccdb124.nmg01.baidu.com ~]#
如上面dmesg里面的信息显示的,是不是说明sdg出现了比较严重的错误,需要演艺吗?