Identify SAN disks not in use

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Identify SAN disks not in use
# 1  
Old 05-25-2011
Identify SAN disks not in use

Hello,

How can I identify SAN disks not in use by the OS?

Thank you.
# 2  
Old 05-31-2011
asanchez,

Are you using any volume manager in the OS end.
# 3  
Old 05-31-2011
Well, we're managing around 1200 servers with a variety of unix-like OS (rhel, suse, centos, ibm aix, sunos and hp-ux).

And there are some with LVM, some with VxVM and some with none (fs's mounted directly to fdisk /dev/sdX partitions).

There is also multipathing with some systems.

To not make it more difficult, I'm trying to resolve it first in the RHEL case (LVM, VxVM and none).

Last edited by asanchez; 05-31-2011 at 11:07 AM..
# 4  
Old 05-31-2011
If the OS is not using a SAN disk then generally it will not have any knowledge of such a disk.

The OS can tell you what disks it is using, what disks are on the hardware it is running on, etc.
# 5  
Old 05-31-2011
Quote:
The OS can tell you what disks it is using, what disks are on the hardware it is running on, etc.
So in RHEL, how do I know whether a SAN disk is or is not being used by the OS?
# 6  
Old 05-31-2011
try looking in the /etc/fstab

If it is not there, then run the command:
Code:
mount

If the disk is not referenced in either place, it is not mounted, and likely not being used.
# 7  
Old 05-31-2011
As I mentioned in your other thread (this is kind of a dup btw)... using lsof is probably what you want.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Identify Boot from SAN

Hi, I have many servers all of these are boot from SAN. Can anybody let me know that how to identify the server is Boot fron SAN and from which device? Thanks Rahul (1 Reply)
Discussion started by: rahul.kurumkar
1 Replies

2. Solaris

Identify Boot from SAN

How to identify the server is BOOT FROM SAN. Also how one can find from which device it is booted? Thanks Rahul Double post, continued here (0 Replies)
Discussion started by: rahul.kurumkar
0 Replies

3. UNIX for Dummies Questions & Answers

Identify SAN disks

Hello everybody, I'm using the binary inqraid (Linux RHEL) in order to retrieve information about SAN disks. The questions are: Given an LDEV, how do I know if the SAN disk related to this LDEV is being used by the OS? I mean, how can I demonstrate to "Storage department" that all disks of... (4 Replies)
Discussion started by: asanchez
4 Replies

4. HP-UX

To identify if local disks are mirrored

Hello All, Am trynig to identify if the local HD's on our BL860 (running 11v3) are indeed mirrored to each other. Cheers, Cameron (3 Replies)
Discussion started by: Cameron
3 Replies

5. Filesystems, Disks and Memory

Help with finding WWN of SAN disks

Hi, I'm new to SAN storage so I was wondering if someone can assist me with a problem. I have a solaris 10 OS with 3 SAN devices attached. We are trying to troubleshoot performance so I was asked to get the WWN of each SAN disk and show what it's attached to via the SVM mount in the metastat... (1 Reply)
Discussion started by: rkruck
1 Replies

6. Solaris

SAN DISKS - Number of slices ?

Good morning to one and all :-) Thank god its Friday, as its bee na rubbish week for me ! So, a quick question. Disks ! Ive got a few local disks, and a few SAN disks used on my solaris server. Whats confusing me, and Im not sure if there's an issue at the SAN end, or my end, regarding the... (3 Replies)
Discussion started by: sbk1972
3 Replies

7. AIX

Configurin EMC SAN disks on AIX

This may sound like an absolute rookie question, and it is. I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards. Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch. Can someone... (1 Reply)
Discussion started by: ronellevan
1 Replies

8. Solaris

Problem with accessing SAN disks

Hi, I'm having a problem when attempting to define the OCR location for my 10g RAC setup on Solaris 10. I get the following error: The specified shared raw partition /dev/did/rdsk/d1s0 may not have the correct permission. Verify that the partition is owned by Oracle user. As per the Oracle10g... (15 Replies)
Discussion started by: michael.chow
15 Replies

9. Linux

problem with disks on SAN

Hi I have a linux box attched to a SAN storage from EMC with RAID 5 .I understand that it has 3g cache howver a 20gb file creation takes too much time here are my results any ideas why time dd if=/dev/zero of=disk.img bs=1048576 count=20000 20000+0 records in 20000+0 records out 997.59s... (2 Replies)
Discussion started by: xiamin
2 Replies
Login or Register to Ask a Question