How to check SAN disk is shared or dedicated disk

Hi,
I would like to know,
From server side Is there way to identify SAN disk is shared between different nodes or its dedicated SAN disk. (Without reaching Storage team).
Regards,
Manjunath Sullad

Hi Mandy,
Thanks for the reply, Yeah we can get disk details from get-disk, 
I am looking specific related to disk is shared or not
You can try to use SCSIcmd utility from Symantec. It would allow you to log and clear SCSI-2 & SCSI-3 ("old school" and persistent) reservations. See:
How to use the SCSIcmd utility to perform various SCSI-2 and SCSI-3 reservation related actions
http://www.symantec.com/business/support/index?page=content&id=TECH72086
Start with obvious logging and if disk is actually shared between multiple hosts it would have non-zero reservation tables. Example of the output:
Syntax Example: scsicmd -d14 -sscsi_reserved_status
Below are some example outputs of what will be seen with this command depending on the reservation type and status:
SCSI-2 Output when there is a reservation on the disk:
Harddisk14
Scsi Address
 Length     : 0x8
 PortNumber : 0x2
 PathId     : 0x1
 TargetId   : 0x2
 Lun        : 0x45
Harddisk14 is currently SCSI-2 reserved by SCSI Address (0x2, 0x1, 0x0, 0x1) of the computer: MTV2850-07.
SCSI-3 Output when there is a reservation on the disk
Harddisk14
Scsi Address
 Length     : 0x8
 PortNumber : 0x2
 PathId     : 0x1
 TargetId   : 0x2
 Lun        : 0x45
Harddisk 14 has SCSI-3 key(s) registered.
SCSI3 registered keys on harddisk14
Key: 7856341278563412
Key: 7856341278563412
Harddisk14 is currently under SCSI-3 reservation
SCSI3 reservation holder key on harddisk14
Key: 7856341278563412
Harddisk14 is currently being SCSI-3 reserved on the computer: MTV2850-07.
SCSI2 or SCSI3 output when there is no reservation on the disk:
Harddisk14
Scsi Address
 Length     : 0x8
 PortNumber : 0x2
 PathId     : 0x1
 TargetId   : 0x2
 Lun        : 0x45
Harddisk14 of the computer: MTV2850-07 is not under any SCSI reservation.
Good luck :)
Cheers,
Anton Kolomyeytsev [MVP]
StarWind Software Chief Architect
Profile:  
Blog:  
Twitter:  
LinkedIn:  
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • How to Check the Disk I/O in ASM

    Hi All,
    I have installed the 2 node RAC (10.2.0.4.0) on Enterprise Linux 5.2. I am using ASM to manage the Database Storage using EMC SAN (CX 320). I have configured the seperate LUNs for Datafiles, Redo Log, Archive logs using RAID 1+0. Not using multipathing currently.
    How can I check the IO activity , hotspots, disk usage etc from ASM instance? Also looking for your expert advices to monitor the system I/O. Any scripts or utility from where I can back track the cause of High IO. (Using iostat and oswatcher now but it is hard to interpret the output).
    Thanks
    Naveed

    Hi Naveed
    Herewith a query to see the disk usage
    select name, type, total_mb, free_mb, required_mirror_free_mb,
    usable_file_mb from v$asm_diskgroup;
    Otherwise is it possible for you to reach the ASM OEM home page on your server ?
    it contains the following items :
    The status of the ASM instance
    A chart that shows the used and free space of each disk group
    A list of databases that are serviced by the ASM instance
    Alerts and metrics
    Links to the ASM Performance, Administration, and Configuration pages

  • How to check external disk capacity?

    Hi,
    Can someone tell me how can I check the free space capacity of an external disk connected to my MacBook Air?
    Thx, Hans

    HI
    Open Finder.
    In left column, click on your external drive to hi-light it.
    Now select File in top of screen menu, then select Get Info, about half way down the drop down menu.
    This will show all features of your external drive.
    Cheers

  • How to check oracle is running or not

    Hi,
    Can any one help me the command to check whether oracle is running or not, in UNIX flatform.How to check the Disk+Work proess is running or not.

    Option1 :Logon to SAPDBA...U will be able to see whether Oracle is running or not.
    Option 2:
    Sqlplus /nolog;
    connect / as sysdba;
    startup;
    If it is already running: you will get msg that Oracle is already running
    Oprion 3: ps -eaf|grep ora
    to determine whether disp+work is running or not:
    Option 1: ps -eaf|grep sap
    Option 2: dpmon pf = <path of instance profile>
    Reward Points if helpful!

  • How to download itunes music to a San Disk for my car

    I need step by step instructions on how to put my playlist on San Disk for my car

    From your iPod Nano?

  • How do i view pics from my san disk

    I have a HP touch smart 520...has a slot for a SD card, but I can find no instructions on how to view my photos...help

    Misgini, welcome to the forum.
    You should insert the card carefully into the slot; metal contacts toward the bottom.  Once inserted, you can go into the My Computer folder.  There should be a folder with your photos.  Open it and you should see your photos.
    Please click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • How to check for bootblk on Disk

    Does someone know how to check for bootblk on solaris disk.

    If your system is booting then u can say that your bootblks are installed.Usually BootBlks are present in 0 & 1 slice of UFS Filesystem
    /usr/platform/platform-name/lib/fs/ufs
    directory where ufs boot objects reside.
    An x86 FDISK partition for the Solaris software begins with a one-cylinder boot slice, which contains the partition boot program (pboot) in the first sector, the standard Solaris disk label and volume table of contents (VTOC) in the second and third sectors, and the bootblk program in the fourth and subsequent sectors. When the FDISK partition for the Solaris software is the active partition, the master boot program (mboot) reads the partition boot program in the first sector into memory and jumps to it. It in turn reads the bootblk program into memory and jumps to it. Regardless of the type of the active partition, if the drive contains multiple FDISK partitions, the user is given the opportunity to reboot another partition.

  • How do i check my disk storage?

    How do I check the disk storage and usage

    Run an App like Grand Perspective or Daisy Disk to visualize all your files, so that you can identify files not needed, or suitable for offloading to an external drive.
    You can also get a basic representation from About this Mac, on the Apple menu.

  • How to check for physical damage on a disk using the Command Line

    I have a startup disk that I suspect of physical damage. The symptoms is that the server (10.4.7) would "hang" randomly, about once a day. I have already changed it and restored from a backup, and now everything is fine. However just out of curiosity are there any command line utilities to do a physical surface scan of the drive, like TechTool Pro but included in Mac OS X Tiger?
    G4 Dual 1.42 Ghz   Mac OS X (10.4.6)  

    Extract from the Command Line Guide for Tiger Server:
    Checking for Disk Problems
    You can use the diskutil or fsck command (fsck_hfs for HFS volumes) to check the physical condition and file system integrity of a volume. For more information, see the related man pages.
    MacBook Pro   Mac OS X (10.4.7)  

  • How to check my computer's graphics card compatibility

    My computer model name is
    HP Pavilion Elite HPE
    motherborad: bk170aa-aba hpe-210y 
    Processor: AMD Phenom(tm) II X4 945 Processor, 3000Mhz, 4 core logical processor
    Graphics card: ATI RAdeon HD 5450
    I have purchased this desktop for 5 years and my graphics card had started to wear out. 
    So i did some research on what graphics card my desktop can handle but it was very challenging
    some says that if the PS is high the computer can use anything but the size of the graphics card concerns me
    and some says that just buy a 270x but i dont know what my PS is for the computer and i dont know if my computer can use the grapics card's full potentials.
    So how I do really check what my motherboard can handle for the graphics cards?
    This question was solved.
    View Solution.

    Welcome to the forum.
    The power supply unit (PSU) in the computer is 300W.  Most mid-level video cards require a minimum of 400W to run properly.  A video card that will run with the 300W PSU will not
    be much better than the integrated video.  Therefore, a PSU upgrade is necessary, also.
    OCZ and Corsair make very good PSU's.  Irecommend at least 500W; 600W is even better for future upgrades.  You should measure the current PSU and compare the measurements to the one you choose.
    The video card should be no more than 9" in length.  It is a PCI Express x16.   If you upgrade the PSU this card will work for you:
    http://www.newegg.com/Product/Product.aspx?Item=N82E16814130839
    Please click "KUDOS" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • How to check SSO user from database?

    Hi:
    I've posted this topic in Forms forum:
    How to check SSO user from database?
    then as I've been told, it's better to post it here, so ...... here is the question:
    I'm writing a "before delete trigger" to insert into log table before delete. Is there a way that I know from database the current SSO user when SSO users share one database user?
    Just like in Oracle Application Express there is v('APP_USER') to know the current user.
    Saad,

    End users are manipulating data through Oracle Forms(and SSO through portal) and the thing I need is to trace the SSO username from database without modifying forms, I mean purely from database taking into consideration that SSO users are sharing one database user. Is it possible?
    Saad,

  • How do I access Disk Utility for 10.7.1?

    How do I access Disk Utility for 10.7.1? I found it in the forums a few weeks ago, used it, then lost the directions. This is a last ditch attempt
    to use OS Lion. I parted my hair incorrectly when I installed and have been plagued by the dread rainbow spinning ball in EVERY application. Yes, every. Name one, Safari, Firefox, Text Edit, Mail, Excel, Word, iTunes, Garage Band, Calculator, Calender, iPhoto....yes, every, and I cannot
    find a solution that works. I have back up files on two different hard drives 500 gig and 1 terrabyte with all my music, photo and writing files.
    I am a writer and a musician so imagine the frustration. OS 10.6 is an option of course. My dedication to Apple and each new OS is deep so
    I am hoping that somehow there will a fix, an upgrade, something that does not require me to go bac to the much more endangered species named OS.
    hahhaa! Just stalled waiting for the ball to finish with it's random spinning.... SO, this is like a last desperate .... it just did two more stalls.
    NO OTHER apps running, just little Firefox holding on for dear life, last desperate request for a fix.
    MacKeeper has been great in sending helpful directions for getting the Antivirus to work after it mysteriously decided to stop working, Quite MacKeeper,  go to Activity Monitor, force quit helper, start up MacKeeper and run program. It works!
    SO before my third stall stops me, please post directions to open disk utility in administration mode so that I can do any further repairs that have not worked by using it from the open system. Also keychain synching stopped working with Lion.
    Thanks to any and all who can help.

    Press and hold Command-R keys and reboot. You'll then start up in the Lion Recovery HD. You'll find Disk Utility there.
    Command-R to the rescue.
    Just hold down Command-R during startup and Lion Recovery springs into action. It lets you choose from common utilities: You can run Disk Utility to check or repair your hard drive, erase your hard drive and reinstall a fresh copy of Lion, or restore your Mac from a Time Machine backup. You can even use Safari to get help from Apple Support online. And if Lion Recovery encounters problems, it will automatically connect to Apple over the Internet.

  • How to measure slow disk i/o impact on video graphics performance???

    The problem is when an application runs in fullscreen with a high FPS and still shows lag/stutter issues in graphics ...
    Windows 7 doesn`t seem to have any tools that report of stuck disk i/o traffic and neither does the graphic card controls (nvidia). The missing information seem to be:
    1) Whether it is because of a slow drive (fx. http://www.youtube.com/watch?v=QF-SBypQBuw); (Solution: buy a faster drive)
    2) Whether it is because of other programs using the same disk - fx. windows pagefile(?); (Solution: move the app to another drive)
    3) Or whether it is because of a layer program - fx like Sandboxie that redirects filesearch etc.; (Solution: run the app outside the layer)
    Is it really necessary to buy and install and configure a new harddrive and then install the app on this drive uncertain of results just to compare to try solving some graphics lag because of disk i/o issues?

    1) the Windows performance index gives a view of the hardware's expected performance the subscores for harddrive tests should allow you to determine if your harddisk is 'slow'
    2) Resource monitor can help to identify processes that have a lot of IO. Most important measurement will be teh disk queue length. To get even more detailed information, you could use perfmon.
    http://blogs.technet.com/b/askcore/archive/2012/02/07/measuring-disk-latency-with-windows-performance-monitor-perfmon.aspx
    3) virtualisation and/or sandboxing always has a performance impact. You should check with the software vendor how to check for/test the performance impact the application has.
    no, it is not neccasary to buy hardware or software to identify a performance issue. note that in some cases is might be easier/cheaper to buy some new hardware of which you are sure it will meet all requirements.
    PS: consider purchasing an SSD if yous suspect IO issues and are willing to spend some: it will be your best hardwareupgarde you did over the last 10 years!!!
    MCP/MCSA/MCTS/MCITP

  • How do I set up a shared folder so all user accounts can view photos?

    How do I set up a shared drive for iPhotos for multiple users of my iMac?

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How to check the verity version in our PeopleSoft Installation?

    How to check the verity version in our PeopleSoft Installation? I am not sure if the verity is installed or not and also if installed what is the version?

    yes. it says the version is 5.0.1
    Is there any difference in installation or configuration when the app and web server are in same machine and when the app and web server are installed in different servers?
    ============================================
    D:\fs840\webserv\peoplesoft>mkvdk
    mkvdk - Verity, Inc. Version 5.0.1 (_nti40, Jul 23 2004)
    Usage: mkvdk [<option>...] <filespec>...
    Where <option> can be a VDK switch, or any of:
    -about Show the collection's about resources
    -autodel Delete bulk insert file when no longer needed
    -backup <dir> Specify collection backup location
    -bulk Submit bulk insert file(s)
    -charmap <name> Specify the character map to VDK
    -collection <path> Specify the collection (required)
    -create Create the collection
    -credentials <user> Specify user[:passwd][:domain][:mailbox]
    -datapath <path> Specify VDK datapath
    -datefmt <fmt> Specify date format to VDK
    -debug Enable debugging output
    -delete Delete documents
    -description <desc> Set the collection's description
    -diskcache <num> Set VDK's disk cache size (kbytes)
    -extract Extract field values from text
    -help Print this usage information
    -insert Insert documents (default)
    -locale <locale> Specify the locale to VDK
    -logfile <file> Save output in a log file
    -loglevel <num> Set the VDK output level for the log
    -mailboxes This option is depracated. Use the credentials option inste
    ad
    -maxfiles <num> Set VDK's maximum number of open files
    -maxmemory <num> Set VDK's maximum memory usage (kbytes)
    -mode <mode> Set the indexing mode
    -modify Modify fields using field/value pairs from a bulkfile
    -nohousekeep Disable housekeeping
    -noindex Disable indexing
    -nolock Turns off locking (dangerous)
    -nooptimize Disable optimizations
    -nosave Don't save collection work list
    -noservice Prevents servicing of submitted work
    -nosubmit Don't submit work to VDK
    -numdocs <num> Number of documents to insert from bulk insert file(s)
    -numpages <num> Synonym for diskcache for backward compatibility
    -offset <num> Specify offset into bulk insert file(s)
    -online Flag for online Bulk Modify
    -optimize <spec> Optimize the collection
    -outlevel <num> Set the VDK output level
    -persist Service the collection forever
    -purge Remove all documents from collection
    -purgeback Purge in the background
    -purgewait <secs> Specify delay before purge
    -quiet Suppress all non-error messages
    -repair Repair the collection
    -servlev <spec> Advanced option for overriding service level
    -sleeptime <secs> Interval between service calls for persist
    -style <dir> Specify style directory for create
    -submit Synonym for noservice for backward compatibility
    -synch Perform work synchronously
    -topicset <path> Specify VDK topic set
    -update Update documents
    -vdkhome <path> Specify VDK home
    -verbose Output more information
    -words Build word assist list
    -wordindex Build word assist index
    The <spec> for -optimize is a hyphenated string of:
    maxmerge Perform maximal merging of partitions
    squeeze Recover space from deleted documents
    vdbopt Build optimized VDB's
    spanword Create word list spanning all partitions
    ngramindex Create ngram index into spanning word list
    maxclean Really clean (not for read-write)
    readonly Make the collection read-only
    tuneup Fully optimize for read-write use
    publish Fully optimize for read-only use
    The <spec> for -servlev is a hyphenated string of:
    search Enable search and retrieval
    insert Enable adding and updating documents
    optimize Enable opportunistic collection optimization
    assist Enable building of word list
    housekeep Enable housekeeping of unneeded files
    delete Enable document deletion
    backup Enable backup
    purge Enable background purging
    repair Enable collection repair
    dataprep Same as search-index-optimize-assist-housekeep
    index Same as insert-delete
    Error: must specify collection
    mkvdk done
    D:\fs840\webserv\peoplesoft>

Maybe you are looking for