Skip partitioning a disk for ASM use

I think according to documentation, if you use ASMLib, you have to partition the disk first (usually create one single primary partition). If I don't use ASMLib (but still use ASM), is there anything bad if I use the disk without creating a partition first?
Oracle and clusterware 11gR2, if it matters.

Thanks. Indeed Oracle says recommend, not require in 11gR2 documentation:
http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/oraclerestart.htm#CHDIAECD
"Oracle recommends that you create a single whole-disk partition on each disk that you want to use."
It dropped the following sentence that is in 11gR1 documentation:
http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/stor_rac.htm#BABJBJAA
"To include devices in a disk group, you can specify either whole-drive device names or partition device names."
The problem I had with a partition is that, sometimes, after a minor kernel upgrade, partitions are gone under /dev. It happened to my RHEL4 box. After the upgrade, we lost /dev/vpath[cdefg]1 (note the number 1; vpath is IBM's sdd devices), but /dev/vpath[cdefg] remained. Interestingly, fdisk still indicates the partitions exist. Just the device files for partitions in /dev are missing. partprobe, cfgvpath, and other commands made no difference. If I remember right, manually mknod to create the files worked.

Similar Messages

  • Fastest and best external hard disks for video use with Imac?

    What is the fastest and best external hard disks for video use with Imac (I believe it is currently not possible to use Esata on the Imac).

    For DVCam. HDV etc, I'm a fan of the G-raid drives. From personal experience they
    are very solid performers. I only had one issue with a new drive that was replaced
    next day. They are not the cheapest drives to be found but the build quality
    is excellent. Check out:
    http://www.g-technology.com/products/g-raid.cfm

  • Configuring Filesystem Free Disks for ASM ? Can you use free space for ASM

    Is there a way to dedicate the available disk space for ASM in order to create a database under ASM?
    I was hoping that I would not have to reinstall the Linux OS Enterprise 5 (Red Hat). So I de-installed my 2-node RAC environment, installed the ASM required RPMs for Red Hat linux Enterperise 5 and then proceeded to reinstall 11g Clusterware and set "Configure Automatic Storage Management (ASM)".
    Did I miss something? THanks

    Thank you.
    I have 3 VM-Oracle guests running Oracle 11g. When I've used NFS as share that worked fine, however I was not using ASM. I know wish to get smart about ASM implementation.
    Server1(rac1) Linux E5 64bit
    Server2(rac2) Linux E5 64bit
    Server3(asm) Linux E5 64bit (I created four partitions
    ./oracleasm createdisk DATDISK /dev/xvda10 OK
    ./oracleasm createdisk VOTDISK /dev/xvda11 OK
    ./oracleasm createdisk OCRDISK /dev/xvda12 OK
    ./oracleasm createdisk OFRDISK /dev/xvda13 OK
    On Node1 and Node 2
    ./oracleasm scandisk
    Scanning the system for Oracle ASMLib disks: OK
    After this should I or how do you make a partition shared? Could I used NFS? so that I can proceed with the RAC install and then create database .

  • Configuring Disk for ASM in a Standalone environment

    Hi,
    I am attempting to install ASM for the very first time ! I am installing ASM in a Standalone Linux 6 environment. I am following CH3 of the 11gR2 Database Installation Guide. I have installed the Oracle ASM packages and have configured ASM.
    I am now trying to configure the disk to use the ASM Library Driver
    In my case, my server has a single 250 Gb SCSI disk. I have used this for the install of Linux 6. However I have left some space unformatted which I had intended to use with ASM.
    when I do fdisk -l I get
    Disk /dev/sde: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b3ade
       Device Boot      Start         End      Blocks   Id  System
    /dev/sde1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sde2              64       30402   243685376   8e  Linux LVM
    Disk /dev/mapper/vg_lab3-lv_root: 10.5 GB, 10485760000 bytes
    255 heads, 63 sectors/track, 1274 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Disk /dev/mapper/vg_lab3-lv_swap: 4227 MB, 4227858432 bytes
    255 heads, 63 sectors/track, 514 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Disk /dev/mapper/vg_lab3-lv_home: 52.4 GB, 52428800000 bytes
    255 heads, 63 sectors/track, 6374 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    when I do df -k I get
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/mapper/vg_lab3-lv_root
                          10079084   3435876   6131208  36% /
    tmpfs                  1551236        76   1551160   1% /dev/shm
    /dev/sde1               495844     52850    417394  12% /boot
    /dev/mapper/vg_lab3-lv_home
                          50395844   2217864  45617980   5% /home
    A couple of things I am not sure of -
    Q1. Has the linux install in effect created some virtual disks i.e.
    /dev/mapper/vg_lab3-lv_root, /dev/mapper/vg_lab3-lv_swap and /dev/mapper/vg_lab3-lv_home ?
    Q2. Are /dev/sde1 and /dev/sde2 virtual disks in their own right or partitions of /dev/sde ?
    The 11gR2 install manual states on P3-13 that I should use fdisk or parted to create a single whole-disk partition on the disk devices to use
    I am not quite sure what I need to do -
    Q3a. I assume I can use part of my physical disk ( i.e. /dev/sbe2 ) with ASM rather than it having to be a complete physical disk ?
    Q3b. Do I simply mark /dev/sbe2 as an ASM disk using oracleasm createdisk DISK1 /dev/sbe2 ?
    or do I somehow have to create a partition on /dev/sbe2 ? ( I guess this harks back to Q2. in that is sbe2 a disk or a partition ? )
    any help greatly appreciated
    Jim

    Thanks Billy.
    I have checked back to my Linux install note and indeed it does seem to create the logical volumes at that stage i.e. it creates Lv_root, Lv_home and Lv_swap. During the nistall I was offered to specify the type of installation. The following options were given -
    - Use All Space
    - Replace Existing Linux Systems
    - Shrink Current System
    - Use Free Space
    - Create Custom Layout
    Q1. I chose the Use All Space. However from what you are saying it looks as if I  perhaps should have used the option 'Create Custom Layout'. I am guessing the use all space option is what created the Logical Volumes - is this correct and should I have used Create Custom Layout ?
    I reduced lv_home from 183732 to 50000 Mb. This left 173 Gb free - I intended to use this free space with ASM
    Q2. Can a single disk only have 4 primary partitions ?
    I guess I am where I am now, so I am wondering how I proceed with the disk layout I have presently.
    Can you clarify from my output of fdisk -l that was in my original post, what exactly I have. My understanding is as follows -
    There are 3 logical volumes created :  /dev/mapper/vg_lab3-lv_root, /dev/mapper/vg_lab3-lv_swap and /dev/mapper/vg_lab3-lv_home
    There is then the physical volume /dev/sde. On this physical volume is /dev/sde1 and /dev/sde2
    Q3. Are these partitions on that volume ?
    Q4. /dev/sde1 appears to be a boot partition and /dev/sde2 appears to be the partition of 173 Gb that I did not allocate during the Linux install. Is this correct ?
    Q5. Is it possible that I can now take /dev/sde2 and mark that as an ASM Disk ? I wasn't sure if creating an ASM disk is restricted to an entire physical disk or if you can use a partition ?
    When I do the following as root user
    /etc/init.d/oracleasm createdisk VOL1 /dev/sde2
    Unable to open device "/dev/sde2" Device or resource busy
    I cannot understand how this is the case - /dev/sde2 is not mounted
    lsof /dev/sde2 does not show anything using /dev/sde2
    /etc/init.d/oracleasm status
    shows ASM is loaded and /dev/oracleasm is mounted
    Any help you can offer would be greatly received.
    Thanks,
    Jim

  • 2 TB Disk For Asm (Sugesstions Please)

    Hello,
    I have setup a rac install on 11g Aix 6.1 and i have a 2TB disk that will be used for ASM. When i reach the configuration page of ASM to setup disks i see that the raw drive which is supposed to show a 2TB raw drive is showing the size as 4095 TB which is a big mismatch.
    We had cleared the headers of the disk with this command "dd if=/dev/zero of=/dev/rhdisk7 bs=1k count=256" and i'm not sure if this caused the problem.
    Any suggestions here. I am on 11.1.0.6 or is this a bug.
    I was thinking of breaking this disk into 500G each into 4 drives equalling to 2TB.
    Can someone please help here.

    SQL> create diskgroup 'DWHDATAVOL1' external redundancy disk '/dev/raw/raw3','/dev/raw/raw4';
    create diskgroup 'DWHDATAVOL1' external redundancy disk
    '/dev/raw/raw3','/dev/raw/raw4'
    FEHLER in Zeile 1:
    ORA-15018: Plattengruppe kann nicht erstellt werden
    ORA-15099: disk '/dev/raw/raw4' is larger than maximum size of 2097152 MBs
    ORA-15099: disk '/dev/raw/raw3' is larger than maximum size of 2097152 MBshttp://jonathanlewis.wordpress.com/2009/08/14/tera-bug/
    metalink : bug 7243305, 6453944
    fixed on 11.2
    - use 500G into 4 drives to 2TB.
    - use 11gR2

  • How do you correctly partition the disk for bootcamp?

    My bootcamp terminal says that a error has occured when i partition the disk. please help. I have a macbook air (mid 2012) build 13C64.
    Thanks in advance

    Oh yes and i also have selected windows 7 professional

  • How do I make a partition on the disk for Windows using BootCamp? / ¿Cómo hago una partición de disco para Windows con BootCamp?

    Guys, I don't understand how to use it, can someone explain in to me? No entiendo lo de los sistemas operativos y sinceramente creo que no entiendo nada de cómo se hace para partir el disco:( AYUDA! HEEEELP!:(

    Read the Bootcamp documentation http://www.apple.com/support/bootcamp/

  • Partitioning Hard drive for Windows Use

    Hopefully someone has the solution to this.
    I have been trying to partition part of my hard drive for the past couple of days because there is a program I need for a class I am taking that only works in Windows. Every time I try to partition a portion of the drive, it tells me some files couldn't be moved. It also tells me to format the drive and restore it. I am willing to do this, but the instructions on using the disk utility that it gives me do not work.
    I would be most willing to use the systems disk to repair anything I need to or just re-install, but I have misplaced those disk.
    How do I go about replacing these disk?
    Also, is there another way to partition part of this drive?
    It is my internal drive that was installed in the laptop.
    Thank you so much for taking the time to read this!

    You can reformat your hard drive with a snow leopard disk, which maybe a friend has or you can buy one for something like $30.00? Then your mac would be wiped clean as you know.. I have seen this problem before when installing windows on a mac and don't know what causes it. I reformatted my mac and then installed windows fine. Other times I have installed windows it went perfectly fine.

  • Partitioning a disk for dual boot

    My system disk failed last week. The media just stopped holding a proper magnetic charge so I ended up with loads of bad blocks.
    The disk was 120 GB in size.
    I replaced it with a 500 GB model. But I didn't need the extra space for the system disk so I partitioned it into 2 drives (Mac OS Extended). The first one I set to 185 GB and the second one I made 300 GB. The rest of the space was lost due to rounding.
    I restored the 185 GB partition from my backup copy (Retrospect 5) and was quite satisfied with the results - Mac OS 9.2.2. I also was able to access the other (empty) partition successfully.
    I booted the system into 9.2.2 from partition #1 and decided to install OS X on the larger partition. So I loaded up the Tiger Install disk #1. The install process started but when I was asked to select a target drive the empty second partition was not in the list of choices.
    Why?
    I want to have a dual boot capability on the single drive. How do I do that?
    Gary

    Not all G4s supported drives greater than 128 GB:
    http://support.apple.com/kb/HT2544
    http://lowendmac.com/2005/how-big-hard-drive-imac-emac-power-mac-powerbook-ibook /

  • Having trouble partitioning my disk for bootcamp with windows 8.1

    I have a 2012 MacBook Pro Running i5 Processor, 8Gb RAM with 500GB HD running OSX Yosemite 10.10.2. I was able to successfully install Windows 8.1 using boot-camp assistant and partitioned it with the minimum of 20Gb. I tried installing Microsoft Office Pro 2013 on the Windows 8 OS after the boot-camp process yet with the installation process it used up 19 out of 20Gb not allowing me to install anything more then 1Gb. The file for Microsoft office was 4Gb. I went back to OSX to extend the partition space for Windows 8 OS and wasn't able to adjust it manually. Question is if i have to do the install process again from the beginning and add more space to the partition or if there is another solution without deleting the OS.

    From Boot Camp 5.1: Frequently asked questions - Apple Support
    Can I resize the Windows partition after installing Windows?
    No. Back up your important files, then use Boot Camp Assistant to delete the old partition and create a new one.

  • Time Machine disk for other uses?

    I have a new 1 TB external drive that I just setup as my Time Machine disk. I also need a place to store a large quantity of photos that will not fit on my hard disk.
    It is ok to use the external drive as both a Time Machine disk and a regular storage device? Thanks.

    You've posted in the +Time Capsule+ forum, but it sounds like you have an external HD that you're going to connect directly to your Mac.
    If that's the case, then you can use Disk Utility to partition the drive, per #5 or #6 in the Frequently Asked Questions *User Tip,* also at the top of the +Time Machine+ forum.
    The downside to that, however, is that while you can get Time Machine to back up the other partition on it's drive, you'll get a warning message that it's not a good idea to have both the originals and backups on the same physical HD -- when it fails (and they all do, sooner or later), you risk losing both copies. So you'll need either some alternate way to back up that partition, or get a second external HD.
    If you do in fact have a Time Capsule, and are thinking of connecting your new HD to it, not your Mac, see #Q3 in the Using TIME MACHINE with a TIME CAPSULE *User Tip,* also at the top of this forum.

  • Creating DAS or SAN Disk Partitions for ASM

    Oracle® Database Installation Guide 11g Release 2 (11.2) for Linux (http://docs.oracle.com/cd/E11882_01/install.112/e24321/oraclerestart.htm#CHDBJGEB)
    *3.6.3 Step 2:* Creating DAS or SAN Disk Partitions for Oracle Automatic Storage Management
    In order to use a DAS or SAN disk in Oracle ASM, the disk must have a partition table. Oracle recommends creating exactly one partition for each disk.
    My question: why does Oracle recommend creating exactly one partition for each disk? For a disk to be used on Suse Linux, I normally need to at the least 3 partitions, i.e., boot, swap, and root.
    Scott

    Please read the entire manual - before starting setup and configuration.
    From the very same manual:
    Do not specify multiple partitions on a single physical disk as a disk group device.
    Oracle ASM expects each disk group device to be on a separate physical disk.So why use partitioning? If you need to subdivide a LUN into smaller LUNs and use these instead of the larger LUN. Reasons could range from LUNs bigger than 2TB in size (ASM only support up to 2TB size LUNs), to wanting partition 1's of x size for ASM diskgroup 1 and partition 2's of y size for ASM diskgroup 2.
    If you do partition, take the extra precaution of marking the partition as a non-file system (partition type <i>da</i>) to safeguard against someone (like a sysadmin looking for space) from mounting it as a file system.
    Generally though - I would not partition LUNs for ASM use.

  • Shared disk (SAN EVA 4400) configuration for ASM on linux RHEL5

    Hi all,
    I want to install RAC database (oracle 10g on RHEL5). Now we are configurind shared storage for the both servers (nodes). In disk configuration (SAN on EVA 4400) we have created the volume group for the disk to use for ASM and present the disk group to the servers. Actually when we check the server we cannot see the disk (shared storage).
    [root@cdr-analysis01 ~]# ls /dev/cciss/ -lR
    /dev/cciss/:
    total 0
    brw-r----- 1 root disk 104, 0 Jul 1 2009 c0d0
    brw-r----- 1 root disk 104, 1 Jul 1 14:29 c0d0p1
    brw-r----- 1 root disk 104, 2 Jul 1 14:29 c0d0p2
    brw-r----- 1 root disk 104, 3 Jul 1 14:29 c0d0p3
    brw-r----- 1 root disk 104, 4 Jul 1 2009 c0d0p4
    brw-r----- 1 root disk 104, 5 Jul 1 14:29 c0d0p5
    brw-r----- 1 root disk 104, 6 Jul 1 14:29 c0d0p6
    brw-r----- 1 root disk 104, 7 Jul 1 2009 c0d0p7
    brw-r----- 1 root disk 104, 8 Jul 1 14:29 c0d0p8
    (they are local disks not the shared disk)
    My questions are:
    - How to mount the disk to be seen in the server
    - How to configure the disk for ASM is there any document for this. In my knowledge the disk to use for ASM doesn't need to be formated with a file system and shouldn't see when we run the df command.
    Does anybody can help me as it's very urgent for us.
    Thank you
    Raitsarevo

    Hi all,
    NOw the disk is presented to server. but my actual problem is how to create shared partition of this disk for the servers.
    Our actual status is we have created one volume group with 500 Gb in the sun and this volume group is called vg_oradata. we will use this storage for OCR, voting disk and the databse file (ASM). A si know from documentation i have to create one shared partition for OCR, one shared partition for Voting disk and another for database.
    That i want to do is creating for example :
    ocr_partition (25 Gb) : for OCR
    vote_partition (25 Gb): for Voting disk
    oradata_part1 (150 Gb): for database (ASM)
    oradata_part2 (150 Gb): for database (ASM)
    oradata_part3 (150 Gb): for database (ASM)
    My problem is how to create this partition because when i'm trying to create it from Logical Volume Manager of Linux i cannot find them in to servers.
    I mean i'm new in system administrator and our SAN vendors also doesn't know how to it in LInux system.
    Could you help me please if possible.
    My system is Linux Red Hat Enterprise 5 and i'm going to use Oracle 1Og RAC.
    Thank you
    Lucienot

  • Can't create disks for oracle ASM

    Sorry for duplicating my post, I posted it in linux group, but don't know if I also can get help here.
    Hi, all advanced,
    I am installing oracle 10gR2 in Fedora core 4, and I prefer to use oracle Automatic Storage Management feature. Since oracle doesn't support FC4, I have to set up rRHEL4 kernel core to install ASM driver and configure it. The things went well until I want to create disks for ASM, for example:
    # /etc/init.d/oracleasm createdisk DISK1 /dev/hda5
    Marking disk "/dev/hda5" as an ASM disk: asmtool: Unable to clear device "/dev/hda5": Input/Output error
    When I install the FC4, /dev/hda5 is only one of the partitions in the physical disk, not a full independent physical disk. Same to other disks that I want to put into ASM disks. I google the net but didn't find any similar problem happened to other players. So I need your help!
    wand

    Hi Rafael,
    What version are you using? I have had similar problems in the past. Worst case I had to recreate the widget and copy the coding across.
    Can you send me the project file, I will understand also if you do not want to, I will try it on my machine.
    Regards
    John

  • ORA-15063: ASM discovered an insufficient number of disks for diskgroup

    Hello DBAs,
    I have encountered this problem. I am using storage vendor snapshot capability. On my first node, I have 2 disks for ASM diskgroups. ORCL:DATA belongs to DATA diskgroup and ORCL:FLASH belongs to FLASH diskgroup. After making the snapshots of these two disks, I mapped them to my second host which already has ASM instance. I ran /etc/init.d/oracleasm scandisk and listdisks I see two disks. But when I start up ASM instance I get this error:
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2019032 bytes
    Variable Size 102838568 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "FLASH"
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
    Of course, I have the asm_diskstring and asm_diskgroups parameter set in my init+ASM.ora file. The ASM version is identical across both hosts. I guess my question would be, is it possible to do this? Do I need to re-create the ASM disks using /etc/init.d/oracleasm? Any help is much appreciated.
    Thanks,
    TD

    What is your configuration?
    If you have AIX and EMC san, then refer to this metalink note: 467702.1
    In my case, it was HP-UX and HP san EVA8200. But our problem was two different disks were presented to the two nodes, with same names by the unix admin/san admin guys.
    Before they could figure out the problem, I had done a lot of research for few days to figure this out. Another problem I noticed in some cases was improper permissions. Either the db software owner didn't have permissions to the asm disks, or if the owner of both software was same, then the actual permissions/ownership of the shared raw devices was different on the two nodes.
    Hope this helps. And I will appreciate once you fix the problem if you can also update this forum with your solution. That will help the community in future.
    Thanks

Maybe you are looking for

  • Final Cut Pro HD and Quicktime Pro????

    Can anyone tell me if I need to have Quicktime Pro in order to be able to edit movie files in FCP HD? The Quicktime files I have in my Capture Scratch are on an external hardrive and WERE CAPTURED FROM A COMPUTER USING QUICKTIME PRO. My Powerbook has

  • Printing/report writing

    Could anyone recommend any good printing/report writing tools that can be integrated with Forte? I have found these capabilities to be less than satisfactory from within Forte itself. To unsubscribe, email '[email protected]' with 'unsubscribe forte-

  • Error doing MIRO

    Hello All. I have an issue where I am trying to post an incoming invoice against an open P.O, but I cannot due to an archived customer invoice. Has anyone else seen this issue? This is a P.O. open since 2007 and is still receiving materials against i

  • Adress number for Org. unit tabel HRP1028

    Hi experts, I am facing a problem regarding assigning an adress number to an org. unit? If I look into tabel HRP1028 there is a field called ADRNR. Is this field for assigning an adress number? How do I customize this? I would like this system to ass

  • Why has print module stopped functioning

    I have lightroom 4, running on mac book pro OS 10.2 (maverick). When I go from the images in the library to the print module, the pictures darken and cannot be accessed. The preview is a blank page. I even tried downloading a trial version of lightro