during kernel upgrade: rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On an up-to-date precise system, with os-prober 1.51ubuntu3 (and a rather complex disk configuration, to be fair):
#apt-get install --reinstall linux-image-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/38.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 133254 files and directories currently installed.)
Preparing to replace linux-image-
Done.
Unpacking replacement linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-30.48 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-30.48 was configured last, according to dpkg)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.bin
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
rmdir: failed to remove `/var/lib/
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
rmdir: failed to remove `/var/lib/
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
done
The relevant stuff from lvdisplay and mdstat:
# lvdisplay -C
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
backup-20110101 RADICCHIO owi-a- 30.00g
backup-
backup-20110601 RADICCHIO swi-a- 6.21g backup-20110101 99.98
backup-
backup-
backup-
backup-
backup-
backup-
backup-20120514 RADICCHIO owi-a- 30.00g
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-20120826 RADICCHIO owi-ao 30.00g
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
backup-
srv RADICCHIO -wi-ao 2.50t
swap RADICCHIO -wi-ao 30.00g
# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md4 : active raid5 sdf1[7] sdk1[6] sdl1[5] sde1[2] sdc1[1]
125822976 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
md3 : active raid6 sdo2[12](S) sdf2[10] sdj2[8] sdk2[9] sdm2[13] sdc2[1] sdi2[11] sdh2[3] sde2[2]
11532327936 blocks super 1.2 level 6, 512k chunk, algorithm 2 [8/8] [UUUUUUUU]
md2 : active raid1 sdo1[5] sdn1[4] sdj1[6] sdh1[1]
31456184 blocks super 1.2 [4/4] [UUUU]
md5 : active raid6 sdl2[3] sdn2[4] sdd2[1] sdg2[2] sdb2[0]
5766167040 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5] [UUUUU]
md6 : active raid5 sdm1[5] sdi1[3] sdg1[2] sdb1[0] sdd1[1]
125822976 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
unused devices: <none>
what other info do you want?
Changed in os-prober (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: precise |
same problem here, using lxc containers on LVM. osprober hangs while reading the lxc containers' LVMs.