Can't have ASM mark a NFS file as an ASM disk : -is not a block device

Hello,
I’m trying to experiment with ASM for learning purpose. Because I don’t have access to a SAN, I am trying to use NFS files but I can’t manage to have ASM mark those files as ASM disks.
[root@localhost /]# /etc/init.d/oracleasm createdisk ASM_DISK_1 /mnt/asm_dsks/dg1/disk1
Marking disk "ASM_DISK_1" as an ASM disk: [FAILED]
The oracleasm log says: File "/mnt/asm_dsks/dg1/disk1" is not a block device
OK, more context now:
I am trying to install ASM on a RHEL5 virtual machine (on vmware).
[root@localhost /]# uname -rm
2.6.18-8.el5 x86_64
I followed this document:
http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html until I got stuck at the following command:
/etc/init.d/oracleasm createdisk ...
Now, the NFS filesystem comes from a Solaris 10 system (the only one that's available) running on a physical sun box (this one is not a virtual system).
I have tried many combinations. I tried creating the files on the linux VM, using dd. As root, as oracle. I tried creating them on the Solaris side, using mkfile... no matter what I try, I always get the same issue.
I tried to follow this document: Creating Files on a NAS Device for Use with ASM (http://download.oracle.com/docs/html/B10811_05/app_nas.htm#BCFHCIEC)
But nothing seems to work.
Any idea, recommendations?
Thanks,
Laurent.

Hi buddy,
I guess the metalink note 731775.1 should help You.
In fact the procedure is:
- Create the disk devices on your NFS directory (using dd)
- Adjuste the permissions over those files (in this case, oracle:dba)
- Adjust the ASM_DISKSTRING at the ASM instance and setting the NFS directory in the discovery path
- Verify if they are available at v$asm_disk view
- Create the diskgroup using the the NFS disks that You have created.
Hope it helps,
Cerreia

Similar Messages

  • How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?

    How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?  I am fimilar with changing the setting for all network partitions(defaults write com.apple.desktopservices DSDontWriteNetworkStores true), but that is undesirable when I connect my laptop to my home network. A preferable solution would be where I could control the writing of these files based on disk format (NTFS vs HFS+).

    Go to MacUpdate or CNET Downloads and search for ds_store. There are numerous utilities for preventing them from being transferred to Windows systems.

  • QuickTime Player7 can't open "video.3gp".  The file may be damaged or may not be a movie file that is compatible with QuickTime Player.  How can i do to open movie file? on OS X 10.10.2

    i just tried to open video file on youtube. but it shown "can't open "video.3gp".  The file may be damaged or may not be a movie file that is compatible with QuickTime Player.   How can i solve this issue?

    i just tried to open video file on youtube. but it shown "can't open "video.3gp".  The file may be damaged or may not be a movie file that is compatible with QuickTime Player.   How can i solve this issue?
    In what file type and compression format did you download the YouTube content? I.e., to avoid such issues, you would normally download the source files as content that is natively compatible with your target player or convert incompatible file type/compression format combinations to files that are compatible with your targeted media player.

  • How Can I have the MB display (1280X800) and a  1440 x 900 ext not in miror

    How Can I have the MB display (1280X800) and a 1440 x 900 ext not in miror mode ???
    I have a Lenovo external display :
    H19-inch (483-mm) viewable image size
    Optimum resolution: 1440 x 900
    Tilt stand for viewing comfort adjustments
    16 x 10 aspect ratio
    Analog attachment

    I just bought a wide screen display that also uses 1440 X900 resolution. In mirror mode mine also only allows a maximum of 1280 X ???. I think may be a limitation of the GMA 950 graphics chip set. I never use it in mirrow mode so it doesn't bother me. I prefer extended mode. That way I can keep more windows open and visible.
    I use the question mars because on mine I can use 1280 X any of the resolutions that go with it.

  • HT201210 i have problem with the firmeware file...and I do not know what is that

    i have problem with the firmeware file...and I do not know what is that

    Make sure you are updating your phone the correct way, by connecting to iTunes and clicking Check for Updates on the Summary tab of your iTunes sync settings.  Do not try to download the firmware file from the internet first.  Also be sure iTunes is up to date before updating.
    Delete the existing firmware (.ipsw) file and try again.  You will find it at one of the following locations:
    Mac OS X: ~/Library/Application Support/MobileSync/Backup
    Windows XP: %AppData%\Apple Computer\MobileSync\Backup
    Windows Vista: %AppData%\Roaming\Apple Computer\MobileSync\Backup
    Windows 7: %AppData%\Roaming\Apple Computer\MobileSync\Backup

  • File is not a BLOCK device

    Hi,
    Trying to configure ASM on this device and getting the error:
    eating /dev/oracleasm mount point: /dev/oracleasm
    Loading module "oracleasm": oracleasm
    Configuring "oracleasm" to use device physical block size
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    Cleaning any stale ASM disks...
    Unmounting ASMlib driver filesystem: /dev/oracleasm
    Unloading module "oracleasm": oracleasm
    Loading module "oracleasm": oracleasm
    Configuring "oracleasm" to use device physical block size
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    File "/oracle/asm/disks/nfsdisk1" is not a block device
    What has been done:
    dd if=/dev/zero of=/oracle/asm/disks/nfsdisk1 bs=8192 count=100000
    100000+0 records in
    100000+0 records out
    819200000 bytes (819 MB) copied, 90.3162 s, 9.1 MB/s
    also:
    /oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver.  The following questions will determine whether the driver is
    loaded on boot and what permissions it will have.  The current values
    will be shown in brackets ('[]').  Hitting <ENTER> without typing an
    answer will keep that current value.  Ctrl-C will abort.
    Default user to own the driver interface [oracle]:
    Default group to own the driver interface [dba]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver:                     [  OK  ]
    Scanning the system for Oracle ASMLib disks:               [  OK  ]
    not sure what else to do..
    thanks

    Hi,
    To create Oracle ASM disks, there are some steps to do:
    - Have raw Disks, and you don't have then you can create a pseudo disks with the command dd us yours.
    - Install ASMLib
    - Use the /etc/init.d/oracleasm to configure, create ASM disks
    The command dd creates a pseudo-block disk, and this a solution: Create virtual RAW disks for Oracle ASM on Linux with single Hard Drive
    # dd if=/dev/zero of=/asm/disk4 bs=1M count=2000
    # losetup /dev/loop4 /asm/disk4
    # /etc/init.d/oracleasm createdisk ASM4 /dev/loop4
    After the creation, you should scan your ASM disks: Wadhah DAOUEHI - Creation of ASM disks on Oracle Linux using ASMLib
    # /etc/init.d/oracleasm scandisks
    # /etc/init.d/oracleasm listdisks
    Best regards

  • Moving library to external hard drive and get the error "Copying files failed. The disk could not be read from or written to"

    Hello,
    I'm moving my library to an external hard drive.
    I've made sure to use the 'Keep iTunes Media Folder Organized' option when pointing to the new library location.
    I select 'File'->'Library'->'Organize Library', I select to 'Consolidate Files', click 'OK' and get ther error message "Copying files failed. The disk could not be read from or written to".
    I've read elsewhere that there may be a corrupted file that I need to sequester somehow and perhaps add it back however I'm not certain how I can locate that file because the status window doesn't indicate which file it's attempting to transfer when the error appears.
    Any tips?
    Thank you,
    Greg H
    iTunes 10.6.3

    OK I figured it out!
    It was a dodgy file....I sorted the file folders by date, and as it turned out within the "compilations" folder there was a CD where only about half the tracks seemed to have been copied over. Could not have identified this simply from the time indicated on the finder folder sort, because there were several CDs copied over in the that same minute.
    I went back to the original itunes folder, deleted all the files from that CD in itunes, then also deleted all those files from the original disk and the target disk.
    Tried the "consolidate library" again, and it completed nicely. 200megs of music and videos.
    Very happy to solve this problem after 3 weeks.

  • Is There Any apps which can read my SMS or any text/alerts while i am sleeping or not close to device?

    Is There Any apps which can read my SMS or any text/alerts while i am sleeping or not close to device?

    Please reply some..:)

  • How can I have a program prompt a user to input a selected number of simultaneous (different devices run off com/rs232 ports) and be able to compile all the data and/or graph it simultaneously?

    I have a project that I'm working on that I could use some help on.
    Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need these to then run in parallel to then take masses in regular increments and then output them to a graph and/or TDMS file. 
    What I'm trying to have is that a subVI prompts the user to how many simultaneous runs will be going.
    Then I will want multiple pop prompts (one for each simultaneous run) which will have initial data input (data cluster) and then associate these with the COM port and the specified balance. 
    I initially thought of utilizing a For Loop this way but I can't get these windows to pop up multiple times while storing their own values in say a cluster array. Can anyone give me any ideas to get me a little further?

    Cameron,
    I've created a prompt for the user to select the number or runs to be run simultaneously. 
    This then should trigger the amount of prompts the user needs to input - ie VISA resource, and headers to label the "samples".
    I want this to be done in multiples (somewhere around 1-10 simultaneous runs - bounded by the program) so that data points from multiple sources can be taken and graphed/saved to file. I just am having issues with the loop situation to be able to keep prompting the user X times and also output the data to the front panel. Originally i thought I could somehow manipulate a tab control container but I'm getting roadblocked. 
    Does that help you understand what I'm trying to do?
    I've attached an image of what I want the user to input for each sampling.
    Attachments:
    Capture11.JPG ‏24 KB

  • Is iphone 4 having issues with Blue tooth?. I have checked four iphone brand new sets from different location. Not detecting other devices

    Is iphone 4 Having issues with Blue Tooth connectivity ? Last saturday i have bought up iphone 4,  when i checked that device blue tooth was not detecting the other iphones. I went to apple store in Ottawa. They checked with their Mac computers. They said Yes this iphone is having problem. Please exchange it on the store you bought up.  I have exchanged that iphone with brand new, again same issues...
    iPhone is not detecting other devices with Blue Tooth.  I have checked with other two. they having same problem.
    Please tell me, What apple gonna do with my iphone now ?  Should i keep it ? or cancel my contract with cell phone company.  As i am sure they not going to replace it again or gonna make excuses.
    Waiting for replies [email protected]

    I have upgraded my iphone 3 to a 4. I just recently discovered that while the iphone 3 automatically discovers bluetooth but the iphone 4 does not (couldn't discover any bluetooth). My bluetooth is Jabra SP200. It turned out, there are other steps to take with the bluetooth device to pair with the iphone 4. As stated, iphone 3 detected it automatically. But w the iphone 4, I had to press and hold the answer button of the Jabra for it to pair with iphone 4. Call the bluetooth manufacturer directly and check with their alternative pairing procedures.
    Hope this helps.

  • Can I have two locations set for files in my iTunes library?

    I have most of my movies and TV Shows on a hard drive connected to my router at home so i can access the files from any device. I was wondering if i can set two file locations for my movies and TV Shows so if i disconnect the hard drive from the router and plug it into my mac directly iTunes will still know where the files are.
    Any help would be great.
    Thanks in advance.

    iTunes Match does not work on GB amount. There is a 25,000 track limit on tracks not purchased from the iTunes Store, so concevialy you could have much more than 60GB, but less than the 25K track limit.
    So, yes, your entire library will be available on all the iDevices you own in the cloud. However, not everything will "match." Some tracks will "upload."

  • Can I have more than one "Contacts" file

    I have several groups in my Address Book/Contacts file. But in order to deal with the incredible shortcomings of Brother label printing software (the worst software shipping with a product I've ever encountered) it seems I really need to have a separate Contacts file for printing address labels — it just won't print on Group only. Brother seems to have some real animosity towards Apple, their software (and in the past many of their printers) simply won't run on a Mac and the QL700 label printer I bought has important functions that are "Windows only."
    Is it possible to have two separate Contacts files?

    You might give this a try: Labels & Addresses 1.6.9.

  • My 5d Mark III raw files are showing up as CRAW2 not CR2?!

    I have tried resetting my camera settings to default, formatting the CF cards, using multiple card readers...nothing is working and I can't seem to find any information on what a CRAW2 file is. I have also tried using a DNG converter to convert the files but that doesn't work either. No program recognized the raw file type.

    Camera Raw Defaults are per camera and perhaps they are set strangely for the 5D.3 on your client’s computer.  In particular check the Green channel in the Point curve in Toning Curve.  I can easily create a very-magenta image by setting the toning curve to Point and selecting Green rather than RGB for the Channel and dragging the center of the curve all the way to the bottom to remove all green from the image.   The camera profile might also be corrupt, which can be tested by switching to some of the others to see if they look ok.
    You can isolate whether it is your camera, in particular, or any 5D.3 raw file by having your client download and look at a RAW file from the following page—by clicking on the word RAW under the 5D.3 image at the top left of the series on this page:
    http://www.dpreview.com/reviews/canon-eos-5d-mark-iii/28
    This is the direct download link to the ISO 100 studio image for the 5D.3 is:
    http://movies.dpreview.com.s3.amazonaws.com/canon_eos5dmkiii/5D3_5199.CR2.zip
    You might also try converting one of your CR2 files to DNG and make some adjustments, then update the preview and metadata into the DNG, so your client will be using your settings, rather than the defaults.

  • Can you have itunes delete one star songs from HD when itunes is not set to auto sort/manage

    I have a very large music collection and as i am listening to it in my house my phone allows me to rate the music that is playing.  Every week or so i would like to just have itunes mass delete from my hard drive the music that is listed as one star.  Is there any way to do this?  Since Itunes has a very screwed up way of organizing music i do not have it listed to auto-organize my stuff.

    You can, if you so wish, create a smart playist with the rule Rating is one star.
    CTRL+A will select all of the items in the list.
    CTRL+SHIFT+DELETE will delete all of the items from the list and the library.
    If the media files are located within the designated iTunes Media folder then the original files will also be deleted.
    If the media is stored elsewhere my script KillSelectedFiles could be used after pressing CTRL+A.
    tt2

  • How can I have the most recent message in a thread shown first and not last

    Thunderbird (used in conjunction with Gmail - I believe the term is mail client) message threads commence with the oldest; how can I make Thunderbird messages commence with the latest message?

    How do I get around this?
    '''Workaround:'''
    Right Click on the first email in thread and choose:
    'open message in Conversation'
    This open in a new tab and will include all emails both received and sent by you in that conversation.
    It will appear just like the oiginal view with oldest on top.
    Then click on the thread icon to remove the 'threaded' view.
    in my case the list is then sorted by Date with newest on top. So easily identifying the newest email.
    But if required you could clickon Date column header.
    Additional:
    Note: If the new email in the thread is unread:
    View > Threads > Threads with unread
    This will produce a list of the received emails in the thread
    If you then remove the threaded view by clicking on the thread column header, it will list emails by Date in whatever order you desire.
    Unfortunately, this only works with an unread email, so once you have read that email you cannot easily do this again to locate the email in the conversation unless you use the Workaround previously described.

Maybe you are looking for

  • I-pod touch 3.1.2 one big mess

    I just received this as a present, and have been having nearly constant problems. Here are the problems: 1. only the factory installed apps work 2. apps that are bought/downloaded only work randomly 3. when apps aren't working, they still appear on m

  • Cant get ipod into disk mode

    I've followed all support steps and my ipod mini wont go into manual disk mode. The apple icon never leaves...I've downloaded update and tried everything. I just got this one from apple as a replacement as my old one stopped working too. This one wor

  • MacOSX Server administration : system.log errors to be investigated

    Hi all, I have the following lines repeated on my system.log errors. Can anyone tell me how to investigate/get rid of these ? Does it mean that my server has been compromised ? At night (when nobody is connected) : - cp: error processing extended att

  • I need to use the 'Ins' key for reverting x,y & z axis co-ords

    Apple selling X3: The Return. However the problem is that the navigational command 'go to' will only take you to x and z coordinates, the pc users then use the 'Ins' key to flip to y axis for the third dimension navigation point. I have tried looking

  • Laoding files into layers from bridge does not work

    Using photoshop ver 14.2.1x64 and bridge on a PC.. While in Bridge, I selected 2 pictures, selected tools, photoshop and load files into layers. It does not work. any ideas of how to make it work