mount: Structure needs cleaning

[root@pc4 ~]# mount /data2

mount: Structure needs cleaning


[root@pc4 ~]# xfs_repair -L /dev/vgcb0 
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ALERT: The filesystem has valuable metadata changes in a log which is being
destroyed because the -L option was used.
        - scan filesystem freespace and inode maps...
agi unlinked bucket 16 is 252816 in ag 0 (inode=252816)
sb_icount 2977088, counted 2639872
sb_ifree 1752667, counted 1398980
sb_fdblocks 243437595, counted 241668641
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
7ff4a425e700: Badness in key lookup (length)
bp=(bno 126400, len 16384 bytes) key=(bno 126400, len 8192 bytes)
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 2
        - agno = 3
        - agno = 0
        - agno = 1
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
disconnected inode 252816, moving to lost+found
Phase 7 - verify and correct link counts...
done
[root@pc4 ~]# 
[root@pc4 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             194G  5.2G  179G   3% /
tmpfs                  63G   72K   63G   1% /dev/shm
/dev/sda2             194M   32M  152M  18% /boot
/dev/sda4              20G  196M   19G   2% /tmp
/dev/vgca0            2.1T  1.2T  938G  55% /data1
[root@pc4 ~]# mount /data2

你可能感兴趣的:(Linux)