[Bug 125702] Re: casper-rw fs not cleanly unmounted on persistent live USB shutdown

Ben Greear greearb at candelatech.com
Thu May 17 22:44:22 UTC 2012


Here is the /etc/init.d/umountroot file.

The main trick to properly unmounting aufs root is this:

mount -n -o remount,noxino / || echo "Remount noxino / failed: $?"
# This next fails, but over-all, things work, so leaving it in in case
# it has some partial benefit.
mount -n -o remount,mod:/cow=ro / || echo "Remount /cow(ro) failed: $?"
mount -n -o remount,ro /cow || echo "Remount /cow (ro) failed: $?"
mount -n -o remount,ro /

** Attachment added: "Cleanly unmount aufs / and /cow"
   https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/125702/+attachment/3151378/+files/umountroot

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/125702

Title:
  casper-rw fs not cleanly unmounted on persistent live USB shutdown

Status in “casper” package in Ubuntu:
  Triaged
Status in “upstart” package in Ubuntu:
  Invalid

Bug description:
  When shutting down gutsy tribe 2 from a persistent usb drive, I get a
  "failure" in umounting local filesystems.  Running e2fsck on the
  casper-rw partition, which was formatted as ext2, shows errors on the
  casper-rw partition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/125702/+subscriptions




More information about the foundations-bugs mailing list