LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-03-2012, 07:52 AM   #1
jackiebaron
Member
 
Registered: Aug 2011
Posts: 51

Rep: Reputation: Disabled
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
 
Old 09-03-2012, 09:40 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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?
 
Old 09-03-2012, 11:33 AM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
"mount" would probably be the easiest way.
 
Old 09-03-2012, 03:42 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
"mount" would probably be the easiest way.
"df -hT" says quite a bit.
 
Old 09-04-2012, 07:49 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
sounds more like a job for snmp.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does ps command gather information rahulruns Linux - General 1 05-07-2011 12:22 AM
NCURSES form help!! how to gather information? kossel Programming 2 01-11-2008 12:55 PM
tool to gather network information paul_mat Linux - Networking 3 01-18-2006 05:01 AM
gather login information gsanand Programming 0 10-21-2004 06:45 PM
How do I gather information on the video adapter gianh Linux - General 1 04-22-2004 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration