On 05/19/2016 07:22 AM, Andrew C Aitchison wrote:
On Thu, 19 May 2016, Stephen Berg (Contractor) wrote:
On 05/19/2016 05:27 AM, Tom H wrote:
1) Can your monitoring software be taught that /home and /export/home
are the same?
Not easily as far as I know. It just relies on what the agent
reports, and the agent just shows what this command outputs:
excludefs="-x smbfs -x cifs -x iso9660 -x udf -x nfsv4 -x nfs -x mvfs
-x zfs"
df -PTlk $excludefs | sed 1d
What does "mount" show in this case ?
If "mount" shows both you should be able to filter out the nfs version.
/dev/mapper/VolGroup-home on /export/home type xfs
(rw,relatime,attr2,inode64,noquota)
/dev/mapper/VolGroup-home on /home/berg type xfs
(rw,relatime,attr2,inode64,noquota)
Mount does show both, but in the case of my home directory on my desktop
system both mount point listings are identical except for where it's
mounted. The first one there is the actual mount point. The second one
is the mount point via the automounter and NFS. My desktop is Fedora
23, but I've verified that SL7.2 behaves identically. All but my system
and one other on my network are SL6.x or 7.x and I'm seeing this issue
on a few dozen systems that tend to have automounts in use that are
hosted on them locally.
--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[email protected]