找回密码
 注册
查看: 394|回复: 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$ n$ P3 s, N( i4 K0 Y! u1 k. }
mount: /thinker/storageT: mount(2) system call failed: Structure needs cleaning.
" A4 p. p5 k; t1 @( j# i[root@gm268-1 ~]# xfs_repair -L /dev/rbd0p1 8 p# L4 E; ]( X0 J$ r$ `0 Y9 P8 G
Phase 1 - find and verify superblock...
  x, v- c" R. R* ?9 K0 l8 F8 |7 A        - reporting progress in intervals of 15 minutes) _  Z5 A% g, T8 a' y. S/ c; v
Phase 2 - using internal log# y/ l9 i8 M5 T# }+ k0 R
        - zero log...
! K& O% m. Z/ k' y6 e        - scan filesystem freespace and inode maps...( ^. K" @( i! ~( ~, z( }
sb_ifree 3259, counted 3269
' _! \+ A3 Y6 y% ~" M! ?8 S$ F! esb_fdblocks 2943143246, counted 2980579097
% E5 b- \; a+ p: z% N        - 11:38:34: scanning filesystem freespace - 32 of 32 allocation groups done- n! h. G4 U5 X* f' A( _3 m
        - found root inode chunk
* h2 o( P" h1 v; z; FPhase 3 - for each AG...% m* b4 E( A( t. B
        - scan and clear agi unlinked lists...: G: ?; n( R/ i' l% C" Y) _+ o& V
        - 11:38:34: scanning agi unlinked lists - 32 of 32 allocation groups done
0 k, }; J  h. n" @        - process known inodes and perform inode discovery...
, r& A  W  k8 e5 v. k$ i        - agno = 15
3 l3 t' a! D/ L* g3 [$ T' E        - agno = 306 V1 T! f+ A. H4 d! D
        - agno = 01 K$ K" k# ^, j0 ^% v7 A6 J0 c4 [
corrected directory 128 size, was 99, now 32
+ `) \( S: z( w& timap claims a free inode 132 is in use, correcting imap and clearing inode
4 C2 h* F4 W; m) E; D3 V- Ecleared inode 132
6 u: }* Z; o( Nimap claims a free inode 134 is in use, correcting imap and clearing inode
- d) u" q$ Z0 Q5 m) ^" a9 F, icleared inode 134; ^! M- {% h+ D
imap claims a free inode 135 is in use, correcting imap and clearing inode
# b" e6 W* K# z3 T+ ucleared inode 1350 v% d' L, C0 K- K
imap claims a free inode 136 is in use, correcting imap and clearing inode: `3 K0 @% i$ L5 z9 T3 h7 `
cleared inode 136
+ y2 V! F( k( ^; i$ vimap claims a free inode 137 is in use, correcting imap and clearing inode" P" S& `" A, |2 \3 @: z2 m( f
cleared inode 137
# |7 G5 Z! P( u3 r" Zimap claims a free inode 138 is in use, correcting imap and clearing inode* v% D" D8 Z; O# r4 r' Z
cleared inode 138
8 h7 C& p- |$ l7 `+ q5 Ximap claims a free inode 139 is in use, correcting imap and clearing inode, _0 _* c% x, h  h
cleared inode 139
0 f5 K8 Z9 I3 vimap claims a free inode 140 is in use, correcting imap and clearing inode$ i& r# t$ ~+ j2 h! I6 E1 J
cleared inode 140: ]; H* }5 z9 P3 R
imap claims a free inode 141 is in use, correcting imap and clearing inode
, `& A  ]4 `/ F0 G- Q) u7 J: ccleared inode 141% L& Q! m% h4 x  E
imap claims a free inode 142 is in use, correcting imap and clearing inode
$ l3 B3 V# [5 X  E* T4 @cleared inode 142
+ D( P: D& }7 L9 s+ e5 L- aimap claims a free inode 143 is in use, correcting imap and clearing inode
# A2 E2 i* H) N; Y& ?cleared inode 143
0 ^; m& M  f5 _/ S3 Vimap claims a free inode 144 is in use, correcting imap and clearing inode' ]' K$ c0 [3 @% \3 D
cleared inode 1445 r* f2 f% k  {5 w' h
imap claims a free inode 145 is in use, correcting imap and clearing inode: W5 k8 \. E2 }0 o" W) g: ~
cleared inode 1450 ?, W' P6 U4 X* h/ g
imap claims a free inode 146 is in use, correcting imap and clearing inode
, J9 I; ~5 s+ o% t. J4 \- R0 Qcleared inode 146
7 a) I! x3 U+ S) U% b3 n, w. d5 h) _7 Bimap claims a free inode 147 is in use, correcting imap and clearing inode
. ?" a- Z/ ]% G8 A& ncleared inode 147
" o5 y/ B* z8 N, U3 V5 dimap claims a free inode 148 is in use, correcting imap and clearing inode
" x- @( i+ g. `. [7 Z6 qcleared inode 1482 C; [: {2 {  S' i3 S
imap claims a free inode 149 is in use, correcting imap and clearing inode; w$ K5 N6 ^6 M. i
cleared inode 149) ~8 Z- k) c/ ?% r  x
imap claims a free inode 150 is in use, correcting imap and clearing inode
9 A7 U* ?, L2 _3 g( o- I* [cleared inode 150
  @5 d) b% {# A0 l& T( c- U9 o/ _imap claims a free inode 151 is in use, correcting imap and clearing inode
: P6 D  e, V( w1 h& j' I4 T; ocleared inode 151+ S3 q4 @" S0 e& S9 d6 e
imap claims a free inode 152 is in use, correcting imap and clearing inode3 c$ {; I' `, r' j2 n# R6 l
cleared inode 152
6 V. S  e1 P' `; D/ Cimap claims a free inode 153 is in use, correcting imap and clearing inode
+ n, O2 ~" }. m2 x+ ?- Tcleared inode 153
9 U3 Z3 D) G% @imap claims a free inode 154 is in use, correcting imap and clearing inode% g/ J6 z/ }; W, k/ }6 ~' n. P- L
cleared inode 154) X' E/ m# N- U* R: W/ ]6 O" Q
imap claims a free inode 155 is in use, correcting imap and clearing inode
0 [: J6 k7 s3 G$ T9 mcleared inode 155
0 {2 o2 k% t; n% F( Iimap claims a free inode 156 is in use, correcting imap and clearing inode
- ~: u9 l7 O& }- ecleared inode 156' x6 z2 C* w, w* o
imap claims a free inode 157 is in use, correcting imap and clearing inode
0 I: `( z( @* {- y. |2 W$ Ecleared inode 157
; U6 U/ |: v6 b2 m5 G( n8 Nimap claims a free inode 158 is in use, correcting imap and clearing inode
1 i7 Q+ l2 S+ k# L( ~& T8 Kcleared inode 158
$ F1 u9 d$ K- N0 \# C, E! w4 Eimap claims a free inode 159 is in use, correcting imap and clearing inode
! w1 G* g- B+ R5 dcleared inode 159  i0 V) B1 r7 S8 I& u
        - agno = 16
6 K3 i% s0 B9 `: a3 G4 @        - agno = 1* Q3 Y) A. Q  o  U! p
        - agno = 178 p' e" b5 p( ?( n
        - agno = 2
- E, P) M( G; j' V, {        - agno = 31( B; K9 f  r, Z' i! {2 l
        - agno = 18
/ A7 U. A+ [" `        - agno = 3
, `3 S9 W1 S" r$ c6 m# a        - agno = 19
: A4 l* W' s" O9 }; u        - agno = 4" j/ m* F$ k! M% J4 [6 c" w/ D
        - agno = 20
0 U/ l( i' U/ M, O( G        - agno = 5
& ^! C8 ]3 H& _        - agno = 219 S! M, e) w6 r  L& c
        - agno = 22( \* R  o0 H$ e: z  O/ I) o
        - agno = 6
# @- O1 Y" ~; J& @. S  D( b+ J        - agno = 23
% P. P/ \+ a- ~! Q8 ?        - agno = 7
* b1 b9 ]( m5 a) a/ s2 _        - agno = 24
+ ~/ a2 H9 g8 w7 G4 o        - agno = 8  A# \5 X$ D' E
        - agno = 25/ e4 G, u) @0 f8 ~, i
        - agno = 26
: T5 q1 c- w5 y" o        - agno = 9& M2 M/ |4 O% s8 [. |8 m
        - agno = 10
- }! M4 S" K& X4 C4 E  P; o        - agno = 27& i7 m+ Q( m; D3 B. @
        - agno = 11
7 m' s1 o$ t- o% @9 H        - agno = 281 `, z) f2 x! i. e( L% y7 _( Q" Z3 e
        - agno = 12$ \6 U( c0 f9 g
        - agno = 29
) `$ u+ N$ n: Z& |- p        - agno = 13. ^( u8 b; v8 P# Q4 J
        - agno = 14" ?1 P, d- ]  w
        - 11:38:42: process known inodes and inode discovery - 403712 of 403712 inodes done: i& I% F6 m1 m. p2 b
        - process newly discovered inodes...
. y( z: k) q, i, q; F9 l. i        - 11:38:42: process newly discovered inodes - 32 of 32 allocation groups done: z- P9 v8 c# |( _& c# q
Phase 4 - check for duplicate blocks...
- p5 a  G5 j& ^3 l$ t' p( T        - setting up duplicate extent list...4 N4 o1 r  H+ U
        - 11:38:42: setting up duplicate extent list - 32 of 32 allocation groups done
- L, ?+ h& Z  a3 h% Q" E1 I& z        - check for inodes claiming duplicate blocks...
/ A' z8 [# G( M. g! W        - agno = 0' M( T# Y+ [! J& _
        - agno = 60 ]3 _1 ?* E! x+ R% L$ f- E
        - agno = 14; l* A+ ^, {% I0 [+ y5 F8 @
        - agno = 134 A8 |4 g) |2 e/ [- B; W& L
        - agno = 8
4 w. j8 \: c5 V        - agno = 5
1 I0 ?( Z' G9 t7 E! w: U' Z7 q2 X+ W        - agno = 105 i* J1 x# S: W/ S6 c
        - agno = 9
# j0 P0 F9 ^5 J$ g        - agno = 12% B( ]+ J, Q* q- K, \
        - agno = 15  V" O4 \5 F) V% ]/ G: m- ^. W# ?! o
        - agno = 16. w7 a9 W! w6 X3 ]2 C
        - agno = 4- M" _6 M1 o; z6 {6 A5 G8 M- _7 Q. \
        - agno = 1
) O# j& T+ X5 c        - agno = 11
. ?, B. ]5 f3 P( b9 H1 U        - agno = 17
* k) h) O# i0 p( G3 g        - agno = 181 A- L0 A- |- t; A
        - agno = 206 q4 g0 g" |. l' n3 K& e, _1 P
        - agno = 3" ~; O0 h, S6 L$ M; ]# R
        - agno = 21& ^" i9 E9 m6 W& i
        - agno = 2
  ~- D, \3 G, }        - agno = 19
/ Y7 X: y0 S0 q* ~1 \8 ?# A        - agno = 22
" Q; W( T! j+ Y6 A+ Z8 u8 Y        - agno = 23% A+ s  d3 _. F% k
        - agno = 24* V$ f1 p& J; G% n6 S
        - agno = 263 ?# {1 W" O( Y# m. M' Z# s
        - agno = 25$ l1 O% Z! \' e! \; }
        - agno = 27
5 Z% P. `2 s8 a. Y# a) N        - agno = 28
, f/ v# {0 E6 R+ Z: t* a  O        - agno = 7
4 m2 j* Q" W1 P* a& T9 I+ p' u        - agno = 301 @, x" k) V+ N- h: ?( ~5 w$ f& W( _# X2 d
        - agno = 29& Q, v0 A* _! Q2 F; w
        - agno = 31
1 K( P" y! y6 L! @; Y( I2 k4 oentry "041N" at block 10 offset 192 in directory inode 36507222144 references free inode 136
! l# y! V+ i1 d) m* Y6 O        clearing inode number in entry at offset 192...) W3 h3 ?( l+ ~
entry "057N" at block 10 offset 704 in directory inode 36507222144 references free inode 139
' v. K- y: x2 i" Q. ]) D        clearing inode number in entry at offset 704...
7 h( L, m1 A$ I/ l: ]* kentry "078N" at block 10 offset 1216 in directory inode 36507222144 references free inode 142: x9 w: o: ]. N; h
        clearing inode number in entry at offset 1216...
6 c0 v; o0 L( ~& O4 Ventry "094N" at block 10 offset 1728 in directory inode 36507222144 references free inode 145; Y. o; i3 {/ k* Y3 D
        clearing inode number in entry at offset 1728...
* |8 s) G, U( R3 J1 rentry "128N" at block 10 offset 2240 in directory inode 36507222144 references free inode 148
- C4 J; n6 J( v. B: \/ O; R! L        clearing inode number in entry at offset 2240...1 o, N2 F0 \3 ?. t4 N% Y: M* x/ b9 a' w
entry "157N" at block 10 offset 2752 in directory inode 36507222144 references free inode 151
0 s, S  [- u% N- O        clearing inode number in entry at offset 2752...
& M- [& L4 J$ _% q) y1 B" bentry "179N" at block 10 offset 3264 in directory inode 36507222144 references free inode 154; a8 P! l- |6 S; W
        clearing inode number in entry at offset 3264...
  P2 ^% p% f2 ^) ^8 E* x# |entry "200N" at block 10 offset 3776 in directory inode 36507222144 references free inode 157# g4 g3 N: @0 `: _
        clearing inode number in entry at offset 3776...1 F+ R+ h: w3 I- ~( }
clearing reflink flag on inode 17223649891
& W2 C  N8 k5 |2 l, y8 V        - 11:38:42: check for inodes claiming duplicate blocks - 403712 of 403712 inodes done
$ `' L# ~. b  q" G- [. c$ rPhase 5 - rebuild AG headers and trees...1 P2 K7 Z. D/ I& ?* A8 J) C
        - 11:38:42: rebuild AG headers and trees - 32 of 32 allocation groups done
. i  c, T  O$ h  M5 |$ \  k  s+ j( x% ~
$ ^( r  k1 g2 w! ?% o! p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 01:47 , Processed in 0.018991 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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