mounts same filesystems over and over
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: casper
When scripts/casper is looking for the CD root, it goes in a loop checking all partitions it can find from the block devices and mounts the partition to check if the filesystem contains the CD root. Until the CD is found, it does the whole search over again. For instance if you have a slow device for the CD root, every ext* filesystem on your hard drive is continuosly mounted and remounted again for quite some time (60 times if the CD is missing). This explodes the mount count and you have to fsck your filesystems unnecessarily.
Observed behaviour: File systems that have been mounted and checked are checked again for no good reason
Expected behaviour: Only mount filesystems that have not been verified before.
I suggest running a tab of UUID's from the verified filesystems. Of course, we want to recheck any partition names that can change contents because devices might be hotplugged, but for a filesystem already identified by UUID we can check once and expect it to not change contents during boot.
ProblemType: Bug
Architecture: i386
Date: Fri Sep 4 18:50:10 2009
DistroRelease: Ubuntu 9.10
Package: casper 1.189
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: casper
Uname: Linux 2.6.31-9-generic i686
Related branches
- Ubuntu Core Development Team: Pending requested
- Diff: None lines
Changed in casper (Ubuntu): | |
status: | New → Fix Committed |
This bug was fixed in the package casper - 1.190
---------------
casper (1.190) karmic; urgency=low
[ Colin Watson ]
* Don't produce an invalid sed program when trying to remove an applet
which isn't in the panel (LP: #406188).
[ Tormod Volden ]
* do not remount filesystems that already have been probed when
searching for the livefs (LP: #424464)
* Fix quoting in try_snap (LP: #424742).
* Silence error messages for non-existent device nodes (LP: #425159).
-- Colin Watson <email address hidden> Mon, 07 Sep 2009 13:10:53 +0100