易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 410|回复: 0
收起左侧

umount: /thinker/storageT: target is busy. 解决方法

[复制链接]
发表于 2023-6-7 17:02:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
[root@gm268-5 storageT]# ls
5 \8 n, S) |/ @5 M3 a  S  wls: cannot open directory '.': Input/output error5 P7 ^2 u. N7 A4 M  Q
[root@gm268-5 storageT]# cd
* b( K0 Z! B. L- `( V3 J$ W[root@gm268-5 ~]# df -h% X' \6 w: b+ t) }
Filesystem                                      Size  Used Avail Use% Mounted on
  P8 ^- T) W. D7 Q: @& j$ sdevtmpfs                                        126G     0  126G   0% /dev
# H) ]' x, a; \8 V+ Gtmpfs                                           202G   84K  202G   1% /dev/shm9 }9 T1 M0 C$ A; J0 B/ X
tmpfs                                           126G   30M  126G   1% /run
+ [- f( V# ^* R: h& Ftmpfs                                           126G     0  126G   0% /sys/fs/cgroup: H3 J9 Y0 l( {8 h6 b- ]; `% Z
/dev/sda4                                       192G   73G  110G  40% /& L; w$ z7 o7 D- E3 b* |! b9 a
/dev/mapper/vg_thinker-lv_thinker                96G   61M   91G   1% /thinker/rem
. y' A) F& ~: x+ i% a! r+ N( _( x/dev/sda2                                       2.9G  249M  2.5G  10% /boot, ^% P! H$ @" E3 i& i
/dev/sda3                                       480G  346G  111G  76% /home5 F3 ~. @: V0 i' e! D
tmpfs                                            26G  4.0K   26G   1% /run/user/20003
2 I2 k! c( \- M# U5 _* foverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/5581c52f8cdd0d573a310a802ceaab1b2cd280cc4bc385bd2cec07fdd0f73ee4/merged
; H2 W: Q0 t$ }5 w% P/ toverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/bfa1712790ddc4cb8d6a1c3a6e5ef6277a459c637db7514588625d902942fbe3/merged0 L8 Q4 V5 g+ H
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/a57c4c7f85ed3cf7415b0e366b88b02137b74cc118ae4672ebe70d25db6916e2/merged& J/ x4 F* E$ _7 E& O+ t  X0 z! o9 I! b3 w
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/4a61cc7cf2fb43473177d4cde5be9fc22688b1c2d3f43ea21cb48e9f77fd3300/merged6 ^/ k* R- s2 }9 p  D
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/1df97ddacd5cd4ecd275b42467bf20ea7ff1d374e487bbc21a25b6e114559918/merged
. o/ t9 \4 J( }5 I# Z4 aoverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/fe904ab6393351085292376cbe9d5ce7cc1ddddb1ea0d46591f8d6df4c506d09/merged
: w! H# V- g0 `* Y9 z# s) btmpfs                                            26G     0   26G   0% /run/user/0+ @7 o, ?" ]/ e4 |' G! M& U
10.12.1.2:6789,10.12.2.2:6789,10.12.3.2:6789:/  265T   56T  210T  21% /thinker/storage
- |% x7 {* p+ G2 q& Y/ R10.13.2.25:/thinker/storage                     769T  598T  172T  78% /thinker/tb269store
  P4 y5 ^* c4 e, x, `# U9 @/dev/rbd0p1                                      20T  9.0T   12T  45% /thinker/storageT4 Q  G* w+ h; G( |! L7 h
tmpfs                                            26G  4.0K   26G   1% /run/user/200092 c" G0 N2 W) P( m1 s, p* ~
[root@gm268-5 ~]# umount /dev/rbd0p1
! ?. w/ U( r1 X4 |/ o- t! uumount: /thinker/storageT: target is busy.0 n( L/ C5 ]& T
[root@gm268-5 ~]# cd /thinker/storageT$ q, K, f5 Z6 f" A. Z& R. q
[root@gm268-5 storageT]# ls; P* b, z) x' @1 X1 T3 n
ls: cannot open directory '.': Input/output error
7 i- G2 @% ^) p) b( z* W& l[root@gm268-5 storageT]# cd ..% A/ ?  Q" h! X" \; C  `0 o
[root@gm268-5 thinker]# ls% R$ q, z/ C( i& D3 l
ls: cannot access 'storageT': Input/output error
+ N( c) d- O3 U* ybin  ds-cli  dstools  etc  fastdata  globe  local  rem  storage  storageT  tb269store  tools
+ Q$ y9 L. w' J& U* p- \[root@gm268-5 thinker]# lsof /thinker/storageT
1 A9 M& k" ^! D/ \$ {4 J) I) Z, L5 llsof: WARNING: can't stat() xfs file system /thinker/storageT5 `* M" h8 f6 z- v6 N- f: g% D
      Output information may be incomplete.; ?- j  d9 g' w" m2 F  {) f# @
lsof: status error on /thinker/storageT: Input/output error/ Y& h$ q5 q, d7 L' P7 B
lsof 4.93.2- M; `  }( T2 F' ]7 [& [
latest revision: https://github.com/lsof-org/lsof- `% b3 N( I: ^# j8 Z7 P
latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ6 Y5 w& `$ i! @- n; T5 w
latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
) a! P+ n0 O! R8 P usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]( E0 F4 R( D2 M" p4 }
[-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]9 a* l$ F( o# e# A: f4 U* @/ b1 }- A
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
- V, }9 s- |! V9 R4 w/ }6 cUse the ``-h'' option to get more help information.# c' y) Q7 N3 k  I+ h  r) W
[root@gm268-5 thinker]# lsof -i /thinker/storageT
! b* y" ^1 L3 a- O, @3 z/ hlsof: unknown protocol name (/thinker/storageT) in: -i /thinker/storageT
7 n9 w  I# n3 X  y' X- llsof 4.93.2" d2 R1 D8 ]7 g- M- |8 E% ~
latest revision: https://github.com/lsof-org/lsof# W( P3 \5 }- U  }9 x
latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
' ~! U: J* O2 Q latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
# ~7 R0 e+ t; B# ]) u- M usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]' d+ r7 _$ N# f- C" [- V
[-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]1 o5 J& R, X0 M" k& D  @
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
* m1 q  N: e; }8 \" AUse the ``-h'' option to get more help information.2 f  b6 C( s& u" }
[root@gm268-5 thinker]# lsof  /thinker/storageT
: R* O. ?. r8 I" z9 _lsof: WARNING: can't stat() xfs file system /thinker/storageT
1 ^7 b% u' o9 s9 N$ ]$ j' d      Output information may be incomplete.3 L4 `0 n8 q: Y: c7 |
lsof: status error on /thinker/storageT: Input/output error
5 X( [" }! Z. D% `" y* I. L6 ?lsof 4.93.2
8 }9 A' e7 O% Q4 w. h% w# s latest revision: https://github.com/lsof-org/lsof
/ J5 N9 Y& z4 P1 N0 g5 {' b latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
0 t4 j6 }4 K( B* H latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8; |( S; B, m- ~/ b2 Z+ T5 M
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
# W$ g, C, |% Z8 S [-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
& |- Z0 T/ F8 a2 w5 ^: y; g. Z [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
3 E. z4 d% N4 g1 A2 x9 sUse the ``-h'' option to get more help information.# r! E1 i; P7 s8 s& Z
[root@gm268-5 thinker]# lsof /dev/
2 \) }) F5 l1 ]7 x$ UDisplay all 196 possibilities? (y or n)
; t' M( s- ], o$ y0 u$ y[root@gm268-5 thinker]# lsof /dev/rbd0p1
# I" J! v+ l7 \9 V5 n' ^* Mrbd0p1
: s2 ^6 i' F% i" r% L[root@gm268-5 thinker]# lsof /dev/rbd0p1 1 X( u* J5 H6 H+ D9 f
rbd0p1
3 ]: T- ~* U" y/ Q9 E( ^3 R6 q[root@gm268-5 thinker]# lsof /dev/rbd0p1 / C2 B5 S+ N) o
rbd0p1: P1 _- Z: }6 o* P3 k
[root@gm268-5 thinker]# lsof /dev/rbd0p1
! P' `8 ~. D  u& k5 }  elsof: WARNING: can't stat() xfs file system /thinker/storageT7 R5 p; P3 H" A; L3 _
      Output information may be incomplete.) @: C- p% y; y- w4 b8 v
[root@gm268-5 thinker]# lsblk 7 H4 D- M) y( \7 J: o
NAME                                                                                                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  f# n" w2 |0 w7 ysda                                                                                                     8:0    0   7.3T  0 disk & X3 R$ W& N8 _" p; k  r
├─sda1                                                                                                  8:1    0     1M  0 part
3 {4 t9 _8 U  m' b  Z4 Y' o; x├─sda2                                                                                                  8:2    0     3G  0 part /boot. K& r3 `# o' H3 l1 P
├─sda3                                                                                                  8:3    0 488.3G  0 part /home( }/ c; d/ u* `1 P$ W
├─sda4                                                                                                  8:4    0 195.3G  0 part /
, g' q% G1 W0 Z├─sda5                                                                                                  8:5    0  97.7G  0 part [SWAP]* m1 j0 L: g1 v5 m" B* n1 K. w
├─sda6                                                                                                  8:6    0  97.7G  0 part
9 J3 t6 [' w! |. @7 l% r│ └─vg_thinker-lv_thinker                                                                             253:0    0  97.7G  0 lvm  /thinker/rem9 f. c' g- g& r$ N3 o
├─sda7                                                                                                  8:7    0   1.3T  0 part
' L2 I8 R8 j$ U- x. q. O│ └─vg_thinker-remswap                                                                                253:1    0    32G  0 lvm  ) h: L  Y" D$ N0 d3 Y3 b' k
└─sda8                                                                                                  8:8    0   4.2T  0 part
1 L! }0 U- K/ i0 b/ g) \sdb                                                                                                     8:16   0  14.6T  0 disk 3 Q4 E" \. J! |& G. K5 p
└─ceph--a0e4549d--3cfb--4741--932d--81a4c07233f5-osd--block--bfe4f8b7--90a4--47bf--8cd9--9d9765f0c24e 253:5    0  14.6T  0 lvm  
3 M- {4 j. I" R. Zsdc                                                                                                     8:32   0  14.6T  0 disk
! r, V, u1 q( J0 Y1 [* z) u└─ceph--c6cbb4c7--9fd7--46bf--b990--493df45680ca-osd--block--132e71ba--344a--41f7--a162--34bb94bf43d7 253:2    0  14.6T  0 lvm  
% o. v/ q) a" C: c# Rsdd                                                                                                     8:48   0  14.6T  0 disk
6 N* a- b' S2 J+ R) N. P; [└─ceph--64c8725f--bdfd--4968--9f9c--8d212f0fc336-osd--block--8f39ebbf--9cba--4c32--a807--c2628ca2bd1f 253:6    0  14.6T  0 lvm  $ I% ?! t" r0 x, k, ~# O+ ]
sde                                                                                                     8:64   0  14.6T  0 disk : o4 N6 Y4 P# W3 y. Q" U& J0 M
└─ceph--302f6a8d--d98d--4d4a--b049--d0d2374de24f-osd--block--1fd96d27--1fb1--4061--b700--5fc0c72e5f47 253:4    0  14.6T  0 lvm  4 ^  q4 h4 \2 W3 q( V" X9 O% k
sdf                                                                                                     8:80   0  14.6T  0 disk
6 G2 H" ?' l' z4 b└─ceph--05b950c4--4b29--412e--840e--eebf630c49c6-osd--block--e4ef12f6--7ebd--4e3c--bcd9--c9909dcb10ce 253:3    0  14.6T  0 lvm  . r* e+ }; `( _/ u6 I! J
sdg                                                                                                     8:96   0  14.6T  0 disk
  ]; A0 I& S0 T& x7 i: D* z└─ceph--dd0e9bb1--bd80--4de4--8c66--7a5fc21454ff-osd--block--3a460a49--70ca--4f28--a719--0fa7a6b30a37 253:7    0  14.6T  0 lvm  
# w2 Y8 l6 n8 H3 Asdh                                                                                                     8:112  0  14.6T  0 disk
! h: x, ?% [, H, r' W3 t) o└─sdh1                                                                                                  8:113  0  14.6T  0 part
6 {6 K! L: G0 _! b  ^7 ]/ j& srbd0                                                                                                  252:0    0    20T  0 disk
, U/ |) C1 S* R8 m$ ~7 y└─rbd0p1                                                                                              252:1    0    20T  0 part /thinker/storageT
+ \" Q2 R& I) H& }nvme0n1                                                                                               259:0    0 931.5G  0 disk ' k7 D/ i1 W4 E" `5 o" a4 b
└─nvme0n1p1                                                                                           259:1    0 931.5G  0 part & P) x  J) K0 I- H  P
[root@gm268-5 thinker]# lsof /dev/rbd0p1 5 Z1 t9 l% Z/ z/ e) ]8 l
lsof: WARNING: can't stat() xfs file system /thinker/storageT
* t4 `' y: D7 j3 M  F      Output information may be incomplete.0 u9 f& c$ p4 Y% O
[root@gm268-5 thinker]# umount /dev/rbd0p1 & o4 E3 {  s$ R: d  a% q9 f/ W
umount: /thinker/storageT: target is busy.
5 g$ ?. ^: n1 i2 h, b[root@gm268-5 thinker]# umount -f /dev/rbd0p1
; q2 n0 ~8 i7 b) G" ?( vumount: /thinker/storageT: target is busy.9 ^0 p* F, c  t* Y. H
[root@gm268-5 thinker]# umount -l /dev/rbd0p1 2 |. O$ [- d5 a
[root@gm268-5 thinker]# lsof /dev/rbd0p1 - p4 `8 S5 Q: U
[root@gm268-5 thinker]# df -h
  B# V0 X, h' _4 {4 O4 Z9 `Filesystem                                      Size  Used Avail Use% Mounted on
9 S- T% N" b3 E, Q" C: cdevtmpfs                                        126G     0  126G   0% /dev7 N7 i! {0 v  Q
tmpfs                                           202G   84K  202G   1% /dev/shm8 b1 o9 X3 t, C
tmpfs                                           126G   30M  126G   1% /run* j: T" v* Y& {6 N/ \9 N8 W
tmpfs                                           126G     0  126G   0% /sys/fs/cgroup
/ `/ s9 C3 S6 N) W/dev/sda4                                       192G   73G  110G  40% /
+ e* \. i) ^! T! K$ ?0 S8 o( x/dev/mapper/vg_thinker-lv_thinker                96G   61M   91G   1% /thinker/rem" O& p5 c  C8 z: `7 r: T4 i
/dev/sda2                                       2.9G  249M  2.5G  10% /boot$ f; K' A9 Y: {, Z; ~
/dev/sda3                                       480G  346G  111G  76% /home
' W$ ]. @6 M3 }: W, s* w9 |, \, Ptmpfs                                            26G  4.0K   26G   1% /run/user/200030 i& ~) j/ i9 ^8 C% H# R; _
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/5581c52f8cdd0d573a310a802ceaab1b2cd280cc4bc385bd2cec07fdd0f73ee4/merged
# V) @3 V* W/ A  u0 z6 zoverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/bfa1712790ddc4cb8d6a1c3a6e5ef6277a459c637db7514588625d902942fbe3/merged
8 y& S0 O2 E, G6 ^3 M% ]overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/a57c4c7f85ed3cf7415b0e366b88b02137b74cc118ae4672ebe70d25db6916e2/merged
1 e& H! M, f7 y; Woverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/4a61cc7cf2fb43473177d4cde5be9fc22688b1c2d3f43ea21cb48e9f77fd3300/merged( Y4 T; v; g$ m* v7 T! D
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/1df97ddacd5cd4ecd275b42467bf20ea7ff1d374e487bbc21a25b6e114559918/merged- a6 w' `9 Y- Q7 c" Y+ B9 f
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/fe904ab6393351085292376cbe9d5ce7cc1ddddb1ea0d46591f8d6df4c506d09/merged5 j5 c0 I/ \0 p" @0 f( A! y" f
tmpfs                                            26G     0   26G   0% /run/user/0
4 G" P5 V! B6 A10.12.1.2:6789,10.12.2.2:6789,10.12.3.2:6789:/  265T   56T  210T  21% /thinker/storage
- A0 P. o- P1 g' T- O+ h10.13.2.25:/thinker/storage                     769T  598T  172T  78% /thinker/tb269store3 Y+ r5 Q5 S8 Q) x7 r& T# r/ u
tmpfs                                            26G  4.0K   26G   1% /run/user/20009
9 _) @6 I% i$ p' o1 }( u& |) E[root@gm268-5 thinker]#
! s- @: @) Q2 z4 t2 B: S( |3 {" y7 T/ z4 w

9 X9 T, T4 E0 `4 Q# E8 N8 Q1 f
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:41 , Processed in 0.053201 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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