Solved

How to identify SAN / Nas mounts in in Redhat box

Posted on 2010-08-17
6
1,904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 78

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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 78

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

717 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