Welcome! » Log In » Create A New Profile

Ignore NFS mounts

Posted by Anonymous 
Ignore NFS mounts
December 11, 2007 12:14PM
Hi guys,
I'm not sure if there's any easy way to do this, but I figured I'd give it a
shot.
We have a bunch of Linux and Solaris boxes that we want to back up, but only
the partitions in their local drives, and none of their NFS mounts. We back
that data up separately. Is there an easy way to tell Networker to only back
up local partitions? It appears that it will back up everything in
fstab/vfstab if we give it the directive ALL, even NFS mounts. Yet with
Windows, it only backs up local hard drives, even with the ALL directive.
Thanks for any insight.

~Alex

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 12:42PM
Alex Alexiou wrote:
[quote]Hi guys,
I'm not sure if there's any easy way to do this, but I figured I'd give it a
shot.
We have a bunch of Linux and Solaris boxes that we want to back up, but only
the partitions in their local drives, and none of their NFS mounts. We back
that data up separately. Is there an easy way to tell Networker to only back
up local partitions? It appears that it will back up everything in
fstab/vfstab if we give it the directive ALL, even NFS mounts. Yet with
Windows, it only backs up local hard drives, even with the ALL directive.
Thanks for any insight.
[/quote]
It won't backup NFS mounts unless you explicitly tell it to.

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 12:51PM
Hello,
I am not familiar with Linux or Solaris issues, however, could you not
list the specific savesets i.e
/var
/user
/etc
instead of all, there may be hardlink or something like that in the client
that could cause NFS mounts to be backed up, in windows mapped drives etc
are not backed up even when the saveset is all.
HTH

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 04:38PM
That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
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. And, of
course, there's always the risk of missing a directory. I'm just
wondering if there's a directive or something along those lines that we
could use.

-----Original Message-----
From: Davina Treiber [mailto]
Sent: Tuesday, December 11, 2007 3:34 PM
To: EMC NetWorker discussion; Alex Alexiou
Subject: Re: [Networker] Ignore NFS mounts

Alex Alexiou wrote:
[quote]Hi guys,
I'm not sure if there's any easy way to do this, but I figured I'd
give it a shot.
We have a bunch of Linux and Solaris boxes that we want to back up,
but only the partitions in their local drives, and none of their NFS
mounts. We back that data up separately. Is there an easy way to tell
Networker to only back up local partitions? It appears that it will
back up everything in fstab/vfstab if we give it the directive ALL,
even NFS mounts. Yet with Windows, it only backs up local hard drives,
[/quote]even with the ALL directive.
[quote]Thanks for any insight.
[/quote]
It won't backup NFS mounts unless you explicitly tell it to.

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 05:02PM
On Tue, Dec 11, 2007 at 07:31:22PM -0500, Alex Alexiou wrote:
[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]
That's unusual. Normally NFS mounts in fstab/vfstab are ignored. Only
local mounts are are enumerated by 'all'.

What version of Networker are you running on the clients?

--
Darren Dunham ddunham < at > taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 05:53PM
In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]
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.

[quote]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.
[/quote]
? 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.

[quote]And, of
course, there's always the risk of missing a directory.
[/quote]
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.

[quote]I'm just
wondering if there's a directive or something along those lines that we
could use.
[/quote]
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 "%sn%sn%sn"
'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.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

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 05:58PM
I don't know about other systems but on Solaris the /proc directory is
just currently running processes on the system and there's no good
reason to back it up since it is completely rebuilt with each reboot.

David Werth
Garmin AT, Inc
Salem, Oregon
dave.werth<at>garmin.com

-----Original Message-----
From: EMC NetWorker discussion [mailto] On
Behalf Of Alex Alexiou
Sent: Tuesday, December 11, 2007 4:31 PM
To: NETWORKER < at > LISTSERV.TEMPLE.EDU
Subject: Re: [Networker] Ignore NFS mounts

That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
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. And, of
course, there's always the risk of missing a directory. I'm just
wondering if there's a directive or something along those lines that we
could use.

-------------------------
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 11, 2007 06:02PM
On 12/12/07 12:42 PM, "Tim Mooney" <Tim.Mooney < at > NDSU.EDU> wrote:

[quote]In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]
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?
[/quote]
Perhaps some bright spark has decided that what is Good for SMB is good for
all.

I had an issue some time ago where a customer mounted approximately 2TB of
fileserver data from a Windows server onto a Linux server, and because they
wanted this mounted all the time, they added the SMB mounts to /etc/fstab on
Linux. Unfortunately, NetWorker decided they weren't NFS and started backing
them up.

While I had an RFE successfully raised and completed to take this
functionality out (arguing that SMB mounts are no different than NFS mounts
as far as whether the data is "local" or not), someone argued a counter-RFE
and got it reversed in the next version of NetWorker.

Since then, NetWorker has always blithely backed up SMB mounts that are in
/etc/fstab on Linux.

It wouldn't surprise me if more recent versions of NetWorker have done this
for NFS :(

Cheers,

Preston.

--
http://www.anywebdb.com
http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=AU6396
&isbn=9781420076394&parent_id=&pc=

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 12, 2007 12:56AM
Preston de Guise wrote:
[quote]On 12/12/07 12:42 PM, "Tim Mooney" <Tim.Mooney < at > NDSU.EDU> wrote:

[quote]In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]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?
[/quote]
Perhaps some bright spark has decided that what is Good for SMB is good for
all.

I had an issue some time ago where a customer mounted approximately 2TB of
fileserver data from a Windows server onto a Linux server, and because they
wanted this mounted all the time, they added the SMB mounts to /etc/fstab on
Linux. Unfortunately, NetWorker decided they weren't NFS and started backing
them up.

While I had an RFE successfully raised and completed to take this
functionality out (arguing that SMB mounts are no different than NFS mounts
as far as whether the data is "local" or not), someone argued a counter-RFE
and got it reversed in the next version of NetWorker.
[/quote]
That is just ridiculous. Someone in EMC needs shooting for that. That
means that the default behaviour is to backup potentially large
filesystems multiple times over a network connection. Worse still, it is
difficult and clumsy to suppress this default behaviour, whereas it is
quite simple the other way round. What versions are you referring to
Preston?

[quote]
Since then, NetWorker has always blithely backed up SMB mounts that are in
/etc/fstab on Linux.

It wouldn't surprise me if more recent versions of NetWorker have done this
for NFS :(
[/quote]
It wouldn't surprise me either but it would severely disappoint me. I
really hope this hasn't happened. Alex, what version are you using and I
will add it to my growing list of versions to avoid at all costs.

It does seem that since Legato became EMC there have been a number of
poor decisions regarding the development of the product and also
regarding the way it is packaged.

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 12, 2007 09:04AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sounds familliar, we run 7.3.1 and have the same issue on linux, we use
fstab mounted cifs filesystems from windows also, recenly saw it in a
savegroup and had to put manual skips on the filesystem.

Maarten

Davina Treiber wrote:
[quote]Preston de Guise wrote:
[quote]On 12/12/07 12:42 PM, "Tim Mooney" <Tim.Mooney < at > NDSU.EDU> wrote:

[quote]In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]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?
[/quote]Perhaps some bright spark has decided that what is Good for SMB is good for
all.

I had an issue some time ago where a customer mounted approximately 2TB of
fileserver data from a Windows server onto a Linux server, and because they
wanted this mounted all the time, they added the SMB mounts to /etc/fstab on
Linux. Unfortunately, NetWorker decided they weren't NFS and started backing
them up.

While I had an RFE successfully raised and completed to take this
functionality out (arguing that SMB mounts are no different than NFS mounts
as far as whether the data is "local" or not), someone argued a counter-RFE
and got it reversed in the next version of NetWorker.
[/quote]
That is just ridiculous. Someone in EMC needs shooting for that. That
means that the default behaviour is to backup potentially large
filesystems multiple times over a network connection. Worse still, it is
difficult and clumsy to suppress this default behaviour, whereas it is
quite simple the other way round. What versions are you referring to
Preston?

[quote]Since then, NetWorker has always blithely backed up SMB mounts that are in
/etc/fstab on Linux.

It wouldn't surprise me if more recent versions of NetWorker have done this
for NFS :(
[/quote]
It wouldn't surprise me either but it would severely disappoint me. I
really hope this hasn't happened. Alex, what version are you using and I
will add it to my growing list of versions to avoid at all costs.

It does seem that since Legato became EMC there have been a number of
poor decisions regarding the development of the product and also
regarding the way it is packaged.

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

[/quote]-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYA4fFlCJIGdXPQsRAjx4AJ9wDFm7MgFRrjA3eV0+ix2XNofXbgCdHZxW
MebYKvlbdpGev1aLCVyaZGo=
=kknr
-----END PGP SIGNATURE-----

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 12, 2007 01:51PM
[quote][quote][quote]In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said (at...:

[quote]That's the problem; if we just say ALL, then Networker assumes you mean
everything in fstab, including all NFS mounts.
[/quote]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?
[/quote]
Perhaps some bright spark has decided that what is Good for SMB is good for
all.

I had an issue some time ago where a customer mounted approximately 2TB of
fileserver data from a Windows server onto a Linux server, and because they
wanted this mounted all the time, they added the SMB mounts to /etc/fstab on
Linux. Unfortunately, NetWorker decided they weren't NFS and started backing
them up.

While I had an RFE successfully raised and completed to take this
functionality out (arguing that SMB mounts are no different than NFS mounts
as far as whether the data is "local" or not), someone argued a counter-RFE
and got it reversed in the next version of NetWorker.
[/quote]
That is just ridiculous. Someone in EMC needs shooting for that. That
means that the default behaviour is to backup potentially large
filesystems multiple times over a network connection. Worse still, it is
difficult and clumsy to suppress this default behaviour, whereas it is
quite simple the other way round. What versions are you referring to
Preston?
[/quote]
My memory is a little hazy, but from what I recall, I noticed the SMB
problem first in NetWorker 6.1.1. I successfully got an RFE implemented to
pull it out of 6.1.2, but it got put back into 6.1.3. Despite my arguments,
it was decided that SMB wasn't NFS and therefore wasn't in the same category
:(

I noticed Maarten still experiences it in 7.3.x; that doesn't surprise me at
all.

Cheers,

Preston.

--
http://www.anywebdb.com
http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=AU6396
&isbn=9781420076394&parent_id=&pc=

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 12, 2007 03:07PM
It sounds to me like they need a switch so you can change the behavior
of the "All" saveset specifier so you can set whether it picks up NFS
and/or SMB mounts.

David Werth
Garmin AT, Inc
Salem, Oregon
dave.werth<at>garmin.com

-----Original Message-----
From: EMC NetWorker discussion [mailto] On
Behalf Of Davina Treiber
Sent: Wednesday, December 12, 2007 12:48 AM
To: NETWORKER < at > LISTSERV.TEMPLE.EDU
Subject: Re: [Networker] Ignore NFS mounts

Preston de Guise wrote:
[quote]On 12/12/07 12:42 PM, "Tim Mooney" <Tim.Mooney < at > NDSU.EDU> wrote:

[quote]In regard to: Re: [Networker] Ignore NFS mounts, Alex Alexiou said
[/quote][/quote](at...:
[quote][quote]
[quote]That's the problem; if we just say ALL, then Networker assumes you
[/quote][/quote][/quote]mean
[quote][quote][quote]everything in fstab, including all NFS mounts.
[/quote]That's contrary to how the product has always worked, and contrary to
the (vague) documentation. What version of the client software are
[/quote][/quote]you
[quote][quote]using? What version of the server software?
[/quote]
Perhaps some bright spark has decided that what is Good for SMB is
[/quote]good for
[quote]all.

I had an issue some time ago where a customer mounted approximately
[/quote]2TB of
[quote]fileserver data from a Windows server onto a Linux server, and because
[/quote]they
[quote]wanted this mounted all the time, they added the SMB mounts to
[/quote]/etc/fstab on
[quote]Linux. Unfortunately, NetWorker decided they weren't NFS and started
[/quote]backing
[quote]them up.

While I had an RFE successfully raised and completed to take this
functionality out (arguing that SMB mounts are no different than NFS
[/quote]mounts
[quote]as far as whether the data is "local" or not), someone argued a
[/quote]counter-RFE
[quote]and got it reversed in the next version of NetWorker.
[/quote]
That is just ridiculous. Someone in EMC needs shooting for that. That
means that the default behaviour is to backup potentially large
filesystems multiple times over a network connection. Worse still, it is
difficult and clumsy to suppress this default behaviour, whereas it is
quite simple the other way round. What versions are you referring to
Preston?

[quote]
Since then, NetWorker has always blithely backed up SMB mounts that
[/quote]are in
[quote]/etc/fstab on Linux.

It wouldn't surprise me if more recent versions of NetWorker have done
[/quote]this
[quote]for NFS :(
[/quote]
It wouldn't surprise me either but it would severely disappoint me. I
really hope this hasn't happened. Alex, what version are you using and I
will add it to my growing list of versions to avoid at all costs.

It does seem that since Legato became EMC there have been a number of
poor decisions regarding the development of the product and also
regarding the way it is packaged.

type "signoff networker" in the body of the email. Please write to
networker-request < at > listserv.temple.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

-------------------------
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 14, 2007 12:26PM
Davina said:

[quote]That is just ridiculous. Someone in EMC needs shooting for that. That
means that the default behaviour is to backup potentially large
filesystems multiple times over a network connection. Worse still, it
[/quote]is

I'm going to have to agree with you there. It makes the All saveset
completely unusable in many environments. I always recommend that you
use All (or ALL_LOCAL_DRIVES in NetBackup all-local in TSM), as it
auto-skips NFS/CIFS. In NBU, there is a switch to turn it on/off per
policy. That way if you want to override the default (sane) behavior,
you can.

I feel a blog coming on (http://www.backupcentral.com).

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
December 17, 2007 03:54PM
I have been told that is not something that has been changed in NetWorker.

I have done some tests with a number of NetWorker versions and cannot
reproduce the error listed. (Solaris 10 and NFS)
I would suggest that if this behaviour is being observed that a support
call is raised so that it can be investigated.

This may be a bug with specific circumstances, but the normal and designed
operation is for the ALL to secure local filesystems only.

Has any one rasied a support case for this ?

via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
Ignore NFS mounts
January 04, 2008 02:06PM
I have also verified with EMC that this has not changed in NetWorker. There was a CIFS bug, but it is supposed to be fixed.

If anyone is having this issue, they should report it to support.
Sorry, only registered users may post in this forum.

Click here to login