在Linux中,有时使用umount命令去卸载LV或文件时,可能出现umount: xxx: device is busy的情况,如下案例所示
[root@DB-Server u06]# vgdisplay -v VolGroup03
Using volume group(s) on command line
Finding volume group "VolGroup03"
--- Volume group ---
VG Name VolGroup03
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.53 GB
PE Size 32.00 MB
Total PE 49
Alloc PE / Size 49 / 1.53 GB
Free PE / Size 0 / 0
VG UUID I9VS8Q-r2Gv-Ieh7-mwj2-Y8fX-4I4a-Iyg8OQ
--- Logical volume ---
LV Name /dev/VolGroup03/LogVol00
VG Name VolGroup03
LV UUID 2GrkGc-sA1u-GQFx-zZG3-FgPj-r7Hx-rcXKbf
LV Write Access read/write
LV Status available
# open 1
LV Size 1.53 GB
Current LE 49
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Physical volumes ---
PV Name /dev/sdc2
PV UUID XrGKB6-unEt-ccor-Re6Q-ZqmG-QA5m-rutX0t
PV Status allocatable
Total PE / Free PE 49 / 0
You have new mail in /var/spool/mail/root
[root@DB-Server u06]# umount /dev/VolGroup03/LogVol00
umount: /u06: device is busy
umount: /u06: device is busy