Results 1 to 4 of 4

Thread: system load order during boot

  1. #1
    Join Date
    Apr 2010
    Location
    Rocksprings, TX
    Posts
    42

    Default system load order during boot

    I'm wondering where the services order is read from during boot. For some reason the system trys to mount my NFS files BEFORE it starts networking. This results in looooooooooog delays during the boot process.

    Thanks
    Jim Lees
    SuSE 11.2 on a HP-dv7-3057nr with AMD Vision 2.2 GHZ 64bit processor. 4096 RAM and 500 Gb HDD.
    Server is an OLD Gateway e-3400 with SuSE 11.3 with a LAMP server.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,729
    Blog Entries
    20

    Default Re: system load order during boot

    You can edit settings in the
    System > System Services (runlevel)
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: system load order during boot

    Quote Originally Posted by jim7634 View Post
    I'm wondering where the services order is read from during boot. For some reason the system trys to mount my NFS files BEFORE it starts networking. This results in looooooooooog delays during the boot process.

    Thanks
    Jim Lees
    There are a few things going on that determine the order in of services. The most basic is the runlevel setting. Is there a particular service that is trying to mount your NFS share? If so, you can try putting it in a different runlevel. Also, if it is started with an init script, you can put a dependency on networking in the init info section. You can use the /etc/init.d/apache2 script as an example:

    ### BEGIN INIT INFO
    # Provides: apache apache2 httpd
    # Required-Start: $local_fs $remote_fs $network
    # Should-Start: $named $time postgresql sendmail mysql ypclient dhcp radiusd
    # Should-Stop: $named $time postgresql sendmail mysql ypclient dhcp radiusd
    # Required-Stop: $local_fs $remote_fs $network
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Short-Description: Apache 2.2 HTTP Server
    # Description: Start the Apache HTTP daemon
    ### END INIT INFO

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: system load order during boot

    NFS filesystems should have the attribute _netdev in /etc/fstab so that it will mount after networking is up. See man 8 mount.

    You might also want in addition to consider using autofs, which will mount on demand.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •