LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
LQ Newbie
 
Registered: Aug 2011
Posts: 12

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,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 2,641

Rep: Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946Reputation: 946
"mount" would probably be the easiest way.
 
Old 09-03-2012, 03:42 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,066
Blog Entries: 4

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
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
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,066
Blog Entries: 4

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 01:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration