Re: Booting takes too long. Why? (/ was not properly dismounted)

From: Bill Moran (wmoran_at_potentialtech.com)
Date: 06/13/03

  • Next message: Luke Kearney: "Re: Booting takes too long. Why? (/ was not properly dismounted)"
    Date: Fri, 13 Jun 2003 11:43:52 -0400
    To: Rohit <rohitvis@rogers.com>
    
    

    Rohit wrote:
    > Here is the dmesg. However, I should tell you that this has been the case with
    > all my FreeBSD boxes. I have two PC's running FreeBSD and a Compaq laptop
    > running FreeBSd all have different types of harddrives.
    >
    > The main problem is that everytime I boot I get the message saying / was not
    > dismounted properly and then it goes through and fixes all the drive block
    > errors. (This is the case on all my computers)

    My mistake ... I misread your original post.

    > I shutdown using the shutdown -h now command
    > or reboot using reboot now

    How big is your / partition? During the halt/reboot sequence, does it give any
    errors? Are all the buffers flushed?

    I'm grasping at straws here ... Is there some daemon running that takes too long
    to shutdown or doesn't shutdown cleanly, thus preventing the system from flushing
    all its buffers and marking the fs clean?

    One thing to try: manually stop all processes that you can, then issue "sync" a
    few times, then (when disk activity has stopped) issue reboot. See if / is still
    dirty on reboot.

    Does fsck succeed during boot? Possibly boot into single-usr mode and issue
    "fsck -y" until the filesystems are all marked clean, then try your standard
    method of rebooting and see if the / partition is now clean.

    Many guesses here. Hopefully one of them will be helpful.

    -- 
    Bill Moran
    Potential Technologies
    http://www.potentialtech.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Luke Kearney: "Re: Booting takes too long. Why? (/ was not properly dismounted)"

    Relevant Pages

    • Re: SPAM: Score 3.3: Re: Instead of freebsd.com, why not...
      ... >until I reboot them, which often means months at a time. ... >I haven't experienced any annoying software failures under Windows. ... >Time between boots is similar for both the Windows and FreeBSD systems, ... >but neither system actually requires a boot at such frequent intervals. ...
      (freebsd-questions)
    • Strange keyboard behavior
      ... nutshell, if I reboot out of FreeBSD, my keyboard becomes ... I use reboot(8) to boot out of FreeBSD. ... OK, so I reboot out of FreeBSD, and reach the LILO menu. ...
      (freebsd-current)
    • intel dp45sg and Intel Matrix Raid 5 problem
      ... So, the server was not responding so I reboot it then I enter to the Intel Matrix console menu and the Raid was degraded, so I identify the disk I turn off the server then connect the new hard drive and then boot up again, after that in the Intel MAtrix console ask me that the new hard drive was not in the RAID so I I want to add to it, I sat "Yes" and then in the status tab appear "Rebuild". ... Before rebooting again I took a look to the documentation of intel matrix and they say that after the boot of the operating system, the rebuild process will start, So I reboot it again and I saw the "FreeBSD F1" ...
      (freebsd-stable)
    • Re: /tmp clean at boot time
      ... > now when i reboot my machine. ... > and also mysql.sock delete thats why mysql server not run during boot. ... > how i can solve this problem that my /tmp directory not clean at boot ...
      (Debian-User)
    • Re: Freebsd filesystem ( hard reboot )
      ... that a hard reboot forces us to answer filesytem questions on boot. ... What version of FreeBSD are you using? ... And everything seem fine except the reboot issue. ... This will be an offsite system so I do not want human intervention on boot for power outages or hard reboots. ...
      (freebsd-questions)