kvm loop can t delete device dev loop0 device or resource busy

holinhot

Registered
Jan 19, 2013
1
0
1
cPanel Access Level
Root Administrator
Hello,all

I'm using cloudlinux and have installed cpanel for KVM vps,but the rebooting system display "loop can t delete device dev loop0 device or resource busy"

as shown in the figure:


my disk:
Code:
root@clcla1923 [~]# df -h
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/vg_clcla1923-LogVol02   32G  4.6G   26G  16% /
tmpfs                              1.9G     0  1.9G   0% /dev/shm
/dev/vda1                          194M   49M  135M  27% /boot
/dev/mapper/vg_clcla1923-LogVol01  158G  592M  149G   1% /home
/usr/tmpDSK                        485M   11M  449M   3% /tmp
root@clcla1923 [~]# fdisk -l

Disk /dev/vda: 214.7 GB, 214748364800 bytes
16 heads, 63 sectors/track, 416101 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00065368

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           3         409      204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2             409      416102   209509376   8e  Linux LVM
Partition 2 does not end on cylinder boundary.

Disk /dev/mapper/vg_clcla1923-LogVol00: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_clcla1923-LogVol02: 34.1 GB, 34145828864 bytes
255 heads, 63 sectors/track, 4151 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_clcla1923-LogVol01: 171.8 GB, 171798691840 bytes
255 heads, 63 sectors/track, 20886 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

root@clcla1923 [~]#
and
Code:
root@clcla1923 [~]# df -h
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/vg_clcla1923-LogVol02   32G  4.6G   26G  16% /
tmpfs                              1.9G     0  1.9G   0% /dev/shm
/dev/vda1                          194M   49M  135M  27% /boot
/dev/mapper/vg_clcla1923-LogVol01  158G  592M  149G   1% /home
/usr/tmpDSK                        485M   11M  449M   3% /tmp
root@clcla1923 [~]#
fstab
Code:
root@clcla1923 [~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Wed Jan  8 06:01:57 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_clcla1923-LogVol02 /                       ext4    defaults        1 1
UUID=4816b084-1263-46c3-81d1-0c08c00bf3b3 /boot                   ext4    defaults        1 2
/dev/mapper/vg_clcla1923-LogVol01 /home                   ext4    defaults        1 2
/dev/mapper/vg_clcla1923-LogVol00 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0
root@clcla1923 [~]#
as shown in the figure:


Thanks Very much
 

Attachments

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
586
25
153
cPanel Access Level
Root Administrator
Hello,

Are you certain the device isn't just busy? Have you checked with the fuser command?

Code:
fuser -c /dev/loop0
fuser -d /dev/loop0
fuser -f /dev/loop0
If you get a PID back on it, try to stop whatever process it is first.