NV Version: 7.4.4 and earlier
OS Version: SOLARIS (SPARC)/UNIX/LINUX
Application version: N/A
Plugin version: N/A
Description:
File system backup continues to target and backup content of the NFS Mount point that is being managed with the automount daemon even with the option - 'Backup through remote mounts?' unselected.
Symptoms:
The issue here is that initally if an automount is inactive it's mount point directory is not listed within /etc/mnttab and the directory is registered within netvault as just a normal directory and is nominated for backup if the 'Backup through remote mounts' option is not selected.
When the backup targets this directory the automount daemon performs a dynamic nfs mount and the content is then made available to the fs plugin and backed up as the screening for nfs has already taken place
in a previous phase of execution. Hence the result is that the nfs mount contents are backed up - even with the 'Backup through remote mounts' not selected - this is not expected or desired behaviour.
If the backup is run when the automount is active the directory is listed within /etc/mnttab as an nfs mountpoint and the directory content is ignored when the 'Backup though remote mounts' option is not selected - which is the expected behaviour.
A workaround for this problem with the backup would be to create a prescript for the job which accesses the automounted directory.
For example, the automounted directory /usr/local/test was set up as follows:
#cat /etc/auto_master
+auto_master
/usr/local /etc/auto.usr.local -ro
#cat /etc/auto.usr.local
+auto.usr.local
test -rw,intr,noquota,timeo=44,retrans=10 Springfield:/export/test
When a user accesses /usr/local/test, the automounter will automatically mount Springfield:/export/test.
You can check the directory has been automounted by accessing the contents of the directory or alternatively cat /etc/mnttab to show mount points.
For the workaround using the above example, you could then create a script called automountdir.sh in the ~/netvault/scripts directory containing the following:
#!/bin/sh
cd /usr/local/test
Then on the backup job advanced options tab, tick use prescript and enter automountdir.sh beside this option.
To ensure that all auto mount points are covered and any changes to the auto mount configurations are catered for ,
the best practice would be to construct a script that forced mounts for all mount points defined within
the automount maps by building the list of cd commands from the map mountpoint definitions
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center