SCIENTIFIC-LINUX-USERS Archives

May 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stephen Berg (Contractor)" <[log in to unmask]>
Reply To:
Stephen Berg (Contractor)
Date:
Thu, 5 May 2016 07:22:19 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Had this problem for quite awhile now, still haven't found a solution.

We use NFS automounts quite extensively here.  Lot's of filesystems that 
show up (to the user's) as /u/<blah>.  On the system where the 
filesystem actually lives it will be available as /u/<blah> and also 
/export/<blah>.  If the /u/<blah> mount point is mounted on a system 
where it's hosted df doesn't show the /export/<blah> mount point and the 
check_mk service to monitor that filesystem goes into an UNKN state.

I think it's because the agent see the bind mount and ignores the actual 
mount point in it's df output.

If I look in /proc/mounts I see:

/dev/mapper/732254-common mounted on /export/new_common

and

/dev/mapper/732254-common mounted on /common

That's what I expect to see, but running df I only see the filesystem 
mounted on /common.  That's where check_mk gets messed up since it 
inventoried the filesystem as being on /export/new_common.

Is there anyway to get df to ignore automounted mount points and only 
show the actual mount point?  I've looked through the man page and can't 
find any option to get that to happen.


-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[log in to unmask]

ATOM RSS1 RSS2