Checking disk with sccli and asm

Hi all,
I'm a newbie with sccli. I'be been checking what disks, logical volume, physcial volume, lun, partition in the sccli have been used for the asm and what is disk is still available in the OS level.
Will you please advice on the command and steps to check this.
and any document links.
thanks
andrew

[oracle@localhost init.d]$ oracleasm listdisks
VOL1
VOL2
[oracle@localhost init.d]$
Well for this you can use oracleasm querydisk.Using this you can identify which device as marked for asm or not. for example you can see this below example.
[oracle@localhost init.d]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select path from v$asm_disk;
PATH
/dev/oracleasm/disks/VOL2
/dev/oracleasm/disks/VOL1
SQL> exit;
[oracle@localhost init.d]$ su
Password:
[root@localhost init.d]# /sbin/fdisk -l
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381   83  Linux
/dev/sda2            1306        9401    65031120   83  Linux
/dev/sda3            9402        9662     2096482+  82  Linux swap / Solaris
/dev/sda4            9663        9726      514080    5  Extended
/dev/sda5            9663        9726      514048+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        4859    39029886   83  Linux
/dev/sdb2            4860        9729    39118275   83  Linux
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
[root@localhost init.d]# ./oracleasm querydisk /dev/sda1
Device "/dev/sda1" is not marked as an ASM disk
[root@localhost init.d]#
Also in windows :
C:\Documents and Settings\comp>asmtool -list
NTFS                             \Device\Harddisk0\Partition1           140655M
ORCLDISKDATA1                    \Device\Harddisk0\Partition2             4102M
ORCLDISKDATA2                    \Device\Harddisk0\Partition3             4102M
NTFS                             \Device\Harddisk0\Partition4           152617M
C:\Documents and Settings\comp>
answered by Chinarsource:-how to identify which rawdevice Disk Is named as VOL1 IN ASM from os level
how to identify which rawdevice Disk Is named as VOL1 IN ASM from os level

Similar Messages

  • Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Help, I installed parallel and windows, and opened videos (on an external hard disk) with windows, and now cannot open them with Mac, and use i movies.  How do I reverse this?

    Paragraphs help the reader, just saying.
    What are you actually trying to do? Why do you need "DVD size" folders if you're creatng an Archive on an external hard drive?
    Also, I understand burning folders instead of individual photos or albums gives you more space on a DVD.
    It makes no difference at all.
    How can I keep the captions on my photos (not events) when I print or transfer to a new folder?
    You can export while writing the metadata to the file in most cases.
    Tne only way I know is to copy photos from the Windows to folders on my HD, then copy and paste photos or albums or events to HD, then create a new folder and fill it to the appropriate DVD size. 
    HD? Another HD? You use HD there in a way that makes no sense. What's the point of 'DVD size'?
    I also thought I should download future photos to my Canon programming that comes with EOS cameras and edit and then decide which photos to save to iPhoto library and which to save only to my archival HD?
    Does this have any relation to the previous questions? You know you can delete from iPhoto, right?
    You're somewhat confused and you need to
    1. Decide what exactly you want to do
    2. Then go about it.
    If I understand you correctly - and there's no guarantee that I do -  the easiest thing is to bring all your Photos into iPhoto and do everything from there.
    You can have an archive on an external disk, you can sort and select and edit with or via iPhoto
    Regards
    TD

  • Can someone please help, I have a dvd disk containing lecture videos, on a Windows pc it works fine, and the disk opens to the dvd menu. However on my macbook pro running Mountain Lion, it opens as a data disk, with video and audio in two seprate files??

    Can someone please help, I have a dvd disk containing lecture videos, on a Windows pc it works fine, and the disk opens to the dvd menu. However on my macbook pro running Mountain Lion, it opens as a data disk, with video and audio in two seprate files??

    You may need a 3rd party application to view the DVD in a wWindows format such as
    http://flip4mac-3.en.softonic.com/mac
    https://www.macupdate.com/app/iphone/5758/vlc-media-player

  • Want to use a Lacie External Hard Disk with Windows and Mac? Can I?...

    Hi, I've just purchased a Lacie Extreme D2 external hard disk, I'm looking to use it to move film clips from my Mac G5 to my Sony Vaio laptop. I'll connect the Mac using Firewire 1 and the PC using USB 1.
    I understand there is an issue with setting the compaitibility of the hard disk to either Mac or Windows format but I'm wondering if I can set it to both, so it's possible to transfer these files? The hard disk is Windows and Mac compatible but does it have to be partitioned a certain way?
    Any help is much appreciated.
    Thanks,
    Alex

    Format the drive as FAT or use the Mac format (HFS Extended) and install MacDrive on the PC.

  • Check table with Plant and material type

    xperts,
    i m trying to find a check table with fields werks and mtart.

    Hi,
    NO ,its not possible to get from only one table...
    werks  -
    T001W
    mtart----
    t134.
    Regards,
    Rohan.

  • Sharing Air Disk with XP and OS X: XP Doesn't Create Files?

    Hello,
    I'm trying to share a USB hard disk with both my Macbook Pro and an XP machine. Both computers can see the drive and access files on it. However, only the Macbook Pro is able to create files. When I drag a directory (folder) to the drive in Windows, it creates all of the (sub)folders but the files do not seem to get copied.
    Any idea what I'm doing wrong? I'm usually pretty good with this sort of thing, but I'm baffled!
    Thanks,
    Aidan

    The only problem is that I tried to do that but when you log into the PC's you have limited access, theres no way i can have admin privileges. is there some way i can get a folder showing up on all those computers? maybe make an smb sharing service on the mac and setting up a shortcut on the windows boxes to the iMacs address?

  • Cloning 11i non split to split configuration with RAC and ASM

    Hello Hussein,
    I just want to ask some ideas on what is the best way to clone our UAT/DEV environment to our PROD environment.
    Right now no RAC and ASM setup for the source system still 9.2.0.5 but the plan is to convert to ASM + 10g RAC.
    Can you please let me know on what is the best way to setup PROD out of our UAT environment?
    Here's my options:
    1. Install a fresh prod system
    2. Convert source system to ASM + RAC before cloning to target - setup as below:
    (Source)
    APPS server - 32bit
    DB server (2 node RAC + ASM) - 32bit
    (Target)
    APPS server - 32bit
    DB server (2 node RAC + ASM) - 64bit
    3. Clone existing target system (non RAC and non ASM)
    copy source APPL directories to target
    Install 64 bit Oracle 10g to the target system
    clone/convert database source (9i 32bit) to database targer (10g 64 bit) using RMAN.
    Install clusterware 11gR2
    Convert database to RAC
    Can you please let me know on what is the best approach to do this? For fresh install it will take some time to apply the current patch level and applying other patches.
    For Option 2, seems a bit complicated to do 32bit - 64 bit cloning on RAC. Appreciated if you can provide doc id for this.
    For Option 3, not sure how smooth the conversion from 32bit to 64bit.
    Appreciate your insights on this.
    Regards,
    jeffrey

    Hi Jeffrey,
    Since you are on 9.2.0.5, I assume you are running Oracle Apps 11i and not R12.
    1. Install a fresh prod systemThis option requires applying all patches (as you mentioned above) plus you will have to convert to ASM/RAC on the source/target instance. I would not recommend this approach since would require extra work/time.
    2. Convert source system to ASM + RAC before cloning to target - setup as below:
    (Source)
    APPS server - 32bit
    DB server (2 node RAC + ASM) - 32bit
    (Target)
    APPS server - 32bit
    DB server (2 node RAC + ASM) - 64bitWhat are the source and target database version?
    As per (Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]) this is supported by Rapid Clone. So, in this case you need to convert the source instance to RAC and migrate to ASM then use Rapid Clone to clone the application/database.
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1] -- 6. Cloning a RAC System
    You will have to convert the target database then from 32-bit to 64-bit.
    3. Clone existing target system (non RAC and non ASM)
    copy source APPL directories to target
    Install 64 bit Oracle 10g to the target system
    clone/convert database source (9i 32bit) to database targer (10g 64 bit) using RMAN.
    Install clusterware 11gR2
    Convert database to RAC Here you will have to convert to RAC/ASM on both the source/target instances -- You are eliminating the patches part in Option 1, but again extra work need to be done to convert the database from 32-bit to 64-bit on the target instance + convert to RAC and migrate to ASM (on both instances).
    Based on the above, I would recommend and suggest you go with Option 2.
    Thanks,
    Hussein

  • Disk Re Pathing and ASM hdisks

    We have 10gR2 + ASM on AIX .
    Now the Sysadmin want to do repathing of hidks.
    Repathing changes the hdisk number.
    How to handle this situation in ASM ??
    Thanks a lot in advance.
    -Ashok

    ASM should not have a problem with the hdisks being renamed. ASM will scan all of the disks in the asm_diskstring in the init,ora, so as long as the string is setup correctly asm will see the disks and mount the diskgroup. The only problems you'll run into is if this is a RAC setup and the OCR and Voting devices change names. That takes some manual intervention, but can be changed.

  • Change partitions on disk with NTFS and Mac OS Extended

    I have a 1.5TB external drive formatted with 3 equal size partitions:  1 NTFS and 2 Mac OS Extended formats, each one ~500GB. I'd like to remove the NTFS partition and use the whole drive for the 2 Mac partitions.  Could I copy the NTFS data to one of the Mac partitions, then delete the NTFS partition, and then enlarge the two remaining partitions, of course without losing the information that's already on each of them?  My system is OSX 10.7.5 -- Lion.

    Purple Finch wrote:
    I have a 1.5TB external drive formatted with 3 equal size partitions:  1 NTFS and 2 Mac OS Extended formats, each one ~500GB. I'd like to remove the NTFS partition and use the whole drive for the 2 Mac partitions.  Could I copy the NTFS data to one of the Mac partitions, then delete the NTFS partition, and then enlarge the two remaining partitions, of course without losing the information that's already on each of them?  My system is OSX 10.7.5 -- Lion.
    Probably maybe, with a fair wind & some luck…
    It depends on a few factors, such as the order of the partitions on disk, how the disk was originally created, what partition scheme it uses (e.g. GUID, Master boot record…). It also depends on if all that data can be crammed into an existing partition.
    I doubt you want to hear this, but it is the safest option… backup the data on every partition before you begin modifying the disk structure.
    You have nothing to lose with solid backups on another disk, disconnect it to be extra cautious.
    If this disk fails to repartition or you find that the 2 remaining partitions won't not expand to fill all the free space (it just happens sometimes) you can create a new partition table & start over.
    Disk Utility may also complain when you try to resize or delete a partition - sometimes it waits until the last button is pressed to begin a task only to tell you something isn't possible!
    I wouldn't attempt this 'copy, delete, resize' unless I could afford to lose all the data on this disk, it should work, but there is too much room for error.

  • Changed to "Securing shared disk: with accounts" and lost previous data?

    I installed a TC in July and have been doing Time Machine backups to it ever since. Today, I decided to add File Sharing accounts using the Airport Utility. I created two accounts. The next time Time Machine ran, it failed on login. I reconfigured it to use one of the two new accounts, and (not surprisingly, in retrospect) it began a complete, new backup.
    The Finder tells me that 150GB of the TC disk is already in use. I hope that's the space used by my former backups... but how do I find them? Whenever I try and open the TC in the Finder, I'm prompted for one of the new account/passwords, neither of which allows me to view any of the former data.
    Is it possible to access data that was written to the TC disk prior to my switching to account-controlled file sharing?

    Actually, it turns out it was still there and accessible. I went back to Airport Utility and switched "Securing shared disk" back to using a disk password, as before, and there was the "full" disk . . . containing my original sparseimage file, as well as a new Users folder and a Shared folder. The latter contained the sparseimage file from the new backup.
    I hope that I can replace the new sparseimage file (in /Shared) with the original one (in /), and switch back to using accounts to control access to the TC disk.

  • Looking for spell check solution with IE8 and apex 4.1

    Hello: The most recent solution I find to implement spell check in IE8 and APEX is 2 years old - here: http://mattball.wordpress.com/2010/06/07/apex-spell-checker/
    It shows how to integrate Jspell with apex. I will likely try the JSpell Evolution since it gives the little squiggle. Does anyone have success with this or another solution? Does it work within tabular forms?
    Thanks, Hawk

    Were you able to get JSpell installed? I am stuck in the same boat - I need a spell checker. The documentation is 2+ years old and on an Oracle 10.1.x database.
    I am running Oracle 11g on a Linux installation with APEX 4.1
    And I had to reinstall the OS on my development machine because when I installed IE Spell as a test, it installed some MALWARE at the same time. So that isn't even an option.
    Has anyone tried any other spell checkers now that Oracle has deprecated spell checking in the Rich Text Editor for 4.1? Even Google Toolbar's spell check doesn't work with CKEDitor 3 as it has been implemented with APEX. On a standard CKEditor (outside of APEX), it works great but not within APEX (thanks Oracle!!)
    Please advise.

  • Partition disk with fdisk and windows can't be installed.

    so I have been running ArchLinux for a few days, have successfully trashed my partition table once and lost everything on my systemdisk sh*t happens thats why I have one drive as system disk
    Anyway, since all my partitions died I thought I could repartiotion the disk (I had been thinking of doing it anyway). So I booted the ArchLinux install disc once again and then partition my disk something like this:
    /dev/sda1 - ntfs (for my windows xp)
    /dev/sda2 - /
    /dev/sda3 - /home
    /dev/sda4 - swap
    All partitions are primary since I only need 4. So off I go install Arch, config everything and so on. Then today I decided to install windows, so I reboot and insert my windows disc and press any key too boot from the CD and then Nothing. My computer just stands there black screen my CD spindowns and stops my HD is chewing away like crazy.
    I have no idea what to do, thought my disk has been broken or something so I open my computer case and disconnect all disks attach my secondary disk as my only one just to see if the install starts and so it does (but I don't install because it is wrong disk ). Then I thought it might be the sata-cable who is bad (happend before) so I tried another one and my systemdisk again, but no luck. After that I boot archlinux installdisc and clear  my entire partition table, recreate one 20gb ntfs partition make sure it has boot-flag and reboot. Still no luck, so back into linux and remove everything on that disk and reboots. And now the installation finally starts but instead of creating a partition during xp-install I reboot linux once again to create it in fdisk, and once again the installation doesn't start. So now I have cleare the entire disk from partitions again and created my XP partition during the XP install.
    WHY can't I create my partitions by using fdisk in linux? and yes I did create ntfs filesystem on my partition (mkntfs or what the name was, exists on archlinux ftp install disc)

    Yes I do know Windows will overwrite the MBR but that isn't the problem and overwriting the MBR doesn't destroy my partitions just uninstalls lilo (yes I use lilo, to lazy to learn using grub when lilo do the job god enough for me)
    My problem is that I can't start the windows install. Here is what I did after ArchLinux was installed
    1) Start my computer
    2) insert windows install CD when computer is doing the BIOS startup stuff
    3) Now I get a message to press any key to boot from the CD, this is from the Windows install CD and I do press the key.
    4) Normally I would get into the Windows Install program here But now I Don't, NOTHING happens.
    Then I started my search on what was wrong. I have installed Linux many times before windows and I have reinstalled windows lots of times without the need of reinstalling linux or repartition my drive.
    In short, after lots of testing my computer does not start the windows install if my first disk has been partitioned with fdisk in linux (havn't tried other partition tools in linux).
    EDIT: The windows install starts if I boot into linux and use fdisk to clear the entire drive from all partitions, yes no partitions at all not even one for windows.
    Last edited by McZ (2008-02-01 20:07:42)

  • Patching Strategy for CRS and ASM homes

    I'm fairly new to RAC/ASM and haven't performed any patch set upgrades yet. Back in the simple days when I wanted to apply a patch set to a database, say from 10.2.0.4 to 10.2.0.5, I would create a brand new Oracle home ahead of time and apply the patch set to it. I'd name my homes like this:
    /opt/oracle/product/10.2.0.4/db1
    /opt/oracle/product/10.2.0.5/db1
    During the maintenance window I would change /etc/oratab to point the database to the new 10.2.0.5 and complete the database upgrade scripts. The advantages of this strategy:
    1 - Less risk installing software as nothing uses the new home yet. If something goes wrong in the install, no big deal. Research the problem and try again without being under the stress of a defined maintenance window.
    2 - No need to backup old home for back-out purposes.
    3 - Less time required for database to be down during actual patch window since Oracle Installer does not need to run.
    Now with CRS and ASM, is there a way to pre-stage a new home for those, but not have them "active" to the node until later during the maintenance window?
    For ASM, it seems like it would be possible to treat the same way as database and simply update ASM SID in /etc/oratab
    +ASM1:/opt/oracle/product/10.2.0.5/asm1
    but I'm not totally confident in that as I'm afraid the CRS home may already have references to the ASM home in the cluster registry.
    For CRS, it seems like the home is pretty well hard-wired into the node startup scripts and installing a brand new CRS home will probably disrupt the running CRS home.
    Any thoughts about this?

    Hi,
    user5448593 wrote:
    I'm fairly new to RAC/ASM and haven't performed any patch set upgrades yet. Back in the simple days when I wanted to apply a patch set to a database, say from 10.2.0.4 to 10.2.0.5, I would create a brand new Oracle home ahead of time and apply the patch set to it.
    Now with CRS and ASM, is there a way to pre-stage a new home for those, but not have them "active" to the node until later during the maintenance window?Although you have not mentioned the version you are actually on, it is a quite up-to-date question and dilemma.
    Starting with 11.2 for Grid Infrastructure only "out-of-place" patchset upgrades are supported.
    >
    For ASM, it seems like it would be possible to treat the same way as database and simply update ASM SID in /etc/oratab
    +ASM1:/opt/oracle/product/10.2.0.5/asm1
    but I'm not totally confident in that as I'm afraid the CRS home may already have references to the ASM home in the cluster registry.
    For CRS, it seems like the home is pretty well hard-wired into the node startup scripts and installing a brand new CRS home will probably disrupt the running CRS home.
    Any thoughts about this?As of 11gR2 the ASM is part of the Grid Infrastructure, therefore it is running from the same home and not recommended to separate them. (although you can do that)
    By the way, what is your upgrade path? It could be easier to answer your questions if we knew that as there has been a quite a few enhancements and changes in the upgrade/patching process from 10g to 11g. (even between 11gR1 and 11gR2)
    Regards,
    Jozsef

  • RAC and ASM with geographically seperated disks

    We are planning to use RAC and ASM with four nodes. The two nodes will be at one location and another two nodes at different location. The ASM disks also will be available locally. Is it possible to configure ASM with geographycally serepared disks.
    We are thinking of two RAC and ASM setups with two nodes each and streams replication between the RACs.
    I want to know what is the best method to implement. Is it RAC with four nodes OR two RACs with two nodes each and streams replication between the RACs.

    Apart from the latency issue, which has been mentioned by others, you also need to mirror your disks between the two sites and be very careful about split brain scenarios under node or site crashes.
    You need to mirror the disks between the sites in case one site crashes completely and loses all network access. The only way the second site can carry on is if it has access to all the data disks, and the cluster control disks (terms vary for this, such as quorum or voting disk). If you do not mirror you simply do not have a resilient design. Resilience is about eliminating all single points of failures, which means duplicating everything i.e. mirroring.
    And mirroring between two remote sites adds more volume to the data traffic between the two sites. And it would need to be synchronous rather than asynchronous to guarantee no data loss. And your commits for each transaction would be limited by the round trip time to write to the remote site and get the acknowledgement back.
    Split brain is something you need to avoid with remote clusters, and local clusters too. If the network goes down between the two sites and both sites have local copies of all of the data and cluster control disks, which site becomes the primary and which one becomes the standby? You cannot have both sites coming back up as primary with active databases and accepting transactions! At this point you have split brain, and each side is processing transactions independently, and both databases are now deviating from each other with different data changes.
    I don't think a 4 node RAC environment split across geographical distances is really viable, except under small transaction volumes, and where response time (transaction time) is not critical. If you have high volumes and need fast transactions then you need to only use local RAC configurations, and replicate between the two sites asynchronously. DataGuard is easier, but you need to decide if you need Streams and how to make it work for you.
    John

  • OraRRP Error with "Unable to copy data file;Error code 2, check disk space"

    Hi,
    Some users get this message -"Unable to copy data file;Error code 2, check disk space" when run report with orarrp, but most users do not get it.
    I check free space at both server and client side, they are very sufficient.
    I also checked directory exists for REPORTXX_TMP variable.
    My user call reports via URL (rwservlet) and it occur for all reports.
    How I can solve this problem?
    Thanks in advance.
    Tawatchai R.

    Hi,
    have the same problem now. One user has temporarily problems to download .rrpa files via URL (rwservlet) request. Error code: -"Unable to copy data file;Error code 2, check disk space". Did you get a solution??
    Thanks in advance. Axel

Maybe you are looking for

  • HT4623 started my IOS 7 update and I am now getting a message with a charger pointing toward ITUNES-what does this mean?

    I started the update for IOS 7 and now I am getting a message with a charger pointing to I Tunes, I try to turn my phone off and the same message comes up. Not sure if this is part of the updating process, or if my phone is damaged. Has anyone out th

  • SICF- Services in Portal

    Hi My basis guy wants to know the services for the following transactions getting displayed as iViews in the portal Accounts Plan (CRM PCUI               appl=CRMD_BUS2000111      blview=ZACCT_PLANS Accounts Profiles (CRM PCUI)         appl=CRMM_ACCO

  • Vanishing Free Space

    I am running 10.8.2 on a late 2008 MacBook Pro.  I used to have 160 GB of free space before I undertook this new project! I have been buying some Hello! Project concert (Japanese) blu rays that I wanted to add to my music collection for my Apple TV..

  • HELP: Media Management for TIFF- JPG- PSD-Files

    I work a lot with pictures in my present videowork. Everytime I change something in Photoshop, the change is not automatically updated, when I return to Final Cut. The picture is set offline and eveytime I had to do the same enoying procedure to get

  • Restore archive logs

    Hi gurus, I'm in a question, How to restore archive logs backuped? Scene: 1- We backup the archive logs each hour. 2- We backup the database in a cold backup. 3- We restore the database in another machine. 4- We want to apply this archives in the dat