Professional Web Applications Themes

Diskless NFS mounts weirdness - FreeBSD

[email]cpghostcordula.ws[/email] wrote: > On Tue, Feb 15, 2005 at 05:20:32PM +0100, Erik Norgaard wrote: > If the md-based /var is only needed until the nfs /var is mounted, > I could try tweaking the varsize knob in /etc/rc.conf, right? Yes, 1kb should be enough ?! The interesting thing is that mounttab is only created by nfsclient - on my disk'ed system I have no such file. > There's plenty of RAM on the workstations; it shouldn't be a problem > to keep the ramdisk. I've done some monitoring for three weeks or > so, and there's hardly any swapping to ...

  1. #1

    Default Re: Diskless NFS mounts weirdness

    [email]cpghostcordula.ws[/email] wrote:
    > On Tue, Feb 15, 2005 at 05:20:32PM +0100, Erik Norgaard wrote:
    > If the md-based /var is only needed until the nfs /var is mounted,
    > I could try tweaking the varsize knob in /etc/rc.conf, right?
    Yes, 1kb should be enough ?! The interesting thing is that mounttab is
    only created by nfsclient - on my disk'ed system I have no such file.
    > There's plenty of RAM on the workstations; it shouldn't be a problem
    > to keep the ramdisk. I've done some monitoring for three weeks or
    > so, and there's hardly any swapping to the nfs swapfiles involved.
    Then simply remove the nfs mounted /var. You want to keep an nfs mounted
    /var if you have data that you want to keep persistent, but if you
    keep the nfs /var then you also have to bother about cleaning it up.
    > I only wonder if I could simply reuse /dev/md0 for something else
    > than var (say newfs and mounting it somewhere else, e.g. on /tmp),
    > because:
    The problem is: If you first unmount the memory disk /var, the nfs mount
    of /var will fail as before. If you unmount /var after the nfs mount -
    what are you unmounting?

    Cheers, Erik
    --
    Ph: +34.666334818 web: [url]http://www.locolomo.org[/url]
    S/MIME Certificate: [url]http://www.locolomo.org/crt/2004071206.crt[/url]
    Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22 :DE:4C:B9
    Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73 :25:67:C2
    Erik Norgaard Guest

  2. #2

    Default Re: Diskless NFS mounts weirdness

    [email]cpghostcordula.ws[/email] wrote:
    > On Tue, Feb 15, 2005 at 05:20:32PM +0100, Erik Norgaard wrote:
    >
    > Yes, it's 5.3-STABLE and /etc/rc.d/var is really the culprit!
    > Thanks for the hint. Now everything makes sense again.
    Bth, this script has three modes: YES, NO, AUTO, auto is default in
    which the check is done:

    mkdir -p /var/.diskless

    If this fails a memory disk is created, else /var/.diskless is removed.

    If you disable var in your rc.conf, then your nfs mounts fails.

    Actually, I think the nfs mounts mentioned in your rc-script fails and
    are then mounted at a later stage - I guess you have your nfs-mounts in
    your /etc/fstab also, right?

    Cheers, Erik

    --
    Ph: +34.666334818 web: [url]http://www.locolomo.org[/url]
    S/MIME Certificate: [url]http://www.locolomo.org/crt/2004071206.crt[/url]
    Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22 :DE:4C:B9
    Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73 :25:67:C2
    Erik Norgaard Guest

Similar Threads

  1. 2.4.20 autofs: non-toplevel mounts broken?
    By Bob Proulx in forum Debian
    Replies: 2
    Last Post: July 31st, 09:10 PM
  2. OS X, LDAP, NFS Mounts
    By Emily Spankratchet in forum Mac Applications & Software
    Replies: 0
    Last Post: July 10th, 02:28 PM
  3. No-password SMB mounts
    By Jason in forum Linux Setup, Configuration & Administration
    Replies: 0
    Last Post: July 1st, 02:52 PM
  4. mounts
    By John O. in forum Photography
    Replies: 2
    Last Post: June 27th, 01:19 PM
  5. iPod no longer mounts
    By pnoeric in forum Mac Applications & Software
    Replies: 1
    Last Post: June 27th, 12:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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