找回密码
 注册
查看: 393|回复: 0

mount(2) system call failed: Structure needs cleaning. mount报错解决问题

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-6-5 11:41:05 | 显示全部楼层 |阅读模式
[root@gm268-1 ~]# mount /dev/rbd0p1 /thinker/storageT
! n, P$ y- r" t# Wmount: /thinker/storageT: mount(2) system call failed: Structure needs cleaning.
: a, P6 `7 t" p  I7 U: P3 y[root@gm268-1 ~]# xfs_repair -L /dev/rbd0p1 , G4 K1 T+ n# l" H; r
Phase 1 - find and verify superblock...
5 K/ B- m5 B+ b) h        - reporting progress in intervals of 15 minutes" A9 J% P& [, c3 d) Z. Z2 `
Phase 2 - using internal log
. f0 q7 k( z0 r5 w2 R- E        - zero log...& h9 T& p+ w* R
        - scan filesystem freespace and inode maps...
/ B2 Z6 m1 a/ L( [' @sb_ifree 3259, counted 32693 @9 K' S- I/ ~' N
sb_fdblocks 2943143246, counted 2980579097
' M- p. w0 V* c) X" P  d( n3 R+ v" ?        - 11:38:34: scanning filesystem freespace - 32 of 32 allocation groups done
' F4 l" M: b( p- u9 R3 v# U        - found root inode chunk) [+ l4 G8 ^: ], x" O3 S, [3 c; i
Phase 3 - for each AG...
# p+ d2 }% j3 {* H5 V        - scan and clear agi unlinked lists...
  n9 g0 |1 J, X) g, W# ]        - 11:38:34: scanning agi unlinked lists - 32 of 32 allocation groups done
( A$ ?4 }) H( Z7 O; e4 q3 e  q        - process known inodes and perform inode discovery...
9 c& [+ k( \1 U( m        - agno = 15
5 b3 D4 `2 Z: Q3 x        - agno = 30  G+ J) s$ I& y8 W
        - agno = 0
! G$ N5 o6 t' ?% m/ E: Dcorrected directory 128 size, was 99, now 328 k# U: a! C9 ~1 T1 k" K
imap claims a free inode 132 is in use, correcting imap and clearing inode
5 Y) M* Y0 [5 D3 j; P( U( ~! ucleared inode 1323 v$ r; @( u. |1 t5 Q2 ]  o
imap claims a free inode 134 is in use, correcting imap and clearing inode# z$ r5 e4 {  E
cleared inode 134, m3 T5 |% Y" a  p0 t7 Y
imap claims a free inode 135 is in use, correcting imap and clearing inode
' A' m" y2 H: x8 N- x; Qcleared inode 135
7 E1 H# [2 s7 N' G, A/ Q6 gimap claims a free inode 136 is in use, correcting imap and clearing inode. T; L; H  V: ~: ~# B: V4 H. }
cleared inode 136
0 z+ u6 e7 O4 _+ Cimap claims a free inode 137 is in use, correcting imap and clearing inode
% f& n4 x! D! r1 n& B4 icleared inode 137/ L- ^; W& J9 q3 h  [9 z5 N
imap claims a free inode 138 is in use, correcting imap and clearing inode
' J) z5 U- Z! ?, Jcleared inode 138
8 \; x( h6 r% Y5 j- Fimap claims a free inode 139 is in use, correcting imap and clearing inode
, T1 q. |4 J, v3 bcleared inode 139
/ j% i1 h! ~. \* a& timap claims a free inode 140 is in use, correcting imap and clearing inode
$ W% H8 Y& I: q8 e/ Ecleared inode 140
8 b$ `9 C9 {; Z, Oimap claims a free inode 141 is in use, correcting imap and clearing inode0 u) F+ S4 {. y4 N" r0 |9 f, L: R
cleared inode 141
$ ^1 V# t9 _; ]$ v, Dimap claims a free inode 142 is in use, correcting imap and clearing inode
8 {+ w* H! u- k; D& Ncleared inode 142
  P3 {& i5 g# L& O, Aimap claims a free inode 143 is in use, correcting imap and clearing inode! `+ w2 y8 u* c& G
cleared inode 143; q5 ]3 r7 r0 A6 @, o% b
imap claims a free inode 144 is in use, correcting imap and clearing inode: w3 q3 H4 I2 b5 N) p: H! |8 ?
cleared inode 144
' H4 l' ]3 p- u& z% g5 i6 Bimap claims a free inode 145 is in use, correcting imap and clearing inode3 J+ _5 Y" c& s" I
cleared inode 145
7 \& N8 Y5 z) M; N) _5 simap claims a free inode 146 is in use, correcting imap and clearing inode* |" x2 E) i, E" z  a) X
cleared inode 1460 P" L, I* i3 s& a. i* t
imap claims a free inode 147 is in use, correcting imap and clearing inode* j6 q8 ]- u* E, `5 g0 N# f
cleared inode 1479 h5 `& o3 C$ ^- b: a
imap claims a free inode 148 is in use, correcting imap and clearing inode
& ?2 o; G- R, \$ S, Lcleared inode 148
2 x3 P! a5 W9 P& x) w% ^imap claims a free inode 149 is in use, correcting imap and clearing inode
& `% i' P+ X& @cleared inode 149
/ a! u+ y& Q, d7 {$ G) Z: y& }imap claims a free inode 150 is in use, correcting imap and clearing inode$ b6 J2 X- W. M( H& w
cleared inode 1500 |1 M: t7 B  I( A. u$ w
imap claims a free inode 151 is in use, correcting imap and clearing inode
" A, {) k* b* F7 t: x: F) ncleared inode 151
4 q2 h9 U+ p' j* A) [6 e6 aimap claims a free inode 152 is in use, correcting imap and clearing inode
5 m5 ^, v7 H0 t& M, L% ccleared inode 152
) z; _5 @' r, Fimap claims a free inode 153 is in use, correcting imap and clearing inode. U# m, N8 H* u! ]! G
cleared inode 153
8 x$ r! E9 c; @/ ?* c! A5 N8 Jimap claims a free inode 154 is in use, correcting imap and clearing inode9 ^+ L9 @+ ^3 M. H
cleared inode 154
: K/ ]: P( r& e) Fimap claims a free inode 155 is in use, correcting imap and clearing inode
; |7 E* V8 Q$ Y8 w* l3 Z1 D7 W) ^5 Wcleared inode 155/ D4 I+ c4 x  c0 b
imap claims a free inode 156 is in use, correcting imap and clearing inode  ~- s1 `/ L7 p, V$ I- ^
cleared inode 156
$ i3 g0 g; ^- x. f' X5 Qimap claims a free inode 157 is in use, correcting imap and clearing inode
, n" \2 d% {, \3 `cleared inode 1573 ~# O9 t. E& S' e* U, y
imap claims a free inode 158 is in use, correcting imap and clearing inode
2 R4 k$ B, f  p" O% a; Ecleared inode 158) z/ f8 m! `6 g: M1 s* i; C2 m, D) h
imap claims a free inode 159 is in use, correcting imap and clearing inode
/ I4 c' X* K& scleared inode 159' H& l: l( K2 U- X  F
        - agno = 169 J9 C# K/ t; u" D- `$ k+ K
        - agno = 1
$ t$ J0 O! \! \! x( Y! j        - agno = 17
& s/ i% D6 x' x        - agno = 2
* m" x& }* J" Y& ~. Q3 T' L: \8 Z        - agno = 31" Y8 F2 S+ Q8 `2 w, E7 q' O; m" x
        - agno = 181 P. s( e# ]! t$ C9 I' S) C
        - agno = 3
! ^, V- `. \4 }        - agno = 19
& K+ z- d6 J  i+ Z& G        - agno = 4$ B/ a& |8 F( G- U" L2 p* }/ S
        - agno = 20! \/ N$ {9 m4 l% A0 U5 f1 _& _( W
        - agno = 5( r2 O! I2 D/ G8 _3 \  o; I6 b
        - agno = 21& L/ o% b7 l+ @
        - agno = 22
* Z3 r* |; G0 l: A' R        - agno = 6; X  Z: X5 {6 L& a6 j
        - agno = 23$ Z. C+ w& Z8 K& \% n
        - agno = 7* z4 [! _0 k4 A9 `
        - agno = 243 E- p2 N% G, J. \5 w
        - agno = 8- c8 M6 S* _/ l2 ]+ U; u5 I, s
        - agno = 25
2 L. K) h( J4 P7 R        - agno = 26& g. |+ ~# G& o* D) z
        - agno = 9* ^0 \8 ?. X7 V; N. I' [# b
        - agno = 10
3 k' U( S6 H: w        - agno = 279 C0 ~4 C# H, R! t, Y7 o! s& Q
        - agno = 11) v0 E$ M( i$ R+ k; J1 }. v
        - agno = 28# P9 s& F  f/ s6 i
        - agno = 12
7 a6 h! A- v/ ^; X        - agno = 29* w! q" k: N2 F
        - agno = 13
+ ~0 g; b5 L/ D2 U; Q. i        - agno = 14
, @( t# k# ?- F$ T# R5 L& h        - 11:38:42: process known inodes and inode discovery - 403712 of 403712 inodes done
/ p' v% Y0 s: {6 y        - process newly discovered inodes...
* p5 j! K9 r5 m- @8 j5 x% F2 a0 u        - 11:38:42: process newly discovered inodes - 32 of 32 allocation groups done
0 {: Z* ^: w$ w) n9 E1 ^; ?Phase 4 - check for duplicate blocks...6 G* Z+ ~. u; Z: e7 G7 L
        - setting up duplicate extent list...
; V) Y( v5 A. ?' }9 P+ B: Q        - 11:38:42: setting up duplicate extent list - 32 of 32 allocation groups done
' _. U7 _0 o4 }0 f, i) r6 s0 D        - check for inodes claiming duplicate blocks..." ?( I7 r5 D- x+ x5 ?" f8 Q
        - agno = 0
) U7 `" M0 _" i8 }: a4 h+ O        - agno = 6
/ J/ j" r# o; g0 S: X- k. y        - agno = 14
( Y. j+ h4 ^1 k        - agno = 13* m8 o9 r" `' z. G0 b# k  s9 j) }
        - agno = 81 a2 ?$ C( U6 F. e: ^. k
        - agno = 55 D) ^0 J+ Q3 G) E4 I/ M* W& q
        - agno = 108 L  _/ R5 o' P. v7 @5 F+ a+ p; |3 Q
        - agno = 95 v& D5 a6 m9 |3 h+ ~: w
        - agno = 124 M: z# y3 c) U# R6 y
        - agno = 15- e# w0 P. b. E" O" b6 \
        - agno = 16, @# }/ m+ Z* W* S8 V
        - agno = 4
( A0 C; B- _0 M" E) W( u        - agno = 1* i( M5 k5 U8 \
        - agno = 11+ i  p. Q  \; m' }- i, R( Y
        - agno = 17* P9 H4 R0 H3 N  ?6 u$ z: B$ K
        - agno = 18
1 u6 k; J4 t3 J$ j/ M, M5 l4 a) [7 o        - agno = 20
, c2 O. p+ Y: ?8 d5 q        - agno = 3% m6 D7 Q) O# ^8 p; v
        - agno = 21
' K* }9 B; _; m- ]        - agno = 2
$ h/ B" Z9 ^" l' S; ~4 J        - agno = 19
3 x9 P0 q0 l7 R; Q" r        - agno = 22
3 J! m. N) Q+ p, z        - agno = 238 W+ {& b/ A/ @3 q+ f. r
        - agno = 243 {4 ^& U9 X8 m
        - agno = 26
4 n0 T1 t- {+ S# u1 A        - agno = 256 [! l, M7 z: ?8 Q
        - agno = 275 c& A: G6 h, k+ C- w
        - agno = 287 w# x7 g4 g$ Q/ ^4 {- B
        - agno = 7
& N0 v$ y/ W* H        - agno = 30
. |7 V. c9 Y, o, J" d        - agno = 29/ L  u4 H. s9 e( ?5 {
        - agno = 31+ B% b0 O6 Y" F4 W) k  B- W( O2 G
entry "041N" at block 10 offset 192 in directory inode 36507222144 references free inode 1362 h3 q0 Y7 Q- |2 W" [+ [
        clearing inode number in entry at offset 192...
. A% p1 E. p+ J: ]entry "057N" at block 10 offset 704 in directory inode 36507222144 references free inode 1396 _% p! w4 \. @; p! L' O
        clearing inode number in entry at offset 704...- V* R2 G) [& w( N6 a, J8 H1 I) ^" t4 a
entry "078N" at block 10 offset 1216 in directory inode 36507222144 references free inode 142
# f& T* c7 j' h& j2 q/ B; p        clearing inode number in entry at offset 1216...
% S! h9 y/ J4 t5 Centry "094N" at block 10 offset 1728 in directory inode 36507222144 references free inode 145
6 m' A9 _% _1 c) a        clearing inode number in entry at offset 1728...) M$ K) ?7 O, r0 V$ i9 R" l
entry "128N" at block 10 offset 2240 in directory inode 36507222144 references free inode 1480 I  ?' ]0 x( s$ @- g* c( Y9 [$ O
        clearing inode number in entry at offset 2240...8 K, R/ ]* P; o* k+ H
entry "157N" at block 10 offset 2752 in directory inode 36507222144 references free inode 1511 }6 s9 c5 u: l7 v# P( \
        clearing inode number in entry at offset 2752...
! U1 p8 g; ?. n  C) h7 u% M' F( Xentry "179N" at block 10 offset 3264 in directory inode 36507222144 references free inode 154, \) d/ i! |/ q; ^* B+ H
        clearing inode number in entry at offset 3264...
2 F4 Z, }; Z- J! Jentry "200N" at block 10 offset 3776 in directory inode 36507222144 references free inode 157; U9 A) r5 o) h4 C  T9 }0 \
        clearing inode number in entry at offset 3776..., K  x; Q  W; \) J& B, J
clearing reflink flag on inode 17223649891
! W# l) b9 I$ }$ d" n        - 11:38:42: check for inodes claiming duplicate blocks - 403712 of 403712 inodes done5 _; x3 p4 _9 S8 u# J* k
Phase 5 - rebuild AG headers and trees...0 R# r% f/ A8 {% l" j" C. v
        - 11:38:42: rebuild AG headers and trees - 32 of 32 allocation groups done" x* L6 L0 Q; T
; S2 q/ ~3 J: Q$ w2 o* _% W
! U5 ?) K9 U: h3 f  y
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:44 , Processed in 0.015966 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表