Networker

Re: [Networker] Ignore NFS mounts

2007-12-11 20:46:06
Subject: Re: [Networker] Ignore NFS mounts
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 11 Dec 2007 19:42:30 -0600
In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.

That's contrary to how the product has always worked, and contrary to
the (vague) documentation.  What version of the client software are you
using?  What version of the server software?

If you check the docs (the nwadmin PDF), you'll see on page 2-10 ("The All
save set") the following:

        For UNIX operating systems, the All save set backs up all
        locally mounted file systems.

It's vague, but it means that All should NOT be backing up NFS.

We could manually put every directory into the client, but we've seen
issues where the /proc directory won't back up for some reason.

?  Why would you want to back up the /proc directory?  It's a
pseudo-filesystem.  Just like the /sys directory on the 2.6 Linux kernel,
/proc shouldn't be backed up.

And, of
course, there's always the risk of missing a directory.

Absolutely, which is why All is the way to go.  There are workarounds to
avoid missing directories when you're not using All, but they're somewhat
complicated.

I'm just
wondering if there's a directive or something along those lines that we
could use.

You shouldn't need to.  The All "saveset" should be doing the right thing.
Since it's not, it's either

- you have something else misconfigured
- there's a bug in the version of the client software you're using
- You're using some very recent version of the software and EMC has
  changed what ALL means.

I use the following (sh/ksh/bash) shell function to dump the complete
client resource:


function nsr_pr
{
    if test $# -ne 1 ; then
        echo "usage: nsr_pr <clientname>" >&2
        return 1
    else
        printf "%s\n%s\n%s\n" \
            'option Dynamic' \
            'option Hidden' \
            "print type: NSR Client; name: $1" \
             | nsradmin -i -
    fi
}

Load that function up and use it to print out the complete resource for
one of your clients, and send it to the list.  Maybe someone will spot
something that will help.

Tim
--
Tim Mooney                                        Tim.Mooney AT ndsu DOT edu
Information Technology Services                   (701) 231-1076 (Voice)
Room 242-J6, IACC Building                        (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER