How to read ERROR properly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi XFS team,

We have our storage with XFS. I wonder how’s the proper workflow for troubleshooting xfs_error that shows up in the kernel logs.

I’ve seen various different failed so far. It’s not easy to address the root cause by reading kernel logs. For this case, how can I know the meaning of Internal error XFS_WANT_CORRUPTED_RETURN at line 163 of file fs/xfs/xfs_dir2_data.c. Caller xfs_dir3_block_verify+0x7a/0x90 [xfs] ?


[Mon Sep 10 07:34:14 2018] XFS: Internal error XFS_WANT_CORRUPTED_RETURN at line 163 of file fs/xfs/xfs_dir2_data.c. Caller xfs_dir3_block_verify+0x7a/0x90 [xfs] 
[Mon Sep 10 07:34:14 2018] [<ffffffffa040504b>] xfs_error_report+0x3b/0x40 [xfs] 
[Mon Sep 10 07:34:14 2018] XFS (sdq): xfs_log_force: error 5 returned. 
[Mon Sep 10 07:34:44 2018] XFS (sdq): xfs_log_force: error 5 returned.


* For the same case, it pop up an ERROR while running xfs_repair. Is there any clue about how the disk run into bad situation?


[root@hugo-ubuntu ~]# xfs_repair /dev/sdq 
Phase 1 - find and verify superblock... 
- reporting progress in intervals of 15 minutes 
Phase 2 - using internal log 
- zero log... 
ERROR: The filesystem has valuable metadata changes in a log which needs to 
be replayed. Mount the filesystem to replay the log, and unmount it before 
re-running xfs_repair. If you are unable to mount the filesystem, then use 
the -L option to destroy the log and attempt a repair. 
Note that destroying the log may cause corruption -- please attempt a mount 
of the filesystem before doing this.


Thanks // Hugo



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux