LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   file activity logs for NFS mount on storage system? (https://www.linuxquestions.org/questions/linux-newbie-8/file-activity-logs-for-nfs-mount-on-storage-system-897919/)

slombovia 08-17-2011 03:59 PM

file activity logs for NFS mount on storage system?
 
Where can I view file activity logging especially files being deleted when the files in question were on an NFS mount from a storage system such as NetApp or EMC? This is is Red Hat unknown version.
Many thanks!

Tinkster 08-17-2011 05:50 PM

Hi, welcome to LQ!

And if you don't have access to the NFS server you can't. On
the NFS server you could either use inotify tools to just watch
what and when; or you could enable kernel auditing to also see
who & what process.



Cheers,
Tink

chrism01 08-17-2011 06:04 PM

To get the RH version, try
Code:

cat /etc/*release*

uname -a


slombovia 08-17-2011 06:56 PM

Quote:

Originally Posted by Tinkster (Post 4446043)
Hi, welcome to LQ!

And if you don't have access to the NFS server you can't. On
the NFS server you could either use inotify tools to just watch
what and when; or you could enable kernel auditing to also see
who & what process.



Cheers,
Tink

Cheers Tink and thank you.

That was my fear because in this scenario there is no true NFS server. The storage system is about storage and redundancy not file access monitoring - it leaves that to the hosts. Oh, it has its /etc/exports and you can mount them but if Red Hat (or other) won't keep track of file access - even though it's the client, than you'd best trust your file handling!


All times are GMT -5. The time now is 08:20 PM.