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.
9 More Discussions You Might Find Interesting
1. Linux
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
2. Solaris
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
3. 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
4. Solaris
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
5. Filesystems, Disks and Memory
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. HP-UX
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
7. Red Hat
Hello,
How can I identify SAN disks not in use by the OS?
Thank you. (8 Replies)
Discussion started by: asanchez
8 Replies
8. Solaris
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
9. Red Hat
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
LEARN ABOUT SUSE
volcheck
volcheck(1) User Commands volcheck(1)
NAME
volcheck - checks for media in a drive and by default checks all floppy media
SYNOPSIS
volcheck [-v] [-i secs] [-t secs] pathname
DESCRIPTION
The volcheck utility tells Volume Management to look at each dev/pathname in sequence and determine if new media has been inserted in the
drive.
The default action is to volcheck all checkable media managed by volume management.
OPTIONS
The following options are supported:
-i secs Set the frequency of device checking to secs seconds. The default is 2 seconds. The minimum frequency is 1 second.
-t secs Check the named device(s) for the next secs seconds. The maximum number of seconds allowed is 28800, which is 8 hours. The fre-
quency of checking is specified by -i. There is no default total time.
-v Verbose.
OPERANDS
The following operands are supported:
pathname The path name of a media device.
EXAMPLES
Example 1: A sample of the volcheck command.
The following example
example% volcheck -v /dev/diskette
/dev/diskette has media
asks Volume Management to examine the floppy drive for new media.
The following example
example% volcheck -i 2 -t 600 /dev/diskette1 &
asks Volume Management if there is a floppy in the floppy drive every 2 seconds for 600 seconds (10 minutes).
FILES
/dev/volctl Volume Management control port
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvolu |
+-----------------------------+-----------------------------+
SEE ALSO
eject(1), volcancel(1), volmissing(1) rmmount(1M), vold(1M), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS)
WARNINGS
Due to a hardware limitation in many floppy drives, the act of checking for media causes mechanical action in the floppy drive. Continu-
ous polling of the floppy drive will cause the drive to wear out. It is recommended that polling the drive only be performed during periods
of high use.
SunOS 5.10 21 Feb 1997 volcheck(1)