这几天有点奇怪。我刚刚注意到 dmesg 中有很多错误消息。
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=4118263528, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0xf577b6e0 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=727907056, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0x2b62fae8 ("xfs_trans_read_buf_map") error 5 numblks 8
[11:34:02 2020] attempt to access beyond end of device
[11:34:02 2020] dm-5: rw=32, want=727907056, limit=102432768
[11:34:02 2020] XFS (dm-5): metadata I/O error: block 0x2b62fae8 ("xfs_trans_read_buf_map") error 5 numblks 8
我正在运行开放SUSE 13.1带内核3.11.6-4-默认
dmesg 报告对应的时间 备份脚本启动时。这是一个备份过程:使用lvm对分区进行快照,然后,我创建一个压缩包到共享 NFS 中。
lvcreate -L50000M -s -n backup_part /dev/server/DATA
mount -o nouuid,ro /dev/server/DATA /DATAbackup
umount /DATAbackup
lvremove -f /dev/server/DATA
dm-5 对应于脚本完成后为快照创建的新 lvm 卷。挂载已卸载,分区已删除。
# ls -al /dev/server/DATA
lrwxrwxrwx 1 root root 1 Aug 31 14:05 /dev/server/DATA -> ../dm-5
控制器(raid5 硬件 - MegaCli64)不报告任何问题,无论是磁盘还是卷。他们都很健康。
我可能必须启动xfs_修复。但我想更多地了解这些错误。
可能是主原始分区/dev/服务器/数据我用来快照的文件已损坏?