找回密码
 注册
查看: 391|回复: 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# T! h! k. }2 ?: I7 t' N8 l! i1 v
mount: /thinker/storageT: mount(2) system call failed: Structure needs cleaning.
# l" w# y: A+ V7 }4 E% Q5 F[root@gm268-1 ~]# xfs_repair -L /dev/rbd0p1
# e4 i' \1 u3 q  z4 ZPhase 1 - find and verify superblock...$ ~9 x* z6 R- J# M4 z# V( O
        - reporting progress in intervals of 15 minutes9 {& z; V& j# |
Phase 2 - using internal log
# K% f3 s! w0 |  F        - zero log...
) a& m, m6 V) k- D        - scan filesystem freespace and inode maps...! w: o( D7 o4 _: Q. ~
sb_ifree 3259, counted 3269
4 ]3 {2 E  V  Z, `1 f% fsb_fdblocks 2943143246, counted 2980579097! R( B% T, C" G" O
        - 11:38:34: scanning filesystem freespace - 32 of 32 allocation groups done
, O, A; D0 h* m6 e2 t3 B4 f        - found root inode chunk9 z# |9 i( Q4 M, I1 f2 W2 `
Phase 3 - for each AG...
/ C7 y' `- M. ~+ F8 ]- p! b. T        - scan and clear agi unlinked lists...
/ z0 F; U8 e) ?% ^        - 11:38:34: scanning agi unlinked lists - 32 of 32 allocation groups done+ X0 {. e# @+ E" @
        - process known inodes and perform inode discovery...
) s9 I1 L& J3 Q        - agno = 15
0 X; }* Q6 I6 k' o' m0 J        - agno = 30" q% o& p- i" n' e- g
        - agno = 0- n1 n: s: f4 m* t8 h
corrected directory 128 size, was 99, now 32
, o+ L4 N0 f! R& b6 S0 {- F6 cimap claims a free inode 132 is in use, correcting imap and clearing inode
4 m  r* H4 h3 x; {  ^, C. v1 v; Qcleared inode 132, d3 b5 e% o0 \5 P7 v' m
imap claims a free inode 134 is in use, correcting imap and clearing inode
6 O$ l4 G; b/ q2 O. @& a! R& ecleared inode 134
+ Z; E. h: A4 O) himap claims a free inode 135 is in use, correcting imap and clearing inode7 x( Q# F' u+ F. y6 w5 a
cleared inode 135
3 f. U- b! w8 I, O2 eimap claims a free inode 136 is in use, correcting imap and clearing inode
" @, f0 A% {1 R" s2 Y/ u" }cleared inode 1365 j# T9 T0 W5 O8 E0 O
imap claims a free inode 137 is in use, correcting imap and clearing inode" p6 r* l/ |& i: @" ?0 Q- D
cleared inode 137) p* h0 N- Z6 L# h  E' B- M1 Q
imap claims a free inode 138 is in use, correcting imap and clearing inode6 `6 Y4 @# z" R" Y
cleared inode 1387 s3 u0 N/ `1 ?3 |0 @7 L
imap claims a free inode 139 is in use, correcting imap and clearing inode. l! j" F; e" h0 ]- b9 `. w
cleared inode 139
6 r$ ?8 o: X3 x7 [9 timap claims a free inode 140 is in use, correcting imap and clearing inode+ z) |, T- p4 K5 p' |7 c# i
cleared inode 140& L* @6 y8 F; Y6 w5 d
imap claims a free inode 141 is in use, correcting imap and clearing inode$ z+ {  Z# S1 T, r& U' g* q0 \
cleared inode 141
7 }8 }6 E9 u$ jimap claims a free inode 142 is in use, correcting imap and clearing inode4 {" Q/ I! R* o1 |9 m, ?7 }
cleared inode 142
& l2 S+ P  m0 ^imap claims a free inode 143 is in use, correcting imap and clearing inode* o1 D  |  }* H9 c, t
cleared inode 143) m% J0 s+ U! n( c2 G* M4 Q
imap claims a free inode 144 is in use, correcting imap and clearing inode$ a- p6 t- y/ g  x- [7 _
cleared inode 144
: d* D' g  u3 k9 P7 H: w1 oimap claims a free inode 145 is in use, correcting imap and clearing inode
+ L! ]2 p" t  `6 l6 Scleared inode 145% y" A+ t8 A9 k  _
imap claims a free inode 146 is in use, correcting imap and clearing inode( H+ \# ]2 {6 j
cleared inode 146" q0 i9 v& r! ]* z
imap claims a free inode 147 is in use, correcting imap and clearing inode; v4 R4 u% m4 [( `( N3 V7 f
cleared inode 147
+ }7 K9 o2 X! p8 e/ Pimap claims a free inode 148 is in use, correcting imap and clearing inode( x8 m6 R+ d/ y
cleared inode 148
+ @. K3 K/ k3 C( M; f9 Bimap claims a free inode 149 is in use, correcting imap and clearing inode
2 ], H0 Z" `7 H5 D  B. k/ Z6 t7 Tcleared inode 149
% V3 F6 H; t8 }5 U+ b3 C/ Bimap claims a free inode 150 is in use, correcting imap and clearing inode3 k, v4 a% w& d; ?4 j6 `8 o4 F
cleared inode 150
4 M7 m+ i/ b1 `$ C# Mimap claims a free inode 151 is in use, correcting imap and clearing inode
9 q. C/ A  b6 l# vcleared inode 151
: H8 d+ s* ?: [  d0 j  B) w& e6 Oimap claims a free inode 152 is in use, correcting imap and clearing inode- M9 n& {' u1 {- p
cleared inode 152
, H2 o9 F. g  A, l: ?0 k% ~imap claims a free inode 153 is in use, correcting imap and clearing inode
. S9 A9 f( V6 n1 `" M7 L' hcleared inode 153) _9 t( x2 x8 F( Y* t$ B( G4 U3 k
imap claims a free inode 154 is in use, correcting imap and clearing inode
6 a+ }$ X: D) K# Wcleared inode 154* t/ F6 R* a5 u/ {4 l& g; _% d
imap claims a free inode 155 is in use, correcting imap and clearing inode1 }3 |7 m8 Q8 A- l! ]6 {% h  r
cleared inode 1555 X  J5 e/ d8 W: Y3 J. O/ [: t8 R
imap claims a free inode 156 is in use, correcting imap and clearing inode- p5 ~* ]9 ?/ J0 T! K' n. R, l. O. h
cleared inode 1562 Q$ o( p/ u) L9 O. v
imap claims a free inode 157 is in use, correcting imap and clearing inode
3 o$ ~4 Y4 ?4 ^9 Ncleared inode 157
( B8 f4 W0 u/ X, K5 M7 R4 cimap claims a free inode 158 is in use, correcting imap and clearing inode
; n9 Y' V# Q9 V1 S9 ^cleared inode 158
+ F! L, w+ D; o+ `/ mimap claims a free inode 159 is in use, correcting imap and clearing inode
( U) x" s$ P3 i- v! X7 icleared inode 1595 W/ ?3 E( p. w4 F9 ]6 e% I2 E
        - agno = 16
: o3 O8 o2 B. @5 B- H* V% x0 P        - agno = 1
/ x  C0 u' |! V# p* Q: [. I        - agno = 170 N/ |+ r& d, f+ O/ [; g( [
        - agno = 26 P" p0 U* Z7 O  k
        - agno = 31* O. D$ [- l6 y. ?2 z7 E
        - agno = 184 D9 m4 B" S5 J$ x1 Y6 Z
        - agno = 34 s- m8 V5 X& V; N5 Z; I
        - agno = 19
4 L' S" z0 ^% O5 @: Q+ h        - agno = 4! }3 j& F) z# w3 M
        - agno = 208 _0 a, }1 U; l8 u! P
        - agno = 5
9 ^: ?- v: N) W( c9 S5 A        - agno = 21
! z  q& u3 U% D& L2 \9 d; A; B) g0 _        - agno = 22
. O( d4 n- L8 |, f9 T; ?4 h        - agno = 6& m5 @' X) d  c8 X' H
        - agno = 23
' t" ?) r# z# T        - agno = 7
/ R0 R# A! p" B" I  n4 j3 w* C        - agno = 240 g, }" G4 T0 C. S/ `
        - agno = 8
  ]+ }1 j8 s. J( v# I+ T* }  @        - agno = 25+ }9 q! h" h: W7 m. e" p
        - agno = 26
& F3 k5 b2 o- ?  `( b$ B$ a" {1 Z        - agno = 9, |! o" g# t! f# E, I
        - agno = 108 h6 Q3 |/ }4 y8 M* k
        - agno = 27- Y+ `, Z0 o5 M% g: x* p0 i, U
        - agno = 11
0 y9 @$ t8 n* `+ z, @7 z        - agno = 28+ K. J+ L% [! P# ^# ?
        - agno = 12' U% ^# w$ L+ P7 o% F
        - agno = 29
7 ]! [; W7 c6 s$ `8 T1 t' \5 Z        - agno = 13  a2 x4 C; ]7 Z' h/ @
        - agno = 14
! y& E  b: m0 M$ z  }9 s        - 11:38:42: process known inodes and inode discovery - 403712 of 403712 inodes done* S! V8 n5 i3 j6 H8 w
        - process newly discovered inodes.../ |6 }( k" O% H6 M9 J
        - 11:38:42: process newly discovered inodes - 32 of 32 allocation groups done7 I' ]( Q, e) x4 t
Phase 4 - check for duplicate blocks.... s4 @* R5 G" ?3 j" ?$ N
        - setting up duplicate extent list...
* j. X7 O" O8 m- E1 T7 J0 s0 W2 @0 l        - 11:38:42: setting up duplicate extent list - 32 of 32 allocation groups done1 {! ]" l( i9 ~* U
        - check for inodes claiming duplicate blocks...
0 f$ V2 S8 x- v  O$ r        - agno = 0
6 \; V! C6 Y+ X        - agno = 6. ^( r5 m# t0 p: V; Q" Z
        - agno = 14) y: Q( @* n7 ^* u* c+ z4 s
        - agno = 13$ I) S, J' C. T& M( A5 H6 M
        - agno = 8: h# m8 |5 `) v
        - agno = 50 u" ]% e; o2 [( x$ x+ i
        - agno = 10, t# y" V6 b/ W! m$ d: @0 c0 U( H
        - agno = 9
) D: Q& Y$ F" ~) {! I        - agno = 12
- Q5 v/ o* F8 Y( c$ h7 B! x' C        - agno = 15
3 K3 W0 C# ^# x9 G$ H& m- S        - agno = 161 T) f5 F( O; o" L9 b
        - agno = 4
! ?+ c, |  f" v1 D: i: l$ S6 K        - agno = 1
( p$ Z) C% P! K        - agno = 11
8 p' V8 ?1 f* ^* s2 ~" S        - agno = 17
+ P' r) z9 e3 w6 t$ ^* W% n% t+ u3 K+ M2 J        - agno = 18* A& o$ w6 P, ?* c# b3 P
        - agno = 20
. g, U$ Y# n# u/ A        - agno = 3# D$ P9 D+ X$ Q: u5 b' D- r2 t
        - agno = 21& [! d/ d6 h  N4 B: t
        - agno = 2. y, S) N% p- d3 X
        - agno = 19' A4 `, B- D4 h+ f8 M, {) m* C/ Z
        - agno = 22
2 I8 k( o1 B( u# B1 ^/ ~        - agno = 23
- N% n4 j9 t% v+ G  H' f, z$ D        - agno = 24( M3 }. K& i: W7 F5 W/ w: P5 z  B
        - agno = 26' P' Z0 `, O: v
        - agno = 25* D  O! O: X% c
        - agno = 27  d7 M$ s! g+ W2 J
        - agno = 28
1 l9 @% ~( _2 ^" l5 z        - agno = 7* j# u( Q, B' _9 u& M9 `
        - agno = 30
$ `  w( a7 V; F! H( a! T        - agno = 29
" c9 O( x' x: f3 h) V9 k        - agno = 315 ~# Y  A( O7 m2 Y  w$ p# ?% o8 A
entry "041N" at block 10 offset 192 in directory inode 36507222144 references free inode 136
7 R+ {) Z( B+ x2 l6 ^' p        clearing inode number in entry at offset 192...
+ q' W$ E" \: A' {9 X+ [entry "057N" at block 10 offset 704 in directory inode 36507222144 references free inode 139: [* z+ C0 B/ y% A" R
        clearing inode number in entry at offset 704...
9 x+ d' o7 B# M+ x8 ]entry "078N" at block 10 offset 1216 in directory inode 36507222144 references free inode 142
! J/ s$ [9 v: K* a+ b! j2 `        clearing inode number in entry at offset 1216...
# s9 B4 \) u; gentry "094N" at block 10 offset 1728 in directory inode 36507222144 references free inode 1452 L, K1 j  M7 k, A$ _/ k
        clearing inode number in entry at offset 1728...
1 f5 X, b# h  v  d' l! ?entry "128N" at block 10 offset 2240 in directory inode 36507222144 references free inode 148
  S5 v4 K" C; \. M- z9 A' H        clearing inode number in entry at offset 2240...& V9 P; G, j! t3 P$ j5 D
entry "157N" at block 10 offset 2752 in directory inode 36507222144 references free inode 1516 ?5 {3 t, g& Y: T4 S
        clearing inode number in entry at offset 2752...
3 w- J& Q9 A" ?/ centry "179N" at block 10 offset 3264 in directory inode 36507222144 references free inode 154, j1 L- z9 d$ H  T3 u& r
        clearing inode number in entry at offset 3264...
# |/ e0 A- B  `; aentry "200N" at block 10 offset 3776 in directory inode 36507222144 references free inode 157& }0 L( I) S! g- s/ G
        clearing inode number in entry at offset 3776...5 C& `6 j' b# Y
clearing reflink flag on inode 172236498910 O9 Q2 G& D3 u' V4 ]
        - 11:38:42: check for inodes claiming duplicate blocks - 403712 of 403712 inodes done& {  \1 Q& z1 ?6 M+ ]% A5 ]( y& B
Phase 5 - rebuild AG headers and trees...
* d2 k. u( h$ G9 D" ~+ I% ^        - 11:38:42: rebuild AG headers and trees - 32 of 32 allocation groups done
8 @5 u' y$ @0 [7 m: G
2 b6 K- y2 q' n. C( a; D8 v- B8 U( C) w9 ?6 U# j' i) @5 t& r# }8 ~/ y" B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:41 , Processed in 0.026668 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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