LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to gather all file system information (http://www.linuxquestions.org/questions/linux-general-1/how-to-gather-all-file-system-information-4175425407/)

jackiebaron 09-03-2012 08:52 AM

How to gather all file system information
 
I have several RedHat machines (actually it's a 6 node cluster).
I need to collect all the disk/file system information, i.e., all the mount points and what directories sit on which disk, etc. It's using a SAN array.

Thanks

j

tronayne 09-03-2012 10:40 AM

You could try lshw, cat /etc/fstab, mount, dirname and find some_mount_dir_name -type d -print along with some combinations of those and a little shell programming, eh?

suicidaleggroll 09-03-2012 12:33 PM

"mount" would probably be the easiest way.

Habitual 09-03-2012 04:42 PM

Quote:

Originally Posted by suicidaleggroll (Post 4771559)
"mount" would probably be the easiest way.

"df -hT" says quite a bit. :)

Habitual 09-04-2012 08:49 AM

sounds more like a job for snmp. :)


All times are GMT -5. The time now is 09:46 PM.