Error Figura:
[ 2.430354] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 3.852S62] XFS (dm-0): Metadata corruption detected at xfs_agi_write_verify+8xb5/0>«:0 [xfs]> xfs _agi block 0xl?7f002 [ 3.852991] XFS (dm-0): Unmount and run xfs_repair [ 3.853004] XFS (dm-0): First 64 bytes of corrupted metadata buffer: [ 3.053019] ffff9bef?5d3a6的:58 41 4? 49 00 00 00 01 00 00 00 01 00 2e fe 00 XAGI........................ [ 3.053039] ffff9bef?5d3a610: 00 00 48 00 00 01 3d 16 00 00 00 02 00 00 00 8d ........ [ 3.0530591 ffff9bef?5d3a620: 00 0a 5b 40 ff ff ff ff ff ff ff ff ff ff ff ff ••[(?...................... [ 3.053079] ffff9bef75d3a630: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff .................... [ 3.853102] XFS (dm-0): Corruption of in-memory data detected. Shutting down filesystem [ 3.853121] XFS (dm-0): Please umount the filesystem and rectify the problem(s) [ 3•0M521] systemd-fstab-generator[444]: Failed to open /sysroot/etc/fstab: Input/output error Generating "/run/in itramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journaletl” to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
Refiriéndose a resolver el método en línea es:
xfs_repair /dev/dm-0
He utilizado anteriormente, este método realmente resolvió mi nodo node01, pero cuando nos maestro de nodo para ejecutar el error de comando:
xfs_repair: cannot open /dev/dm-0: Device or resource busy
Luego de error de símbolo de un vistazo más de cerca y vi la pieza clave de información:
[ 3.852991] XFS (dm-0): Unmount and run xfs_repair
Me solicita, es necesario desmontar, y luego ejecutar el comando xfs_repair
Por lo tanto, tenemos que umount, pero no sugiere la necesidad umount algo, dm-0 es un enlace blando centos-raíz, por lo
umount /dev/mapper/centos-root
xfs_repair -v -L /dev/mapper/centos-root
reboot
Las máquinas virtuales se pueden reutilizar
Autor: seis de pez volador
enlace: https: //www.jianshu.com/p/4b88b8e95690
Fuente: libros de Jane
tienen derechos de autor por el autor. reimpresión comercial póngase en contacto con el autor autorizada, reimpresión no comercial por favor indique la fuente.