Visit Our UNIX and Linux User Community


Identify SAN disks


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Identify SAN disks
# 1  
Old 05-25-2011
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 the cabine are not being used? And how I identify the cabine of the SAN disk?

Thank you.
# 2  
Old 05-25-2011
just in case some ask... inqraid is a utility for query Hitachi HDS based storage systems. To the OP... the question is specific to that storage system. You may get a reply, but it's not a Linux question really...
# 3  
Old 05-25-2011
Well, sorry. Let's make it general then:

- How can I be sure the SAN disks accessible from the server are not being used by the OS?

- Imagine a "Solaris" global zone with few zones, each one with his own LUN. So when removing a zone, one have first to dettach the LUN in order to "free the resource" so it can be used to another purpose. Now the same situation with Linux and without zones: how can I be sure a SAN disk is not being used?
# 4  
Old 05-31-2011
Well.. you could look through lsof and see if there's anything using the device file. That would probably work. I mean, there's nothing saying how a disk HAS to be used though. So it is possible to write to a SAN drive much like a floppy (just giving an example)... what I'm trying to say is that just because nothing is currently accessing the drive doesn't mean that it isn't being used (again, think of transient storage, e.g. USB drives, etc.).

But.. in general, check for file opens probably does what you want.
# 5  
Old 05-31-2011
I am closing this thread. Continue the discussion here: Identify SAN disks not in use
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #916
Difficulty: Easy
In Javascript, the console is an object which provides access to the browser debugging console.
True or False?

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. Red Hat

Identify SAN disks not in use

Hello, How can I identify SAN disks not in use by the OS? Thank you. (8 Replies)
Discussion started by: asanchez
8 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

Featured Tech Videos