Oracleasm createdisk just like pvcreate by LVM?

Hello
so before I create ASM diskgroup I need to oracleasm createdisk frist.
So,Does it like "pvcreate" on LVM ?

Hi,
What is your OS?
The command is for example /etc/init.d/oracleasm createdisk ASMDATA /dev/sdc1, this command will mark partition /dev/sdc1 as an ASM Disk
Cheers

Similar Messages

  • Oracleasm Createdisk error

    Hello ,
    I have just been trying to label oracle disk.
    here is the error I get .
    [db]# oracleasm createdisk DNAT01 /dev/sddc1
    Unable to open device "/dev/sddc": Device or resource busy
    I have already tried the solutions that were listed for this problem, but no success.
    SELINUX is already disabled.
    here is some additional info ...
    [db]# oracleasm querydisk /dev/sddc1
    Device "/dev/sddc1" is not marked as an ASM disk
    [db]# oracleasm status
    Checking if ASM is loaded: yes
    Checking if /dev/oracleasm is mounted: yes
    [db]# oracleasm configure
    ORACLEASM_ENABLED=true
    ORACLEASM_UID=oracle
    ORACLEASM_GID=dba
    ORACLEASM_SCANBOOT=true
    ORACLEASM_SCANORDER=""
    ORACLEASM_SCANEXCLUDE=""
    Can someone help he find the solution to this problem? . highly appreciate.
    Linux version is 5.3 .. running oracle 11g R2
    Thanks
    Saad
    Edited by: Saad on Sep 18, 2011 12:45 AM

    This is the metalink note, 1303976.1, I was talking about. This is another way to prove that device is busy, which we have already proved that device is busy (means used by one thing or another). Once you get mkfs working then creatdisk should work with no errors.
    You can double, check that LVM, mount, RAID, MP, or similar thing is not already accessing the disk in question. For MP, you can shutdown another node, pull the cable from 2nd HBA/port and try it again. Due to limited access to your environment and due to lack of any logs, I think the options are just hit and trial and find out what is using that device. There are specific steps to implement mp, and please make sure no other VM or RAID is causing this issue.
    Thanks,
    Rohit Chandok
    http://www.rohitchandok.com

  • Oracleasm createdisk fails

    Hi All,
    I'm trying to create asm disk.
    This is my device (750GB) fdisk configuration before i format it using mkfs.ocfs2
    [root@linux02 ~]# fdisk -l /dev/sdb1
    Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
    255 heads, 63 sectors/track, 91200 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1p1 1 123 987966 83 Linux
    /dev/sdb1p2 124 6203 48837600 83 Linux
    /dev/sdb1p3 6204 12283 48837600 83 Linux
    /dev/sdb1p4 12284 24442 97667167+ 83 Linux
    When i come to create an ASM partition on /dev/sdb1p2 it gives me the foolowing error
    [root@linux01 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
    FAILED]
    When i tried to create an asm disk on the whole disk it gives me
    [root@linux02 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
    FAILED]
    What should i do?!!
    Please Help me Guys.

    Hi,
    I tried to do on p1 partition but it also did not work. orcfs2 was running so it was locking the partition (i figure it out). I made stop for ocfs2 then created the disk using oraclasm on sdb1 and it did not work on sdb1px (I don't know why!!!).
    Now if i go to fdisk -l /dev/sdb1 it does not recognize the partition table.
    [root@linux01 /]# fdisk -l
    Disk /dev/sda: 80.0 GB, 80032038912 bytes
    255 heads, 63 sectors/track, 9730 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 9730 78051802+ 8e Linux LVM
    Disk /dev/sdb: 750.1 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 91201 732572001 83 Linux
    but when i execute this:
    [root@linux01 /]# fdisk -l /dev/sdb1
    Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
    255 heads, 63 sectors/track, 91200 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/sdb1 doesn't contain a valid partition table
    What is missing here?!!!

  • In full screen mode how can i use keyboard shortcut just like

    recently i used adobe cs 5.1 version and some problem are there which problem was not in cs 3 and cs 4 in advance version why this problem kindly tell me the solve which may be i dont know
    my problem is, in photoshop  3 screen mode are there 1-standard screen mode, 2- full screen mode with menu bar  and 3- full screen mode
    in 3- full screen mode ---- in this view window how can i go to image-adjustments-brightness/contrast  through using only keyboard shortcuts just like ALT+I then A then C = brightness/contrast menu will come
             any body please solve my problem
         thank U very much

    Chris, he means the windows-only ALT+letters shortcuts, not brightness contrast in particular.
    RA, this is your third thread on the topic, please do not create multiple threads...
    http://forums.adobe.com/thread/957264
    and http://forums.adobe.com/thread/957168

  • How to create more than one window for a vi that can be acces anytime...just like using the creating new window in internet explorer

    hello guys,
    I want to create a vi such dat when I press a button on the frontpanel of the vi it opens the same vi in another window..and I should be able to work on this new window also able to work on the previous window without closing it...Just like opening a new window when using the internet explorer....
    I try to make my vi a reetrant vi but when I click the new window button on my vi..a new clone windows open up that I can control but the previous windows is not accessible not I close the current window...I want a way that I can acces both vi window and d operation of one will not affect the other like when the indicators are updating in one window the other window will not update...
    Thank you...
    Solved!
    Go to Solution.

    The picture attached shows what i want to achieve as a vi or executable...The new window button opens a clone of the vi, but the previous window can not be operated on until i close the clone window...i want to be able to work on both window at any time without closing one of them....The vi was design in labview 2010
    Attachments:
    ni.jpg ‏66 KB
    window vi.vi ‏8 KB

  • Can anyone please make an app or intergrate location based reminders as multiple locations and have reminders pop up as a whole list just like you list them on a piece of paper and check them off as you walk in a store?

    My name is Tess Loggins and I am a lover of Omnifocus for iphone. I
    > love Omnifocus ,but it is lacking a feature for me. I don't really
    > know how to write this so, please bear with me. Ok. Take out a piece
    > of paper and label it on top Grocery List. Keep in mind that you like
    > to shop at Giant Eagles and Trader Joes. (these two stores are your
    > multiple locations)Write on your list eggs, pickles, butter, wine,
    > tomatoes and lobster(my favorite). So now you have your list. Now it's
    > time to go shopping. let's get into the car..(Please imagine all of
    > this on your iphone/and or using Omnifocus).Lets go to Giant Eagles
    > first. Wow! my whole list on that piece of paper pops up on my screen
    > on my iphone, so all I have to do is check off the items I needs as I
    > walk through the store. Now, I have decided that I will now go to
    > Trader Joes for the wine, pickles and lobster... (I didn't check off
    > the wine, pickles or lobster) Ok, back into the car.lets now drive to
    > Trader Joes. Now ,we are pulling into the driveway of Trader Joes and
    > BAM. my list wine, pickles and lobster (Just like I  wrote it on that
    > piece of paper) pops up. Now we enter Trader Joes and as we walk down
    > the aisle, we can check of the whole list because it's now on our
    > iphone screen. This to me is what I call technology.. I hope you
    > understand my point I am trying to get across. In your next Omnifocus
    > update can you PLEASE implement this to your app. I  want that whole
    > experience in the app. Is this at all possible to do? Is there even a
    > way that I can help to make this happen! In all the apps in the Appstore no one has come up with this idea and has not made app just like this.

    You seem to think you are talking to Omnifocus here.  The odds of actually reaching them here are practically 0%, I would guess.
    I suggest you go to the omnigroup forums and present your suggestions in the omnifocus forum.
    http://forums.omnigroup.com

  • I just got an iphone 6. Not all of my music was on itunes, so I logged in and instead of clicking set up as new iphone I hit restore from backup, thinking it only pertained to the music in itunes. Now my new iphone looks just like my old iphone and h

    I just got an iphone 6. Not all of my music was on itunes, so I logged in and instead of clicking set up as new iphone I hit restore from backup, thinking it only pertained to the music in itunes. Now my new iphone looks just like my old iphone and has iphone 5 settings. How can I undo and get back to iphone 6 settings?

    Settings/Reset/Erase all content and settings...
    Recently I had to do the sequence above and when the phone rebooted, it came up as a new phone.

  • Firefox 6 hangs constantly, just like 3.6.21 and its predecessors did.

    Just like FF version 3.6.21 and its predecessors, the new FF 6 hangs when it's been running for a while, especially with multiple tabs/window open. Before upgrading to 6.0.1, I did all the self-help measures possible, clearing all FF history, downloads, cache, cookies, clearing the Mac's caches as well, resetting parameter ram, running disk utility, repairing permissions, etc. No luck. I truly thought the ongoing issue was due to my older FF version 3.6.21, so I installed 6.0.1. Unfortunately, the newest version 6.0.1 did not change the situation. FF hangs when left open for an extended period of time. I even upgraded to 6.0.2 recently, but the problem still persists.
    It hangs at various times, and there is not one particular action that triggers it. When FF hangs, it affects everything else that is open, whether it is a Word document, Excel spreadsheets, PDFs etc. I am continually forced to shut FF down and start over. Upon a restart, FF and all other applications work beautifully, but after a while, slowly but surely, FF begins to misbehave, the spinning beach ball appears intermittently, till it becomes a constant, FF becomes totally unresponsive, and I have to Force Quit FF.
    Nothing else has changed on my Mac, I have not installed any new software, the only thing that has changed is something within FF. The newer FF browsers of the last 6 months all have to be babied. I live in fear when having more than one window or tab open, lest FF start to hang and I end up losing everything I was working on, because upon a restart, FF is having trouble recovering my tabs. I used to be able to have 10 windows open with multiple tabs, along with several Excel spreadsheets, Word documents, and PDFs all open at the same time, with no problems, ho hangs, and no restarts! What is going on lately?
    I even spent half a day with Apple Technical Support on two occasions, to see if there was an internal problem with my Mac that was causing these issues. The diagnostics turned out fine. We did everything under the sun to resolve any potential glitches, and I hoped that when I next opened FF that all would be working smoothly, but alas, no luck. When FF is left open for several hours, it eventually freezes up (FF not responding) and I am forced to Force Quit FF and start over. Again, and again, and again.
    FF I got your new browser because you promised me faster speed. That is not the case; I am working at a snail’s pace due to the constant hanging episodes. There is clearly a glitch with the newer FF browsers and Mac OS 10.5.8, and it has become a MONSTROUS issue for me. Please have technical support address this problem as soon as possible. I otherwise love the new FF 6. You made some very good changes to it, which I appreciate very much. But unless this hanging issue is fixed, I will not be able to continue using FF as my browser. It has hampered me significantly to date, and I can’t afford to let this go on much longer. I am hoping you will develop a fix in the very near future. Please post back and let me know if there is a cure on the way. Thank you.

    Thank you scoobidiver. I think that may be exactly what the problem is. Although I have had FF hang at other times when little activity was going on. It just does not seem very stable to me for a long while now, even back to the FF 3.6 days.
    Is FF 7 even available for Mac 10.5.8? I thought I had the latest at 6.0.2.

  • My Ipod nano doesn't show up in itunes and in finder just like an extern unit. What has happened??

    Just like above. The history is
    An old ipod (4, 5th generation)
    A few months ago my friend tried to sync it to her windows computer and had to erase all music (it's been compatible to mac always before) but then she could't put in any new music either.
    Then it's just been laying around uncharged.
    Now I try to sync it to my new macbook pro (itunes 1.11) but it doesnt show up in itunes. When i plug it in itunes show up over all the other programs but i cant find the ipod in it. In finder it's just a device with "NO NAME"
    i don't know how to fix this, please help me!

    Hello Solverlona,
    Thank you for using Apple Support Communities!
    It sounds like your iPod Nano is not recognized correctly in iTunes, but is recognized in Finder but seems to be seen as a storage device.
    First, I would start with the iPod 5rs for your model iPod Nano
    http://www.apple.com/support/ipod/five_rs/
    I would next try the steps outlined in this Troubleshooting Assistant if the above steps do not fix the issue:
    iPod nano (6th generation) not appearing in iTunes
    http://www.apple.com/support/ipodnano/6th_generation/assistant/itunes/
    Take care,
    Sterling

  • How to map the node id to the node name in database view just like "V$GES_RESOURCE"

    i have a rac with 3 nodes,and the node id is from 1 to 3,i can check it with command olsnodes.
    $ olsnodes -p -n -i
    tdsdb1  1       tdsdb1-priv     tdsdb1-vip
    tdsdb2  2       tdsdb2-priv     tdsdb2-vip
    tdsdb3  3       tdsdb3-priv     tdsdb3-vip
    and i also can check it in gv$instance
    SQL> select inst_id,instance_number,instance_name from gv$instance;
       INST_ID INSTANCE_NUMBER INSTANCE_NAME
             1               1 jftds1
             3               3 jftds3
             2               2 jftds2
    but when i select the master node of some resource ,it shows some value of node id =0
    SQL> select resource_name,master_node from v$ges_resource;
    RESOURCE_NAME                  MASTER_NODE
    [0xdcc9fa12][0x246658a5],[QQ]            2
    [0x932][0x70c230e],[IV]                  0
    [0xd9fb][0x13181703],[IV]               0
    [0xddae][0x0],[TM]                       0
    [0xb970fb05][0x729b596a],[LB]            2
    [0xb580][0x70c2e1c],[IV]                 0
    [0x31ad56fb][0x7e4c3daa],[QQ]            2
    [0x3][0x797609],[HW]                     0
    [0x2bf04627][0xf28b1575],[QI]            0
    [0x19c89f33][0xd06ef447],[QQ]            0
    [0x529ae82][0x86e25d46],[QQ]             0
    it seems that the master node id is from 0 to 2
    i want to get the node name from the node id from   v$ges_resource,so i check the table cluster_nodes ,cluster_instances,but there are nothing.
    SQL> select * from CLUSTER_NODES;
    no rows selected
    SQL> select * from CLUSTER_INSTANCES ;
    no rows selected
    how can i get the node name from the node id in the tables just like " v$ges_resource"? thank you .

    my cluster ware version is 10.2.0.5
    database version is 10.2.0.5
    and the source of rac is all online
    $ crsctl query crs activeversion
    CRS active version on the cluster is [10.2.0.5.0]
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    $ crs_stat -t
    Name           Type           Target    State     Host       
    ora.jftds.db   application    ONLINE    ONLINE    tdsdb2     
    ora....tds1.cs application    ONLINE    ONLINE    tdsdb1     
    ora....s1.inst application    ONLINE    ONLINE    tdsdb1     
    ora....ds1.srv application    ONLINE    ONLINE    tdsdb1     
    ora....tds2.cs application    ONLINE    ONLINE    tdsdb2     
    ora....s2.inst application    ONLINE    ONLINE    tdsdb2     
    ora....ds2.srv application    ONLINE    ONLINE    tdsdb1     
    ora....tds3.cs application    ONLINE    ONLINE    tdsdb3     
    ora....s3.inst application    ONLINE    ONLINE    tdsdb3     
    ora....ds3.srv application    ONLINE    ONLINE    tdsdb3     
    ora....SM1.asm application    ONLINE    ONLINE    tdsdb1     
    ora....B1.lsnr application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.gsd application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.ons application    ONLINE    ONLINE    tdsdb1     
    ora.tdsdb1.vip application    ONLINE    ONLINE    tdsdb1     
    ora....SM2.asm application    ONLINE    ONLINE    tdsdb2     
    ora....B2.lsnr application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.gsd application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.ons application    ONLINE    ONLINE    tdsdb2     
    ora.tdsdb2.vip application    ONLINE    ONLINE    tdsdb2     
    ora....SM3.asm application    ONLINE    ONLINE    tdsdb3     
    ora....B3.lsnr application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.gsd application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.ons application    ONLINE    ONLINE    tdsdb3     
    ora.tdsdb3.vip application    ONLINE    ONLINE    tdsdb3    

  • On OSX Lion i used to drag the window to the top of the screen and get maximise, and drag the window right or left to show the both beside each other just like windows 7, How to do it on Mountain lion ?

    On OSX Lion i used to drag the window to the top of the screen and get it maximise, and drag the window right or left to show the both beside each other just like windows 7, How to do it on Mountain lion ?

    That has never been a feature of Mac OS X, but I believe there was some kind of third-party software that could add that capability.  i don't recall what its name is, but you must have had that installed, and it either isn't installed anymore (perhaps removed as incompatible?) or is not working properly in Mountain Lion.

  • HT201250 My backup external hard drive hasn't work since I insalled Snow Leopard. Bad:(  I am still learning about my MAC and would just like to re-format the hard dive and set everything up again. I want to upgrade to Lion but can't untill I backup what

    My backup external hard drive hasn't work since I insalled Snow Leopard. Bad:(  I am still learning about my MAC and would just like to re-format the hard dive and set everything up again. I want to upgrade to Lion but can't untill I backup what I.

    Read through the links here, calm down and take your time.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • MBP hard drive beeps after Snow Leopard Upgrade, just like the unibody

    After upgrading my MBP to Snow, it is now beeping from the hard drive every 10-15 seconds, just like the videos that were posted of unibody MBPs beeping in 10.5.8 (which Apple released a firmware update for).
    Just wondering if anybody else is experiencing this?

    sure. I'm using seagate 500gb hdd. But still better than 10.5 where I can not start the system at all.

  • I own both Photoshop Elements and Photoshop (the original editor).  I find the elements editor to be too cumbersome to use and would just like to edit using Photoshop.  When I try to install Photoshop as a secondary editor in elements I get an error messa

    I own both Photoshop Elements and Photoshop (the original editor).  I find the elements editor to be too cumbersome to use and would just like to edit using Photoshop.  When I try to install Photoshop as a secondary editor in elements I get an error message that I don't need to this because it is already supported on the edit menu and task bar.  I can not find any way to send images to Photoshop for editing - all I can do is send them to elements editor or the premier editor.  Can someone tell me how to send them to Photoshop?  Thanks!

    Hi,
    The D810 requires Camera Raw 8.6 or later - the latest version that is compatible with Photoshop Elements 12 is Camera Raw 8.5 as far as I can see.
    You need to either buy a new version of Photoshop Elements or use the free Adobe DNG converter.
    DNG  Converter 8.8
    Win – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5888
    Mac – http://www.adobe.com/support/downloads/detail.jsp?ftpID=5887
    Useful Tutorial
    http://www.youtube.com/watch?v=0bqGovpuihw
    Brian

  • Just got a new computer and I want to hook up my itouch and treat it just like i did with the last computer, without losing any data. What can I do?

    Help me please! I'm a new college student trying to make my new computer just like the family computer, which has all of my itunes, ipod sync "station", and etc.How can I hook up my iTouch to this new computer and treat it the same as i did on the old?
         P.S.-and just like everyone else, is there a way to do it without losing all my hard earned data?

    Make sure you cpt the iPod backup file from the old compouter to the new one.  That file is located here:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    - after you move the other stuff to your new computer, connect the iPod to the new computer and restore the iPod from the backup you just added to the computer and then sync.

Maybe you are looking for

  • Standard Smartform for label printing for packages - pls advice

    Hi All, I need help in changing a print program ie Standard Smartform for label printing for packages ? Standard Driver program: SDPACKDR Please provide me with the detailed steps for editing the Std Smartform according to any requirement. Points wil

  • Photo dissappearing

    I have photoshop element...I can edit everything no problem, once I crop a photo and try to save the crop, the photo dissappears, but with others forms of editing , it does not dissappear..Please tell me how to fix this issue. Also when I come to sav

  • IPhoto versions and compatibility

    I have iPhoto 9.5.1 on my iMac 10.9.1.  I have iPhoto 9.2.3 on a Macbook 10.6.8.  I have the iPhoto library from iMac on an EHD.  The iPhoto on the Macbook will not open iPhoto with that library.  I can open it in IPLM on the MB, but I cannot seem to

  • Blurred slideshow...again

    hi everyone i had a slideshow on my site using the 'set text of layer behaviour' in dreamweaver, but decided to replace it woth a flash slideshow, using thumbnail buttons to load the graphic...trouble is, whatever i do, it seems to be really blurry..

  • Prosumer Photo Hosting

    Q for all the photobugs that do it for a living. What is your preferred solution for hosting photos / shoots / events etc. I've been looking around and the most complete solution which includes personal branding e-commerce linkage for stock selling p