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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-6-7 17:02:42 | 显示全部楼层 |阅读模式
[root@gm268-5 storageT]# ls2 Z) r' w- _) G# V. c3 s: e
ls: cannot open directory '.': Input/output error- a8 K, j& @* j6 p
[root@gm268-5 storageT]# cd , O) \/ f2 ^$ W1 ^; \# _! a) U: E
[root@gm268-5 ~]# df -h
' Y3 M; `& L9 m& g) ?Filesystem                                      Size  Used Avail Use% Mounted on/ |- C: ]2 m' S
devtmpfs                                        126G     0  126G   0% /dev; W& Q, B0 R4 T  ?/ m7 {# K$ v  X
tmpfs                                           202G   84K  202G   1% /dev/shm9 M* f! ?6 P9 F3 k; h# _$ x9 j' t% J
tmpfs                                           126G   30M  126G   1% /run
" {! j8 c: L- V8 ?) Q( Ktmpfs                                           126G     0  126G   0% /sys/fs/cgroup
) U4 R$ y: D4 q& R0 n/dev/sda4                                       192G   73G  110G  40% // `* P- J' ]. C3 Y2 X  s% g# f
/dev/mapper/vg_thinker-lv_thinker                96G   61M   91G   1% /thinker/rem
- s. i7 M% D  g4 R3 q/dev/sda2                                       2.9G  249M  2.5G  10% /boot
- R- e7 X7 L4 v8 m3 p5 q& J/dev/sda3                                       480G  346G  111G  76% /home* F3 T, N$ r7 I" U" S! @1 @+ U
tmpfs                                            26G  4.0K   26G   1% /run/user/20003
1 P1 S9 I6 X+ Coverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/5581c52f8cdd0d573a310a802ceaab1b2cd280cc4bc385bd2cec07fdd0f73ee4/merged
/ V1 |  |3 V  o% C8 qoverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/bfa1712790ddc4cb8d6a1c3a6e5ef6277a459c637db7514588625d902942fbe3/merged* u* X4 ]1 V" p
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/a57c4c7f85ed3cf7415b0e366b88b02137b74cc118ae4672ebe70d25db6916e2/merged
3 U: B3 f+ L1 i( L3 b: Coverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/4a61cc7cf2fb43473177d4cde5be9fc22688b1c2d3f43ea21cb48e9f77fd3300/merged  Q  {! {3 v+ N
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/1df97ddacd5cd4ecd275b42467bf20ea7ff1d374e487bbc21a25b6e114559918/merged
/ q) Q+ Z$ P( aoverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/fe904ab6393351085292376cbe9d5ce7cc1ddddb1ea0d46591f8d6df4c506d09/merged
" r0 K' ?( L1 h! I5 qtmpfs                                            26G     0   26G   0% /run/user/0. n2 b4 q- u* W  B- }- @
10.12.1.2:6789,10.12.2.2:6789,10.12.3.2:6789:/  265T   56T  210T  21% /thinker/storage
( I6 T' L; _9 R! D8 j, [% t10.13.2.25:/thinker/storage                     769T  598T  172T  78% /thinker/tb269store/ L2 c6 b, A* R9 L
/dev/rbd0p1                                      20T  9.0T   12T  45% /thinker/storageT5 p9 U, V  I" h% g) |: \
tmpfs                                            26G  4.0K   26G   1% /run/user/20009; s1 M) n# w. E, O
[root@gm268-5 ~]# umount /dev/rbd0p1
! p$ e: f9 I6 v9 K$ J; }5 pumount: /thinker/storageT: target is busy.
8 a: X; R) F$ m( m4 W* a# Q[root@gm268-5 ~]# cd /thinker/storageT
" F- q' E5 h8 s[root@gm268-5 storageT]# ls8 A  }4 s; b2 W( ?
ls: cannot open directory '.': Input/output error+ ?9 u/ O0 o. J8 @# {% j4 _
[root@gm268-5 storageT]# cd ..
+ r4 j* k: f4 e: w5 m$ G0 ~( _/ i[root@gm268-5 thinker]# ls9 J' H9 q% ]# {& K+ A  B+ G" K
ls: cannot access 'storageT': Input/output error
' Z3 H% F$ F  zbin  ds-cli  dstools  etc  fastdata  globe  local  rem  storage  storageT  tb269store  tools2 m+ f0 r9 v3 B7 k
[root@gm268-5 thinker]# lsof /thinker/storageT
' K( v+ R, F+ L, l; Q5 ylsof: WARNING: can't stat() xfs file system /thinker/storageT
3 N- L$ U4 g5 a! k! \) ]7 J) R      Output information may be incomplete.
# C/ W" m% H% Blsof: status error on /thinker/storageT: Input/output error, N# [% h0 H7 g% `7 B; \4 B( v+ O
lsof 4.93.2
) d2 X# ~; v% j0 P7 O) N8 `, M+ R# T latest revision: https://github.com/lsof-org/lsof
5 }' R  T# ^  y& I& a- f, c latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
( d- l6 D% j' r) s$ n3 c4 X latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
5 r/ [1 Q! F- O usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]
8 v9 z2 N  V6 m0 w6 b [-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
6 Y% w7 M' f# b' U7 q [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]$ F# r; v3 p+ h4 k% l
Use the ``-h'' option to get more help information.! ~& @2 `( L8 W& g5 S' [, J: q
[root@gm268-5 thinker]# lsof -i /thinker/storageT
2 n8 `6 E2 i7 t; P- Ylsof: unknown protocol name (/thinker/storageT) in: -i /thinker/storageT0 t* s3 F4 p" j4 V
lsof 4.93.2
- z* T8 Z* P5 w) X+ M1 W latest revision: https://github.com/lsof-org/lsof2 z3 X& j8 x+ }
latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ, n: ]6 f( U- B. x; L' i7 _% A
latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.8
- r4 d& t, P% C+ m; A9 N- C* Q usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]' ~" h# }: U! n; [4 U
[-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
$ ]! e- S8 M, B6 U1 v [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
! ]$ H( X: |! r) O3 F. |3 sUse the ``-h'' option to get more help information.5 z! S5 ]8 x0 l/ k
[root@gm268-5 thinker]# lsof  /thinker/storageT & r" M4 h( G$ y& O
lsof: WARNING: can't stat() xfs file system /thinker/storageT8 x6 J3 a: S& s" a* {6 [
      Output information may be incomplete.
% Q* }% }( Q; P: }( Clsof: status error on /thinker/storageT: Input/output error
) k+ S4 l) r' Tlsof 4.93.2
, e7 z3 e- J5 b# l+ ^1 F# _ latest revision: https://github.com/lsof-org/lsof
! J) W8 ?) n0 M4 O% P latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ' Q+ U! N+ U% v2 w# A; W
latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/Lsof.80 u9 ]+ V. N6 W% P
usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]]& F' D$ z, {- ^0 o9 M
[-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s]
, g& Z% V+ X  b5 O! y, a$ G5 H6 o [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
3 J# h( ~5 |& M+ A5 vUse the ``-h'' option to get more help information.6 F( o+ j. @( e# W
[root@gm268-5 thinker]# lsof /dev/
! g8 e  l' E5 F1 A/ z9 e* yDisplay all 196 possibilities? (y or n)( o) m2 {4 u0 o. S
[root@gm268-5 thinker]# lsof /dev/rbd0p1
! y) ?2 o# Q( @rbd0p1
* d  N) l9 Z: d; {% \[root@gm268-5 thinker]# lsof /dev/rbd0p1
/ c7 o1 j+ {5 Nrbd0p1
4 {7 l) T: ~  n! Z0 V[root@gm268-5 thinker]# lsof /dev/rbd0p1 9 e: Q  p$ n' D7 b4 _$ T
rbd0p16 A4 F6 M/ t% u
[root@gm268-5 thinker]# lsof /dev/rbd0p1
/ G0 B  t4 m5 _0 k& b/ J0 Ilsof: WARNING: can't stat() xfs file system /thinker/storageT7 b8 N4 v% p- P
      Output information may be incomplete." f, H8 p) N; ~+ p7 A* U% s
[root@gm268-5 thinker]# lsblk
; x& ]1 F( ^. Q( k/ q! {7 tNAME                                                                                                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
3 a! F  \1 M; {* R) Zsda                                                                                                     8:0    0   7.3T  0 disk - n- y: d- T  L6 h9 N( D) _) a
├─sda1                                                                                                  8:1    0     1M  0 part
8 q. m  w, ~' Y9 L1 Q2 {├─sda2                                                                                                  8:2    0     3G  0 part /boot
9 C' Y5 G, ]1 s: j├─sda3                                                                                                  8:3    0 488.3G  0 part /home5 n3 T9 W8 A9 ~" ?% {5 B% E0 M2 J
├─sda4                                                                                                  8:4    0 195.3G  0 part /& }+ r. Y& V# z( ]# F* f
├─sda5                                                                                                  8:5    0  97.7G  0 part [SWAP]
- a, [5 q  f; E& Q# R, S├─sda6                                                                                                  8:6    0  97.7G  0 part
& p; X0 E0 m) Q2 {& J│ └─vg_thinker-lv_thinker                                                                             253:0    0  97.7G  0 lvm  /thinker/rem
- s% a9 A) a; P- p+ W* R- N├─sda7                                                                                                  8:7    0   1.3T  0 part
4 m5 ^* y" o/ c5 x│ └─vg_thinker-remswap                                                                                253:1    0    32G  0 lvm  . N  z. e' D; }- L" C7 }$ u
└─sda8                                                                                                  8:8    0   4.2T  0 part
7 O/ T7 s; A# R- a; {$ k- T3 Msdb                                                                                                     8:16   0  14.6T  0 disk
5 y$ a5 w* Q, d8 Y& ~! f└─ceph--a0e4549d--3cfb--4741--932d--81a4c07233f5-osd--block--bfe4f8b7--90a4--47bf--8cd9--9d9765f0c24e 253:5    0  14.6T  0 lvm  
! }6 \  P- x' {8 ]- qsdc                                                                                                     8:32   0  14.6T  0 disk
" x0 ~9 G3 X: m) d└─ceph--c6cbb4c7--9fd7--46bf--b990--493df45680ca-osd--block--132e71ba--344a--41f7--a162--34bb94bf43d7 253:2    0  14.6T  0 lvm  . q- L. [4 v3 {% Z1 y( ?2 W: p
sdd                                                                                                     8:48   0  14.6T  0 disk
* a5 E' K4 h) I7 Z2 X└─ceph--64c8725f--bdfd--4968--9f9c--8d212f0fc336-osd--block--8f39ebbf--9cba--4c32--a807--c2628ca2bd1f 253:6    0  14.6T  0 lvm  $ E0 U2 R( K( }
sde                                                                                                     8:64   0  14.6T  0 disk : y# ], v, A/ C+ ~6 e$ W) ~; ?
└─ceph--302f6a8d--d98d--4d4a--b049--d0d2374de24f-osd--block--1fd96d27--1fb1--4061--b700--5fc0c72e5f47 253:4    0  14.6T  0 lvm  2 M9 }5 u6 R- {
sdf                                                                                                     8:80   0  14.6T  0 disk 9 J: J) s  t4 l. J# r
└─ceph--05b950c4--4b29--412e--840e--eebf630c49c6-osd--block--e4ef12f6--7ebd--4e3c--bcd9--c9909dcb10ce 253:3    0  14.6T  0 lvm  ; k' x+ K/ {2 P4 F9 L* M
sdg                                                                                                     8:96   0  14.6T  0 disk 0 T' y4 }/ ^# o1 s! V
└─ceph--dd0e9bb1--bd80--4de4--8c66--7a5fc21454ff-osd--block--3a460a49--70ca--4f28--a719--0fa7a6b30a37 253:7    0  14.6T  0 lvm  
) ?; p# z, G5 e* T' y* {sdh                                                                                                     8:112  0  14.6T  0 disk
& L. x: H. t# B( D* Q+ ~+ c0 H└─sdh1                                                                                                  8:113  0  14.6T  0 part
6 @' h1 m8 y, L1 D, Krbd0                                                                                                  252:0    0    20T  0 disk
5 U! a- {4 t$ C, S. C5 T/ J4 C# S; q└─rbd0p1                                                                                              252:1    0    20T  0 part /thinker/storageT
9 `2 x5 {0 I# H, G, [' R/ anvme0n1                                                                                               259:0    0 931.5G  0 disk 5 L0 z1 K* Q8 u. H( a
└─nvme0n1p1                                                                                           259:1    0 931.5G  0 part
6 J2 }6 v5 ^# F  k[root@gm268-5 thinker]# lsof /dev/rbd0p1 * |. {- v) Y  r, m  h7 }1 R4 ^
lsof: WARNING: can't stat() xfs file system /thinker/storageT" ~. k5 s+ [" {
      Output information may be incomplete.
- S- x$ D' c8 M$ d( P[root@gm268-5 thinker]# umount /dev/rbd0p1 9 l5 E) x! y% a6 `3 |
umount: /thinker/storageT: target is busy.; g" v( \1 M9 x' k% |* d
[root@gm268-5 thinker]# umount -f /dev/rbd0p1 % F' T) k0 m4 t4 h9 f
umount: /thinker/storageT: target is busy.8 G' W& y% _6 P
[root@gm268-5 thinker]# umount -l /dev/rbd0p1 : c7 h0 u7 W& {
[root@gm268-5 thinker]# lsof /dev/rbd0p1
/ N/ p/ c; r7 G  y. f* P* y[root@gm268-5 thinker]# df -h. Y; Z$ u4 A) e0 ^0 p. z! e
Filesystem                                      Size  Used Avail Use% Mounted on
# O6 b% Z- X% k( l: Gdevtmpfs                                        126G     0  126G   0% /dev& D5 Z% L4 m  b4 M: Q, S
tmpfs                                           202G   84K  202G   1% /dev/shm9 Z# _! P! t, G& c/ E. Z( E
tmpfs                                           126G   30M  126G   1% /run; r. ~  F$ @) U5 P' ]
tmpfs                                           126G     0  126G   0% /sys/fs/cgroup
# q% a# _9 {! p' \/dev/sda4                                       192G   73G  110G  40% /
5 j' U/ ~3 W" e" `7 ?# a! P/dev/mapper/vg_thinker-lv_thinker                96G   61M   91G   1% /thinker/rem6 f  ~' b: R: h4 [' Z7 [6 ^" g
/dev/sda2                                       2.9G  249M  2.5G  10% /boot
# A8 z! e, U$ H. \5 n  a* }+ o/dev/sda3                                       480G  346G  111G  76% /home4 n; P5 h7 k' Z
tmpfs                                            26G  4.0K   26G   1% /run/user/200038 |7 R4 _5 @8 @9 y# }
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/5581c52f8cdd0d573a310a802ceaab1b2cd280cc4bc385bd2cec07fdd0f73ee4/merged
# i, u+ A' L4 ~& G7 Uoverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/bfa1712790ddc4cb8d6a1c3a6e5ef6277a459c637db7514588625d902942fbe3/merged1 P1 t8 I0 G, ^; D; R; B
overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/a57c4c7f85ed3cf7415b0e366b88b02137b74cc118ae4672ebe70d25db6916e2/merged
& R( R/ E. W5 u- Goverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/4a61cc7cf2fb43473177d4cde5be9fc22688b1c2d3f43ea21cb48e9f77fd3300/merged
7 W$ }" R8 B6 u, C" ~: @overlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/1df97ddacd5cd4ecd275b42467bf20ea7ff1d374e487bbc21a25b6e114559918/merged
$ v0 C$ }& }* joverlay                                         192G   73G  110G  40% /var/lib/containers/storage/overlay/fe904ab6393351085292376cbe9d5ce7cc1ddddb1ea0d46591f8d6df4c506d09/merged  E; |& i* p8 X: J6 s) d
tmpfs                                            26G     0   26G   0% /run/user/04 a3 d' d& ^5 d( |$ j9 V7 h$ x
10.12.1.2:6789,10.12.2.2:6789,10.12.3.2:6789:/  265T   56T  210T  21% /thinker/storage3 v6 z( I# g. s4 h. O
10.13.2.25:/thinker/storage                     769T  598T  172T  78% /thinker/tb269store
5 V7 n2 }' {" p' ztmpfs                                            26G  4.0K   26G   1% /run/user/20009
8 I0 Q4 [9 h& O  i[root@gm268-5 thinker]#
9 d7 p+ O/ S! H
& D" `  V8 A5 i/ g
  v" [+ C# v6 r/ s) k- [0 U7 s* t0 K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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