NFS mount points causing boot hang when network unavailable

Ask a Question related to AIX, Design and Development.

  1. #1

    Default NFS mount points causing boot hang when network unavailable

    Our AIX system has a couple of NFS mount points to a LINUX system that
    is used simply as a fax server. During a recent reboot of the system,
    we were testing what would happen if we had no connectivity to the
    network. To do this, we simply disconnected the cable from the RS/6000
    Ethernet card.

    What we found was that the system got to the point where it was trying
    to mount the NFS areas and simply hung there indefinitely. After about
    10-15 minutes, we reconnected the network cable, and the system
    proceeded to continue its boot as if it had found what it was waiting
    for.

    As this is a production system, we want it to proceed to boot up in a
    timely manner, regardless if the fax server was reachable or not.

    Example of our /etc/filesystems NFS entry:

    /apps/fax:
    dev = "/apps/fax"
    vfs = nfs
    nodename = fax_host
    mount = true
    type = nfs
    options = bg,soft,intr
    account = false

    Our mount points are all set to SOFT mounts, so we thought it would
    just bypass these NFS areas if it was not able to reach them. I am
    assuming that the reason it hung was because we have not set a value
    for these fields:

    - NUMBER of times to attempt mount
    - NFS TIMEOUT. In tenths of a second

    Can anyone confirm this, and if so, what values would you recommend?

    Thx,

    Steve
    Steve N. Guest

  2. Similar Questions and Discussions

    1. relating iostat output to mount points
      Friends, I see following headings (amongst others) when I run iostat: sd0 sd6 sd15 sd21 How do I relate these disks with...
    2. 2 drives- mount points and partition sizes ??
      Am neophyte, sorry. Have 2 ide hard drives; one 2.5gb, other 2.1gb (also have lots of bigger scsi drives, but lilo and grub both fail) What would...
    3. [Fwd: nautilus keeps scanning mount points]
      On Wed, 2003-07-23 at 03:10, Micha Feigin wrote: Hmm, this shouldn't be happening unless you have those mount points listed in /etc/fstab as...
    4. nautilus keeps scanning mount points
      I am running debian unstable (nautilus version 2.2.4). I am using autofs (ver 4) to mount the cdrom, windows partition and floppy. Nautilus keeps...
    5. underlying mount points
      Smitty <wolphie@hotmail.com> wrote: S> After sweating all day over this problem, we finally realized that all S> "good" directories have no...
  3. #2

    Default Re: NFS mount points causing boot hang when network unavailable

    It might be a good idea to switch the "mount = true" option to false
    to prevent your NFS filesystems from mounting automatically at system
    restart. Then use the mount command with the -t option for type
    (mount -t nfs) later in one of the startup files, like rc.nfs.
    JH

    [email]steven_nospam@yahoo.ca[/email] (Steve N.) wrote in message news:<a7f2ae7e.0309231037.10bffbd@posting.google.c om>...
    > Our AIX system has a couple of NFS mount points to a LINUX system that
    > is used simply as a fax server. During a recent reboot of the system,
    > we were testing what would happen if we had no connectivity to the
    > network. To do this, we simply disconnected the cable from the RS/6000
    > Ethernet card.
    >
    > What we found was that the system got to the point where it was trying
    > to mount the NFS areas and simply hung there indefinitely. After about
    > 10-15 minutes, we reconnected the network cable, and the system
    > proceeded to continue its boot as if it had found what it was waiting
    > for.
    >
    > As this is a production system, we want it to proceed to boot up in a
    > timely manner, regardless if the fax server was reachable or not.
    >
    > Example of our /etc/filesystems NFS entry:
    >
    > /apps/fax:
    > dev = "/apps/fax"
    > vfs = nfs
    > nodename = fax_host
    > mount = true
    > type = nfs
    > options = bg,soft,intr
    > account = false
    >
    > Our mount points are all set to SOFT mounts, so we thought it would
    > just bypass these NFS areas if it was not able to reach them. I am
    > assuming that the reason it hung was because we have not set a value
    > for these fields:
    >
    > - NUMBER of times to attempt mount
    > - NFS TIMEOUT. In tenths of a second
    >
    > Can anyone confirm this, and if so, what values would you recommend?
    >
    > Thx,
    >
    > Steve
    futsnfup Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139