Solved

How to identify SAN / Nas mounts in in Redhat box

Posted on 2010-08-17
6
1,461 Views
Last Modified: 2013-12-06
I used to know this stuff.

How do I identify San mounts
How do I identify NAS mounts.
How do I figure out how many hard drives and the raid level for the local drives ?

This is a redhat 5 box.

0
Comment
Question by:TIMFOX123
6 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 33459539
It all depends on how you have your setup?
you can look at mount and you will see what is mounted.
if you use LVM, you would then need to use vgdisplay, lvdisplay etc.
Then you can look at /proc/scsi/ and depending on the type of SAN FC or iSCSI you have different indications for either.

NAS mount as NFS type and would include the name of the server from which they are accessed.
.

Post the output of mount and I'll try to use it as a guide to answer you questions further.

The RAID setup depends on whether you are using Hardware Card that does the raid or are you using software raid.

In either case you are limited by the number of drives the Hardware Card can support or the number of Drives you can add into your system.  With Software raid (MDADMIN) you can group different drives into RAID 0, 1, 5 are the common ones. http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html
You may want to use LVM as an overlay.
http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-11.html 
0
 
LVL 40

Expert Comment

by:noci
ID: 33460206
NAS mounts may also be in the form of CIFS file systems. (or SMBFS if it's an older version.)
0
 

Author Comment

by:TIMFOX123
ID: 33464392
Can you give some examples of
regular mounts vs san mounts vs nfs mounts ?

0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 77

Assisted Solution

by:arnold
arnold earned 166 total points
ID: 33464669
NFS and CIFS/SAMBA as noci added, will show their type
command mount will display the mounted file system:
/dev/sda1 on / type ext3 (rw)
NFS
server:volume on /home type nfs (RW)
CIFS/SMB might be something like below
\\server\share on /share type cifs or SMB

A SAN mount is seen by the system as a local resource.
i.e.
/dev/sdd1 on /data type ext3 (rw)

dmesg is a good source of information on what you have on your system.
You would need to use lspci, dmesg to see where the resource is comming from.

try:
ls -l /dev/disk/by-id
Here you should have a list of your partitions and the vendor of the drives.
SAN resource will be listed by the SAN name versus by the Harddrive manufacturer.
instead of seagate, Westerndigital, etc.
You may have EMC, HP, openfiler,etc.
0
 
LVL 40

Accepted Solution

by:
noci earned 167 total points
ID: 33465347
Slight addition to arnold:
Cifs can be seen in the mount table with forward slashes only like:

//server/share on /local type cifs
of
//server/share on /local type smbfs

0
 
LVL 26

Assisted Solution

by:lnkevin
lnkevin earned 167 total points
ID: 33468078
Here are the commands

df -T

This command will show you all hds and partitions

you can check raid level with this command

raiddev /dev/md0
                    /md1

K
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question