Re: Metadata CRC error detected at xfs_bmbt block 0x1868f56bb0/0x1000

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

 



On Thu, Mar 17, 2022 at 10:31:47AM +0800, guodf wrote:
> 
> 
> Hello:
>      A fatal error occurred in the XFS file system of my production environment when I run the following command
>      error:
>     [root@localhost 0316]# xfs_metadump  -g -o -w /dev/centos/home xfs.img
> Metadata CRC error detected at xfs_agf block 0x187ffffe79/0x200
> xfs_metadump: cannot init perag data (-74). Continuing anyway.
> Copying free space trees of AG 10                          
> Metadata CRC error detected at xfs_bmbt block 0x1868f56bb0/0x1000
> 
> 
> xfs_metadump: invalid numrecs (65079) in bmapbtd block 48/220114342
> Copying free space trees of AG 22  Metadata CRC error detected at xfs_bmbt block 0x18a6ffeb38/0x1000
> 
> 
> xfs_metadump: invalid numrecs (39031) in bmapbtd block 49/81788312
> Metadata CRC error detected at xfs_bmbt block 0x19a1ffeda8/0x1000
> xfs_metadump: invalid numrecs (49606) in bmapbtd block 51/71302632
> Metadata CRC error detected at xfs_bmbt block 0x1a9cfff018/0x1000
> xfs_metadump: invalid numrecs (4194) in bmapbtd block 53/60816952
> Copying free space trees of AG 48   bad magic number
> 
> 
> xfs_metadump: cannot read superblock for ag 49
> Metadata CRC error detected at xfs_agi block 0x187ffffe7a/0x200
> Metadata CRC error detected at xfs_agfl block 0x187ffffe7b/0x200
> /usr/sbin/xfs_metadump: line 33:  6369 Segmentation fault      (core dumped) xfs_db$DBOPTS -i -p xfs_metadump -c "metadump$OPTS $2" $1
> 
> 
> I have two questions and hope to get your reply
> 1:Metadata CRC error detected at xfs_agfl block 0x187ffffe7b/0x200
> 
> What does the red font mean?What does it mean?

There are checksum errors in the metadata, which implies that something
weird happened with the storage (bitflips in the cable, torn writes,
broken disk firmware)...

> 2:How can I fix it

Send us a coredump and the xfs_db binary so we can try to fix this
crash, and run xfs_repair?

--D

> 
> 
> Thank you very much
> 



[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