2 Replies Latest reply: Jan 9, 2014 1:55 AM by Rajasekhar Amudala-Oracle RSS

Single Instance using ASM on HP unix

user312846 Newbie
Currently Being Moderated

Dear All,

 

 

I am in the process of configuring a database system which will be running on ASM over Hp unix system.

 

Started the Oracle grid installation. In the ASM config window,it is not showing all the candidate disks, where as it is listing few disks which belongs to the same area ie "/dev/rdisk/*." initially I thought this is a permission issue, but few disks are showing and the other disks are not showing.

 

 

did any one come across this issue. please share with me the solution.

  • 1. Re: Single Instance using ASM on HP unix
    Baris Yildirim Guru
    Currently Being Moderated


    Hi,
    Can you see them when you click on "show all disks"?
    if you can, what are their status? (former,member etc)
    Otherwise  the disks weren't shown to the system properly.
    What is your OS? if it is linux, you have to mark disks like asm disks(from asmlib, oracleasm createdisk....)

    http://www.oracle-base.com/articles/10g/asm-using-asmlib-and-raw-devices.php


    Regards

  • 2. Re: Single Instance using ASM on HP unix
    Rajasekhar Amudala-Oracle Explorer
    Currently Being Moderated

    HI BarisYildirim,

     

     

    1) First look into OS level using command

     

     

    [root@host01 ~]# fdisk -l

     

    Disk /dev/xvda: 12.8 GB, 12884901888 bytes

    64 heads, 32 sectors/track, 12288 cylinders

    Units = cylinders of 2048 * 512 = 1048576 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvda1   *           2         103      104448   83  Linux

    /dev/xvda2             104       10240    10380288   83  Linux

    /dev/xvda3           10241       12288     2097152   82  Linux swap / Solaris

     

     

    Disk /dev/xvdb: 21.4 GB, 21474836480 bytes

    255 heads, 63 sectors/track, 2610 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdb1               1        2610    20963801   83  Linux

     

     

    Disk /dev/xvdc: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdc1               1         261     2096451   83  Linux

     

     

    Disk /dev/xvdd: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdd1               1         261     2096451   83  Linux

     

     

    Disk /dev/xvde: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvde1               1         261     2096451   83  Linux

     

     

    Disk /dev/xvdf: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdf1               1         261     2096451   83  Linux

     

     

    Disk /dev/xvdg: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdg1               1         261     2096451   83  Linux

     

     

    Disk /dev/xvdh: 2147 MB, 2147483648 bytes

    255 heads, 63 sectors/track, 261 cylinders

    Units = cylinders of 16065 * 512 = 8225280 bytes

     

     

        Device Boot      Start         End      Blocks   Id  System

    /dev/xvdh1               1         261     2096451   83  Linux

    [root@host01 ~]#

     

     

     

     

    2) Check permission

     

     

    [root@host01 ~]# ls -ltr /dev/x*

    brw-r----- 1 root   disk 202,   0 Nov 29 02:29 /dev/xvda

    brw-r----- 1 root   disk 202,   3 Nov 29 02:29 /dev/xvda3

    brw-r----- 1 root   disk 202,  16 Nov 29 02:29 /dev/xvdb

    brw-r----- 1 root   disk 202,  32 Nov 29 02:29 /dev/xvdc

    brw-r----- 1 root   disk 202,  48 Nov 29 02:29 /dev/xvdd

    brw-r----- 1 root   disk 202,  64 Nov 29 02:29 /dev/xvde

    brw-r----- 1 root   disk 202,  80 Nov 29 02:29 /dev/xvdf

    brw-r----- 1 root   disk 202,  96 Nov 29 02:29 /dev/xvdg

    brw-r----- 1 root   disk 202, 112 Nov 29 02:29 /dev/xvdh

    lrwxrwxrwx 1 root   root        4 Nov 29 02:30 /dev/xvc0 -> hvc0

    brw-r----- 1 root   disk 202,   2 Nov 29 02:30 /dev/xvda2

    brw-r----- 1 root   disk 202,   1 Nov 29 02:30 /dev/xvda1

    brw-r----- 1 root   disk 202,  17 Nov 29 02:30 /dev/xvdb1

    brw-rw-rw- 1 oracle dba  202,  97 Dec 20 07:34 /dev/xvdg1

    brw-rw-rw- 1 oracle dba  202,  49 Jan 10 08:12 /dev/xvdd1

    brw-rw-rw- 1 oracle dba  202,  65 Jan 10 08:12 /dev/xvde1

    brw-rw-rw- 1 oracle dba  202,  81 Jan 10 08:12 /dev/xvdf1

    brw-rw-rw- 1 oracle dba  202,  33 Jan 10 08:12 /dev/xvdc1

    brw-rw-rw- 1 oracle dba  202, 113 Jan 10 08:12 /dev/xvdh1

    [root@host01 ~]#

     

     

    Thanks,

    Rajsekhar

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points