[Bug 1103416] Re: 12.04 isn't cleanly unmounted
Stefan Tauner
1103416 at bugs.launchpad.net
Wed Jan 23 17:49:24 UTC 2013
I have added some debug prints to umountfs and umountroot (in /etc/init.d/).
Namely:
mount > /umountrootfs-mount.log
lsof > /umountrootfs-lsof.log
ps auxf > /umountrootfs-ps.log
and similarly in umountfs before they run their umount sequences.
The umountrootfs-mount.log shows, that one of my binded mounts on the /data filesystem is not unmounted cleanly by unmountfs:
/data/home on /home type none (ro)
/data on the other hand is *not* mentioned anymore(!)
The original state of /data/home is this: /data/home on /home type none (rw,bind)
as is to be expected with the fstab line i posted in #2.
Other bind-mounted directories are unmounted correctly though although they use the same options in fstab, e.g.:
/data/tftpboot /tftpboot none bind
which shows up in the mount log (before umounting in umountfs) as
/data/tftpboot on /tftpboot type none (rw,bind)
Neither the ps nor the lsof log indicate any obvious problems.
Because of this I have to assume that the initscripts are missing something.
** Package changed: ubuntu => sysvinit (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1103416
Title:
12.04 isn't cleanly unmounted
Status in “sysvinit” package in Ubuntu:
Confirmed
Bug description:
Noticed this when the boot-time took too long. Every reboot the
journal must recover the root file system (i have the /home-filesystem
on a second partition). I saw this in dmesg (not always the same but
about, and this is always there at every boot):
[ 9.252087] EXT3-fs (sda1): recovery required on readonly filesystem
[ 9.252091] EXT3-fs (sda1): write access will be enabled during recovery
[ 10.928126] kjournald starting. Commit interval 5 seconds
[ 10.928181] EXT3-fs (sda1): orphan cleanup on readonly fs
[ 10.928188] ext3_orphan_cleanup: deleting unreferenced inode 338285
[ 10.928222] ext3_orphan_cleanup: deleting unreferenced inode 337758
[ 10.928229] ext3_orphan_cleanup: deleting unreferenced inode 338428
[ 10.928238] ext3_orphan_cleanup: deleting unreferenced inode 1622019
[ 10.936544] ext3_orphan_cleanup: deleting unreferenced inode 1622017
[ 10.936559] EXT3-fs (sda1): 5 orphan inodes deleted
[ 10.936562] EXT3-fs (sda1): recovery complete
[ 11.017444] EXT3-fs (sda1): mounted filesystem with ordered data mode
[ 31.210636] Adding 3903788k swap on /dev/sda2. Priority:-1 extents:1 across:3903788k
[ 32.044232] EXT3-fs (sda1): using internal journal
I have tried much of the workarounds covering dbus bugs or network-
manager bugs for example
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/740390 to no
success. My system is a stock ubuntu 12.04 with some PPA-packages but
not system ones. I've no slight idea what happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1103416/+subscriptions
More information about the foundations-bugs
mailing list