FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Location
    Centennial, Colorado USA
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    NFS and FC16 and systemd

    Appears to be a slight race condition with NFS starting and a machine that uses DHCP. NFS hangs because the network is not hooked up. Evenually nfs times out and the boot finishes.

    Mount of the nfs volume is being done through fstab. (Worked fine in FC15).

    I have in the past used a static IP and now the network manager won't let me change it because the tab is grayed out.

    Any ideas?

  2. #2
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: NFS and FC16 and systemd

    Are you using network manager?

    If so, try telling systemd to wait on network manager to come up and settle before starting the other services.

    Code:
    systemctl enable NetworkManager-wait-online.service

  3. #3
    Join Date
    Dec 2009
    Location
    Centennial, Colorado USA
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: NFS and FC16 and systemd

    Yes. I'm running network manager. I edited my /etc/sysconfig/network-scripts/ifcfg-p21p1 (in my case) so that it had:

    IPADDR0=192.168.200.10
    PREFIX0=24
    GATEWAY0=192.168.200.1
    DNS1=192.168.200.1
    DOMAIN=bp (YES bp, since bp is illegal and a properly configured router will drop bp)

    and commented out the PEERDNS and PEERFOUTES which I think are getting set by DHCP.

    So I'll see if this works. A restart of /etc/init.d/network did give me the correct static IP.

    I also implmented your suggest of systemctl and noticed that the symbolic link was created.

    ---------- Post added at 10:19 PM ---------- Previous post was at 10:09 PM ----------

    That seemed to work. At about 20 seconds the network devices was started and about 30 seconds into the boot, the network had in static IP "installed" and at 40 seconds nfs was started. There were several messages during the boot the nfs was being deferred.

    Seems to me in the nfs install, the systemctl command you suggested should be automatically installed. This would at least ensure that the network is ready when NFS is activated.
    Last edited by lensman3; 13th November 2011 at 06:44 AM. Reason: More information, spelling

  4. #4
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: NFS and FC16 and systemd

    It's been a problem with systemd and network manager for quite awhile now. I'm not sure which one is actually at fault, though.

    And it's not just nfs that is affected. It's just about all network mounts, cifs as well as nfs.

    Basically enabling the NetworkManager-wait-online.service is a kludge at best, but it's been the only way I could consistently get my nfs mounts to work with network manager (You still have to make sure that network manager is setup to enable your connection on boot and is available for all users so that it brings it up at boot time instead of waiting for a user to log in).

    Oh, and I assume that you have already figured out that the nfs server has changed in F16? You now need to enable nfs-server.service

  5. #5
    Join Date
    Jun 2011
    Location
    Denton,Tx
    Age
    50
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Re: NFS and FC16 and systemd

    NFS in my experience is the most dependable file sharing for automounting folders & directories. When begining Fedora 16, it was quite a challenge until I discovered that NFS ,like many other cifs now depend on systemd........which is a great system once you become familiar with it . The 3.0 kernel sure has changed the rules for administrators & hobbiest alike. I found your page quite helpful. My question is can NFS be provided on a domain name service in order to share directories online?

Similar Threads

  1. FC16 randomly restarting
    By yoshimitsuspeed in forum Hardware
    Replies: 28
    Last Post: 31st January 2012, 07:55 PM
  2. Cannot install vmware 8 in FC16
    By websurfer in forum Using Fedora
    Replies: 6
    Last Post: 15th November 2011, 08:45 AM
  3. Here are FC16 torrent files.....
    By pinenut in forum Using Fedora
    Replies: 1
    Last Post: 8th November 2011, 04:09 PM
  4. audio problems FC16
    By pabloguevara in forum F16 Development
    Replies: 11
    Last Post: 2nd November 2011, 09:16 PM
  5. [SOLVED] 2.6.39-1.fc16.x86_64 + Virtual Box
    By nikita in forum F16 Development
    Replies: 2
    Last Post: 29th May 2011, 06:05 PM

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
  •