Announcement

Collapse
No announcement yet.

Root file system not unmounting on shutdown

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Root file system not unmounting on shutdown

    Title pretty much describes it. On shutdown, the root file system is not unmounting, so that on every reboot, the file system needs to be checked. I'm not sure if it is related to this problem, it doesn't really sound like it:

    http://www.phoronix.com/scan.php?pag...tem&px=MTIxODY

    I guess we'll find out when the patch trickles down.

    What I would really like to do is find out just which processes are not being killed during shutdown. This is of course a problem since whatever log files are being written, are probably cached and therefore not written to disk before the power is killed. Any ideas how to get at this information? I know there is a problem there because I don't use Plymouth, and I can see the text scrolling about it right before shutdown, but it does not say which processes have failed to shut down.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    Are you saying you have to force-reboot by using reset or is it just checking the drive every reboot?

    Please Read Me

    Comment


      #3
      On shutdown, the last message before "System will now halt" is "/ file system busy" (or words to that effect).
      During the dismount stage, sda1 is never unmounted (system is on sda1).

      During bootup, the following displays:

      [ 10.092859] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
      [ 10.092897] EXT4-fs (sda1): write access will be enabled during recovery
      [ 11.992784] EXT4-fs (sda1): recovery complete
      [ 12.000928] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

      Recovery should not be necessary if the file system was properly shut down.

      So:
      I can shut down, but it halts with / still mounted, and it goes through file system recovery on every bootup.
      Last edited by doctordruidphd; Nov 01, 2012, 02:12 PM.
      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Do you have any network file system mounted?

        Comment


          #5
          No, no networked drives, nfs, samba, ssl, nothing like that. Log indicates networking is shutting down.

          The last messages during shutdown are:

          mount: / is busy
          will now halt

          So the system is shutting down with / still mounted. That's why its has to recover on every bootup.
          Last edited by doctordruidphd; Nov 02, 2012, 07:14 AM.
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            I have noticed the same thing lately. My X1 exhibits exactly the same symptoms.

            Comment

            Working...
            X