mounts same filesystems over and over

Bug #424464 reported by Tormod Volden
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SourcePackage: casper
Uname: Linux 2.6.31-9-generic i686

Revision history for this message
Tormod Volden (tormodvolden) wrote :
Colin Watson (cjwatson)
Changed in casper (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in casper (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.