ASM disks information

Hi,
Can please provide the information on ASM disks to find out
1) what is redundancy (normal or high) ?
2) How many failgroups configured ?
3) Configured with Striping or mirroring or mixed?
4) How many disks involved in each ASM disk group.
DB version: 10.2.0.4
Thanks

unknown redundancy.
SQL> select group_number,disk_number,redundancy,failgroup from v$asm_disk;
GROUP_NUMBER DISK_NUMBER REDUNDA FAILGROUP
2 0 UNKNOWN DATA1
2 1 UNKNOWN DATA2
3 0 UNKNOWN FLASH1
3 1 UNKNOWN FLASH2
3 2 UNKNOWN FLASH3
3 3 UNKNOWN FLASH4
1 0 UNKNOWN OCR1
7 rows selected.
SQL>

Similar Messages

  • Please Help - When I try to add ASM Disk to ASM Diskgroup it crashes Server

    We are using a Pillar SAN and have LUNS Created and are using the following multipath device: (I'm a DBA more then anything else... but I am rather familiar with linux .... SAN Hardware not so much)
    Device Size Mount Point
    /dev/dpda1 11G /u01
    The Above device is working fine... Below are the ASM Disks being Created
    Device Size Oracle ASM Disk Name
    /dev/dpdb1 198G ORCL1
    /dev/dpdc1 21G SIRE1
    /dev/dpdd1 21G CART1
    /dev/dpde1 21G SRTS1
    /dev/dpdf1 21G CRTT1
    I try to create to the first ASM Disk
    /etc/init.d/oracleasm createdisk ORCL1 /dev/dpdb1
    Marking disk "ORCL1" as an ASM disk: [FAILED]
    So I check the oracleasm log:
    #cat /var/log/oracleasm
    Device "/dev/dpdb1" is not a partition
    I did some research and found that this is a common problem with multipath devices and to work around it you have to use asmtool
    # /usr/sbin/asmtool -C -l /dev/oracleasm -n ORCL1 -s /dev/dpdb1 -a force=yes
    asmtool: Device "/dev/dpdb1" is not a partition
    asmtool: Continuing anyway
    now I scan and list the disks
    # /etc/init.d/oracleasm scandisks
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    # /etc/init.d/oracleasm listdisks
    ORCL1
    Here is whats going on in /var/log/messages when I run the oracleasm scandisks command
    # date
    Fri Aug 14 13:51:58 MST 2009
    # /etc/init.d/oracleasm scandisks
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    cat /var/log/messages | grep "Aug 14 13:5"
    Aug 14 13:52:06 seer kernel: dpdb: dpdb1
    Aug 14 13:52:06 seer kernel: dpdc: dpdc1
    Aug 14 13:52:06 seer kernel: dpdd: dpdd1
    Aug 14 13:52:06 seer kernel: dpde: dpde1
    Aug 14 13:52:06 seer kernel: dpdf: dpdf1
    Aug 14 13:52:06 seer kernel: dpdg: dpdg1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: printk: 30 messages suppressed.
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: sda : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sda : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sda: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sda: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sda: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sda:end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: Dev sda: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdb: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdb: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdb: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdb: sdb1
    Aug 14 13:52:06 seer kernel: SCSI device sdc: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdc: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdc: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdc: sdc1
    Aug 14 13:52:06 seer kernel: SCSI device sdd: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdd: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdd: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdd: sdd1
    Aug 14 13:52:06 seer kernel: SCSI device sde: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sde: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sde: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sde: sde1
    Aug 14 13:52:06 seer kernel: SCSI device sdf: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdf: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdf: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdf: sdf1
    Aug 14 13:52:06 seer kernel: SCSI device sdg: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdg: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdg: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdg: sdg1
    Aug 14 13:52:06 seer kernel: SCSI device sdh: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdh: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdh: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdh: sdh1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sdi, logical block 0
    Aug 14 13:52:06 seer kernel: sdi : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdi : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdi: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdi: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdi: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdi:end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer last message repeated 4 times
    Aug 14 13:52:06 seer kernel: Dev sdi: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdj: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdj: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdj: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdj: sdj1
    Aug 14 13:52:06 seer kernel: SCSI device sdk: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdk: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdk: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdk: sdk1
    Aug 14 13:52:06 seer kernel: SCSI device sdl: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdl: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdl: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdl: sdl1
    Aug 14 13:52:06 seer kernel: SCSI device sdm: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdm: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdm: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdm: sdm1
    Aug 14 13:52:06 seer kernel: SCSI device sdn: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdn: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdn: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdn: sdn1
    Aug 14 13:52:06 seer kernel: SCSI device sdo: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdo: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdo: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdo: sdo1
    Aug 14 13:52:06 seer kernel: SCSI device sdp: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdp: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdp: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdp: sdp1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: sdq : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdq : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdq: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdq: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdq: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdq:end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer last message repeated 5 times
    Aug 14 13:52:06 seer kernel: Dev sdq: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdr: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdr: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdr: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdr: sdr1
    Aug 14 13:52:06 seer kernel: SCSI device sds: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sds: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sds: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sds: sds1
    Aug 14 13:52:06 seer kernel: SCSI device sdt: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdt: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdt: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdt: sdt1
    Aug 14 13:52:06 seer kernel: SCSI device sdu: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdu: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdu: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdu: sdu1
    Aug 14 13:52:06 seer kernel: SCSI device sdv: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdv: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdv: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdv: sdv1
    Aug 14 13:52:06 seer kernel: SCSI device sdw: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdw: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdw: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdw: sdw1
    Aug 14 13:52:06 seer kernel: SCSI device sdx: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdx: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdx: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdx: sdx1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: sdy : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdy : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdy: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdy: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdy: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdy:end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer last message repeated 5 times
    Aug 14 13:52:06 seer kernel: Dev sdy: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdz: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdz: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdz: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdz: sdz1
    Aug 14 13:52:06 seer kernel: SCSI device sdaa: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdaa: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdaa: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdaa: sdaa1
    Aug 14 13:52:06 seer kernel: SCSI device sdab: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdab: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdab: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdab: sdab1
    Aug 14 13:52:06 seer kernel: SCSI device sdac: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdac: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdac: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdac: sdac1
    Aug 14 13:52:06 seer kernel: SCSI device sdad: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdad: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdad: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdad: sdad1
    Aug 14 13:52:06 seer kernel: SCSI device sdae: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdae: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdae: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdae: sdae1
    Aug 14 13:52:06 seer kernel: SCSI device sdaf: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdaf: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdaf: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdaf: sdaf1
    Aug 14 13:52:06 seer kernel: scsi_wr_disk: unknown partition table
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdy, sector 0
    Here's some extra info:
    # /sbin/blkid | grep asm
    /dev/sdc1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sdk1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sds1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sdaa1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/dpdb1: LABEL="ORCL1" TYPE="oracleasm"
    I have learned that by excluding devices in the oracleasm configuration file I eliminate those I/O errors in /var/log/messages
    # cat /etc/sysconfig/oracleasm
    # This is a configuration file for automatic loading of the Oracle
    # Automatic Storage Management library kernel driver. It is generated
    # By running /etc/init.d/oracleasm configure. Please use that method
    # to modify this file
    # ORACLEASM_ENABELED: 'true' means to load the driver on boot.
    ORACLEASM_ENABLED=true
    # ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
    ORACLEASM_UID=oracle
    # ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
    ORACLEASM_GID=oinstall
    # ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
    ORACLEASM_SCANBOOT=true
    # ORACLEASM_SCANORDER: Matching patterns to order disk scanning
    ORACLEASM_SCANORDER="dp sd"
    # ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
    ORACLEASM_SCANEXCLUDE="sdc sdk sds sdaa sda"
    # ls -la /dev/oracleasm/disks/
    total 0
    drwxr-xr-x 1 root root 0 Aug 14 10:47 .
    drwxr-xr-x 4 root root 0 Aug 13 15:32 ..
    brw-rw---- 1 oracle oinstall 251, 33 Aug 14 13:46 ORCL1
    Now I can go into dbca to create the ASM instance, which starts up fine...  create a new diskgroup, I see ORCL1 as a provision ASM disk I select it ...  Click OK
    CRASH!!!  Box hangs have to reboot it....
    I have gotten myself to exactly the same point right before clicking OK and here is what is in the ASM alertlog so far
    Fri Aug 14 14:42:02 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/11.1.0/db_1/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =0
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.6.0.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.1.0/db_1/dbs/spfile+ASM.ora
    System parameters with non-default values:
    large_pool_size = 12M
    instance_type = "asm"
    diagnostic_dest = "/u01/app/oracle"
    Fri Aug 14 14:42:04 2009
    PMON started with pid=2, OS id=3300
    Fri Aug 14 14:42:04 2009
    VKTM started with pid=3, OS id=3302 at elevated priority
    VKTM running at (20)ms precision
    Fri Aug 14 14:42:04 2009
    DIAG started with pid=4, OS id=3306
    Fri Aug 14 14:42:04 2009
    PSP0 started with pid=5, OS id=3308
    Fri Aug 14 14:42:04 2009
    DSKM started with pid=6, OS id=3310
    Fri Aug 14 14:42:04 2009
    DIA0 started with pid=7, OS id=3312
    Fri Aug 14 14:42:04 2009
    MMAN started with pid=8, OS id=3314
    Fri Aug 14 14:42:04 2009
    DBW0 started with pid=9, OS id=3316
    Fri Aug 14 14:42:04 2009
    LGWR started with pid=6, OS id=3318
    Fri Aug 14 14:42:04 2009
    CKPT started with pid=10, OS id=3320
    Fri Aug 14 14:42:04 2009
    SMON started with pid=11, OS id=3322
    Fri Aug 14 14:42:04 2009
    RBAL started with pid=12, OS id=3324
    Fri Aug 14 14:42:04 2009
    GMON started with pid=13, OS id=3326
    ORACLE_BASE from environment = /u01/app/oracle
    Fri Aug 14 14:42:04 2009
    SQL> ALTER DISKGROUP ALL MOUNT
    Fri Aug 14 14:42:41 2009
    At this point I don't want to click the OK until I am sure someone is in the office to reboot the machine manually if I do hang it again....  I hung it twice yesterday, however I did not have the devices excluded in the oracleasm configuration file as i do now
    Edited by: user10193377 on Aug 14, 2009 3:23 PM
    Well Clicking OK hun it again and I am waiting to get back into it, to see what new information might be gleened
    Does anyone have any ideas on what to check or where to look?????    Will update more once I can log back in

    Hi Mark,
    It looks like something is not correct with your raw device partition based on the error messages:
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sda: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sda: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sda: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sda:end_request: I/O error, dev sda, sector 0
    It could be a number of things. I would check with your vendor and Oracle support to see if the multipath software drive is supported and if there is a potential workaround for ASM. Sorry this is not quite the solution, but its what jumps to mind based on issues with multipath software and storage vendors for ASM with Linux and Oracle. Have you checked the validation matrix available on Metalink?
    Cheers,
    Ben

  • Error while creating asm disk group

    i am trying to convert my database SRAVAN as an ASM instance.
    so do i need to set ORACLE_SID=+ASM???? r else it wil be SRAVAN??
    I WAS ENDED UP WITH FOLLOWING ERRORS WHILE CREATING DISK GROUP.
    guyz please do help me
    SQL> CREATE DISKGROUP dgroup1
    2 NORMAL REDUNDANCY
    3 FAILGROUP ctlr1
    4 DISK '/u04/app/oracle/product/asmdisks/disk1'
    5 FAILGROUP ctlr2
    6 DISK '/u04/app/oracle/product/asmdisks/disk2';
    CREATE DISKGROUP dgroup1
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/u04/app/oracle/product/asmdisks/disk2' matches
    no disks
    ORA-15025: could not open disk '/u04/app/oracle/product/asmdisks/disk2'
    ORA-15059: invalid device type for ASM disk
    Linux Error: 32768: Unknown system error
    Additional information: 42
    Additional information: -1073785968
    ORA-15031: disk specification '/u04/app/oracle/product/asmdisks/disk1' matches
    no disks
    ORA-15025: could not open disk '/u04/app/oracle/product/asmdisks/disk1'
    ORA-15059: invalid device type for ASM disk
    Linux Error: 32768: Unknown system error
    Additional information: 42
    Additional information: -1073785968
    [oracle@sierra200 dbs]$ cd /u04/app/oracle/product/asmdisks
    [oracle@sierra200 asmdisks]$ ls -ltr
    total 205008
    -rwxrwxrwx 1 oracle oinstall 104857600 Jul 27 11:42 disk1
    -rwxrwxrwx 1 oracle oinstall 104857600 Jul 27 11:47 disk2
    Thanks & Regards
    Sravan Dalavai

    Looks like you are asking ASM to use plain files. Have you used the Device Loopback (losetup) a d made the emulate raw devices?
    http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_20.shtml

  • Difference between ASM Disk Group, ADVM Volume and ACFS File system

    Q1. What is the difference between an ASM Disk Group and an ADVM Volume ?
    To my mind, an ASM Disk Group is effectively a logical volume for Database files ( including FRA files ).
    11gR2 seems to have introduced the concepts of ADVM volumes and ACFS File Systems.
    An 11gR2 ASM Disk Group can contain :
    ASM Disks
    ADVM volumes
    ACFS file systems
    Q2. ADVM volumes appear to be dynamic volumes.
    However is this therefore not effectively layering a logical volume ( the ADVM volume ) beneath an ASM Disk Group ( conceptually a logical volume as well ) ?
    Worse still if you have left ASM Disk Group Redundancy to the hardware RAID / SAN level ( as Oracle recommend ), you could effectively have 3 layers of logical disk ? ( ASM on top of ADVM on top of RAID/SAN ) ?
    Q3. if it is 2 layers of logical disk ( i.e. ASM on top of ADVM ), what makes this better than 2 layers using a 3rd party volume manager ( eg ASM on top of 3rd party LVM ) - something Oracle encourages against ?
    Q4. ACFS File systems, seem to be clustered file systems for non database files including ORACLE_HOMEs, application exe's etc ( but NOT GRID_HOME, OS root, OCR's or Voting disks )
    Can you create / modify ACFS file systems using ASM.
    The oracle toplogy diagram for ASM in the 11gR2 ASM Admin guide, shows ACFS as part of ASM. I am not sure from this if ACFS is part of ASM or ASM sits on top of ACFS ?
    Q5. Connected to Q4. there seems to be a number of different ways, ACFS file systems can be created ? Which of the below are valid methods ?
    through ASM ?
    through native OS file system creation ?
    through OEM ?
    through acfsutil ?
    my head is exploding
    Any help and clarification greatly appreciated
    Jim

    Q1 - ADVM volume is a type of special file created in the ASM DG.  Once created, it creates a block device on the OS itself that can be used just like any other block device.  http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmfilesystem.htm#OSTMG30000
    Q2 - the asm disk group is a disk group, not really a logical volume.  It combines attributes of both when used for database purposes, as the database and certain other applications know how to talk "ASM" protocol.  However, you won't find any general purpose applications that can do so.  In addition, some customers prefer to deal directly with file systems and volume devices, which ADVM is made to do.  In your way of thinking, you could have 3 layers of logical disk, but each of them provides different attributes and characteristics.  This is not a bad thing though, as each has a slightly different focus - os file system\device, database specific, and storage centric.
    Q3 - ADVM is specifically developed to extend the characteristics of ASM for use by general OS applications.  It understands the database performance characteristics and is tuned to work well in that situation.  Because it is developed in house, it takes advantage of the ASM design model.  Additionally, rather than having to contact multiple vendors for support, your support is limited to calling Oracle, a one-stop shop.
    Q4 - You can create and modify ACFS file systems using command line tools and ASMCA.  Creating and modifying logical volumes happens through SQL(ASM), asmcmd, and ASMCA.  EM can also be used for both items.  ACFS sits on top of ADVM, which is a file in an ASM disk group.  ACFS is aware of the characteristics of ASM\ADVM volumes, and tunes it's IO to make best use of those characteristics. 
    Q5 - several ways:
    1) Connect to ASM with SQL, use 'alter diskgroup add volume' as Mihael points out.  This creates an ADVM volume.  Then, format the volume using 'mkfs' (*nix) or acfsformat (windows).
    2) Use ASMCA - A gui to create a volume and format a file system.  Probably the easiest if your head is exploding.
    3) Use 'asmcmd' to create a volume, and 'mkfs' to format the ACFS file system.
    Here is information on ASMCA, with examples:
    http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmca_acfs.htm#OSTMG94348
    Information on command line tools, with examples:
    Basic Steps to Manage Oracle ACFS Systems

  • DBCA did not see the ASM disk group in NODE 2 but see in NODE 1

    Are there anyone who encountered creating a database using DBCA with ASM as file system?
    Our issue before is in both nodes the DBCA did not see the ASM disk group.
    But after setting the TNS_ADMIN in both nodes and running the DBCA as administrator in Node 1, the DBCA able to see now the ASM disk group. Unfortunately, in Node 2 it didn't work out?
    So we didn't know why is it from Node 2, the DBCA still didn't see the ASM disk group?Since it is both the same.
    Any ideas? Please advise.
    For you information, we are using Windows 64-bit, Oracle 11g R2
    Thank you in advance for those who will respond.
    Edited by: 822505 on Dec 20, 2010 7:47 PM

    822505 wrote:
    Are there anyone who encountered creating a database using DBCA with ASM as file system?
    Our issue before is in both nodes the DBCA did not see the ASM disk group.
    But after setting the TNS_ADMIN in both nodes and running the DBCA as administrator in Node 1, the DBCA able to see now the ASM disk group. Unfortunately, in Node 2 it didn't work out?
    So we didn't know why is it from Node 2, the DBCA still didn't see the ASM disk group?Since it is both the same.
    Any ideas? Please advise.
    For you information, we are using Windows 64-bit, Oracle 11g R2
    Thank you in advance for those who will respond.
    Are the disks given to the ASM are visible from Node2?
    Aman....

  • Why the ASM disks can't be used again?

    Platform: Suse9(2.6.5-7smp)Linux x86_64, Oracle10g(10.1.0.3) RAC with ASM on 8 nodes and 30TB raw disks.
    Problem:
    In the first time, we created a db with a ASM Disk Group named RAC_DATA. But because of some errors we decided uninstall them. The uninstallation steps included removing all db and asm instances, rac software and crs software by dbca and oui. And cleared the shared ocr.crs and vote.crs in device raw1 and raw2.
    In the second time, we installed the crs and rac successfully. But when we ran dbca to recreate a database, all asm disks are unavailable, they all still belongs to the RAC_DATA group . But we have deleted RAC_DATA group in the uninstallation. What's more, we removed all in $ORACLE_HOME, $ORACLE_BASE/admin and $ORACLE_CRS_HOME.
    I don't know where the information about asm disks group stored. How can I clear it completely and reuse these disks them again.

    The problem is the that ASM metadata still exists. You can use the dd command to clear the metadata from the ASM disks.
    dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=12800
    Substitute the name of your device for /dev/raw/raw1 above. For further information see metalink note 26848.1 Re-Creating ASM instances and Diskgroups.

  • INS-30508 Invalid ASM disks on 11.2.0.3 OL 6.2 grid standalone install

    New set of Dell servers R710s running OL 6.2 redhat compatible kernel
    $ uname -a
    Linux seoltpo-02 2.6.32-220.el6.x86_64
    Connected to EMC VNX5500 and using powerpath 5.6.0. Not a rac environment ... doing 11.2.0.3 base install of grid infrastructure for a standalone server.
    Not using ASMLIB.
    Disk permissions are correct as grid install begins ...
    brw-rw---- 1 grid oinstall 120, 704 Jul 26 21:18 emcpoweras
    brw-rw---- 1 grid oinstall 120, 720 Jul 26 21:18 emcpowerat
    brw-rw---- 1 grid oinstall 120, 736 Jul 26 21:18 emcpowerau
    brw-rw---- 1 grid oinstall 120, 752 Jul 26 21:18 emcpowerav
    brw-rw---- 1 grid oinstall 120, 768 Jul 26 21:18 emcpoweraw
    brw-rw---- 1 grid oinstall 120, 784 Jul 26 21:18 emcpowerax
    brw-rw---- 1 grid oinstall 120, 800 Jul 26 21:18 emcpoweray
    brw-rw---- 1 grid oinstall 120, 816 Jul 26 21:18 emcpoweraz
    GUI installer sees the powerpath LUNs after changing the Disk Discovery path ... for example ....
    INFO: ... discoveryString = /dev/emcpower*
    INFO: Executing [tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/emcpower*']
    with environment variables {XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=en_US.UTF-8, DISPLAY=191.4.0.79:0, PWD=/u01/software_install/11_2_base/grid, _=/u01/software_install/11_2_base/grid/install/.oui, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USER=grid, QTINC=/usr/lib64/qt-3.3/include, CLASSPATH=, G_BROKEN_FILENAMES=1, HOME=/home/grid, HOSTNAME=waoltpo-02, MODULESHOME=/usr/share/Modules, LESSOPEN=|/usr/bin/lesspipe.sh %s, LD_LIBRARY_PATH=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/../lib, ORACLE_HOME=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin, LOGNAME=grid, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SHELL=/bin/bash, CVS_RSH=ssh, SHLVL=2, HISTCONTROL=ignoredups, KDE_IS_PRELINKED=1, MAIL=/var/spool/mail/grid, QTDIR=/usr/lib64/qt-3.3, JAVA_HOME=, QTLIB=/usr/lib64/qt-3.3/lib, MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles, LS_COLORS=, LC_ALL=, KDEDIRS=/usr, HISTSIZE=1000, module=() {  eval `/usr/bin/modulecmd bash $*`
    }, LOADEDMODULES=, TERM=vt220, PATH=/usr/bin:/usr/ccs/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/etc/opt/emcpower/bin:/home/grid/bin:/u01/software_install/11_2_base/grid/install}
    INFO: Starting Output Reader Threads for process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweras grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerat grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerau grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerav grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweraw grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerax grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweray grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweraz grid oinstall
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweru
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweru"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    *** Of course there are other LUNs not going to be part of ASM disk groups so it cannot read all of them initially.
    Somehow after first looking at the disks and seeing them the first time the permissions are changed back on the disks over to root:root as soon as the GUI sees the disks.
    You select the disks that you want in the GUI ( but the permissions have been changed already ) so click Next and wham INS 30508 ...
    The Install log shows that kfod is apparently scanning the disks a bunch of time ... but before the error appears install log sees that permissions have changed.
    Somehow actions caused from running the GUI are changing the permissions? Something is wrong somewhere ... powerpath ? 11.2.0.3 on this kernel version ? Seems very bizarre ...
    NFO: Executing [tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/emcpoweras','/dev/emcpowerat','/dev/emcpowerau','/dev/emcpowerav','/dev/emcpoweraw','/dev/emcpowerax','/dev/emcpoweray','/dev/emcpoweraz']
    with environment variables {XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=en_US.UTF-8, DISPLAY=191.4.0.79:0, PWD=/u01/software_install/11_2_base/grid, _=/u01/software_install/11_2_base/grid/install/.oui, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USER=grid, QTINC=/usr/lib64/qt-3.3/include, CLASSPATH=, G_BROKEN_FILENAMES=1, HOME=/home/grid, HOSTNAME=waoltpo-02, MODULESHOME=/usr/share/Modules, LESSOPEN=|/usr/bin/lesspipe.sh %s, LD_LIBRARY_PATH=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/../lib, ORACLE_HOME=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin, LOGNAME=grid, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SHELL=/bin/bash, CVS_RSH=ssh, SHLVL=2, HISTCONTROL=ignoredups, KDE_IS_PRELINKED=1, MAIL=/var/spool/mail/grid, QTDIR=/usr/lib64/qt-3.3, JAVA_HOME=, QTLIB=/usr/lib64/qt-3.3/lib, MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles, LS_COLORS=, LC_ALL=, KDEDIRS=/usr, HISTSIZE=1000, module=() {  eval `/usr/bin/modulecmd bash $*`
    }, LOADEDMODULES=, TERM=vt220, PATH=/usr/bin:/usr/ccs/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/etc/opt/emcpower/bin:/home/grid/bin:/u01/software_install/11_2_base/grid/install}
    INFO: Starting Output Reader Threads for process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweraz
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweraz"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: The process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod exited with code 0
    INFO: Waiting for output processor threads to exit.
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweray
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweray"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerax
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerax"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweraw
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweraw"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerav
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerav"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerau
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerau"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerat
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerat"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweras
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweras"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Output processor threads exited.
    SEVERE: [FATAL] [INS-30508] Invalid ASM disks.
    CAUSE: The disks [dev/emcpoweras, /dev/emcpowerat, /dev/emcpowerau, /dev/emcpowerav, /dev/emcpoweraw, /dev/emcpowerax, /dev/emcpoweray, /dev/emcpoweraz] were not valid.
    ACTION: Please choose or enter valid ASM disks.
    INFO: Advice is ABORT
    INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
    INFO: Completed validating state <CreateASMDiskGroup>
    INFO: Terminating all background operations
    INFO: Terminated all background operations
    INFO: Transition aborted
    INFO: Rolled back to state <CreateASMDiskGroup>
    Is there some kind of configuration steps I am missing somewhere?
    Yeah I know probably going to have to open an SR here but some of you guys around here are pretty sharp. Can I attach the whole install log here somehow?

    Well I am not exactly opposed to udev rules for the powerpath devices ... not that I know what that is exactly ... if this can fix my problem.
    I found an example or two from google ...
    It looks like on my OL 6.2 system there is a difference in the files ( rules I guess ) under /etc/udev/rules.d
    # *** OL 5.7 system below
    $ ls -ltr
    total 232
    -rw-r--r-- 1 root root 1088 Jun 6 2007 60-pcmcia.rules
    -rw-r--r-- 1 root root 58016 Jun 6 2007 60-libsane.rules
    -rw-r--r-- 1 root root 2319 Jul 14 2008 bluetooth.rules
    -rw-r--r-- 1 root root 114 Nov 5 2008 90-alsa.rules
    -rw-r--r-- 1 root root 1823 Nov 5 2008 85-pcscd_ccid.rules
    -rw-r--r-- 1 root root 316 Dec 8 2010 60-raw.rules
    -rw-r--r-- 1 root root 82 Jan 13 2011 90-hal.rules
    -rw-r--r-- 1 root root 77 Mar 25 2011 05-udev-pp.rules
    -rw-r--r-- 1 root root 292 May 11 2011 98-kexec.rules
    -rw-r--r-- 1 root root 143 Jun 7 2011 60-net.rules
    -rw-r--r-- 1 root root 331 Jun 9 2011 90-ib.rules
    -rw-r--r-- 1 root root 992 Jul 8 2011 40-multipath.rules
    -rw-r--r-- 1 root root 9366 Jul 22 2011 60-wacom.rules
    -rw-r--r-- 1 root root 107 Jul 22 2011 95-pam-console.rules
    -rw-r--r-- 1 root root 61 Jul 22 2011 90-dm.rules
    -rw-r--r-- 1 root root 471 Jul 22 2011 51-hotplug.rules
    -rw-r--r-- 1 root root 16732 Jul 22 2011 50-udev.rules
    -rw-r--r-- 1 root root 515 Jul 22 2011 05-udev-early.rules
    -rw-r--r-- 1 root root 175 Jul 22 2011 88-clock.rules
    # *** OL 6.2 system below
    $ ls -ltr
    total 64
    # *** OL 6.2 system below
    $ ls -ltr
    total 64
    -rw-r--r--. 1 root root 1914 Apr 27 2010 85-pcscd_ccid.rules
    -rw-r--r--. 1 root root 320 Jul 2 2010 90-alsa.rules
    -rw-r--r--. 1 root root 1060 Jul 24 2010 60-pcmcia.rules
    -rw-r--r--. 1 root root 1652 Nov 20 2010 60-fprint-autosuspend.rules
    -rw-r--r--. 1 root root 2486 Dec 23 2010 97-bluetooth-serial.rules
    -rw-r--r-- 1 root root 935 Mar 7 2011 95-dataeng-udev.rules
    -rw-r--r-- 1 root root 77 Mar 25 2011 05-udev-pp.rules
    -rw-r--r--. 1 root root 706 Mar 29 2011 56-hpmud_support.rules
    -rw-r--r--. 1 root root 6858 Mar 29 2011 40-hplip.rules
    -rw-r--r--. 1 root root 83 May 20 2011 90-hal.rules
    -rw-r--r--. 1 root root 316 Oct 13 2011 60-raw.rules
    -rw-r--r--. 1 root root 54 Dec 7 2011 99-fuse.rules
    -rw-r--r--. 1 root root 292 Dec 7 2011 98-kexec.rules
    -rw-r--r--. 1 root root 53 Dec 7 2011 91-drm-modeset.rules
    -rw-r--r--. 1 root root 789 Jul 19 07:28 70-persistent-cd.rules
    ??? So no file 50-udev.rules ... in the 6.2 system ??? But tons of stuff in the 5.7 system ...

  • Create ASM disks on Solarix X64 fails with ORA-15031

    I am trying to create a ASM disk group on SOLARIS x64 using a NETAPP LUN. Below are the disks which are configured
    SQL> show parameter asm;
    NAME TYPE VALUE
    asm_diskgroups string DATA
    asm_diskstring string /dev/rdsk/c2t9*
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    bash-3.00# ls -ltr /dev/rdsk/c2t9d0s7
    lrwxrwxrwx 1 root root 80 May 22 16:27 /dev/rdsk/c2t9d0s7 -> ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    bash-3.00# ls -ltr ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    crw-r----- 1 oracle dba 32, 583 May 22 16:56 ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    I get these errors when I try to create a disk group
    SQL> create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7';
    create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/rdsk/c2t9d0s7' matches no disks
    ORA-15025: could not open disk '/dev/rdsk/c2t9d0s7'
    ORA-15056: additional error message
    Solaris-AMD64 Error: 13: Permission denied
    Additional information: 42
    Additional information: 198045856
    Additional information: 198045848
    Please help.

    My guess is that you did not run fdisk and partition off the first 1M and ASM overwrote the VTOC rendering the device useless.
    fdisk
    create new partition
    primary partition 1
    start 2 end <last cylinder>
    Then point your disk string to these partitions (<diskname>p1?)
    Once this is done, I ALWAYS test to make sure the oracle AND grid user can read and write to this device from ALL nodes. I use the dd command to do this.
    DO NOT DO THIS ON AN ALREADY CONFIGURED AND FUNCTIONING ASM DEVICE. Doing so will erase the device.
    make a file in $HOME that contains one line:
    cat <<EOF >> $HOME/x.x
    this is a test
    EOF
    node1
    dd if=$HOME/x.x of=<disk???p1> bs=20 count=1
    node2
    dd if=<disk???p1> of=$HOME/y.y bs=20 count=1 ##y.y should be the contents of node1:x.x
    node1
    dd if=/dev/zero of=<disk???p1> bs=8192 count=1000 ## erase the device for ASM usage.
    Fix any read/write issues before proceeding.

  • Share an ASM disk group among multiple nodes

    According to Oracle documentation:
    *“To share an ASM disk group among multiple nodes, you must install Oracle Cluster ware on all of the nodes, regardless of whether you install Oracle RAC on the nodes”.*
    And if I understand it right to share the same ASM storage group from multiple nodes from separate RACs or multiple non-RAC nodes ASM instances in those nodes need to communicate to synchronize ASM related metadata using same technique like cache fusions.
    My question is how this ASM communication take place among different ASM instances located in different RACs and standalone servers. Do we have to have some kind of Interconnect settings among the nodes?

    Hi,
    ASM and database instances require shared access to the disks in a disk group. ASM instances manage the metadata of the disk group and provide file layout information to the database instances.
    ASM instances can be clustered using Oracle Clusterware; there is one ASM instance for each cluster node. If there are several database instances for different databases on the same node, then the database instances share the same single ASM instance on that node.
    If the ASM instance on a node fails, then all of the database instances on that node also fail. Unlike a file system failure, an ASM instance failure does not require restarting the operating system. In an Oracle RAC environment, the ASM and database instances on the surviving nodes automatically recover from an ASM instance failure on a node.
    see this link
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmcon.htm :)

  • Using udev devices for ASM disk on Linux

    Hello all,
    I need details related to using udev devices as ASM disk on Linux.
    What I want to know is, once i get the list of ASM Disks that are used to create the DiskGroups, based on the path of the Disk (whether /dev/sdj or /dev/dm-3 or /dev/asm_udev_device, /dev/vx/<vxvm-volume>, /dev/<lvm-volume>) how do i get to know if the device type is a udev device?
    I want to know an automated process, so that i can script it out to separate out each device easily.
    Please let me know if anyone has expertise on using udev devices with Oracle ASM.
    I have referred the link but no much details available http://www.oracle.com/technology/products/database/asm/pdf/device-mapper-udev-crs-asm%20rh4.pdf
    Further, the behavior of udevinfo command is very different across version of Linux. From Suse 10 onwards, udevadm has to be used instead.
    Its confusing to me.
    Please help.
    ~Sumeet.

    My installation, ASM On SI
    S.O HP-UIx
    Disk internal, not SAN
    Internal disk configuration for Oracle.
    PV Name /dev/dsk/c11t0d0
    PV Name /dev/dsk/c11t1d0
    PV Name /dev/dsk/c11t2d0
    PV Name /dev/dsk/c11t3d0
    PV Name /dev/dsk/c11t4d0
    PV Name /dev/dsk/c11t6d0
    Vg:
    /dev/vgora
    Lv
    /dev/vgora/lvu01 <-- Oracle Bin mounted /u00
    /dev/vgora/lvu02 <-- External Archive /u02
    In /dev/vgora
    brw-r----- 1 root sys 64 0x010001 Mar 8 14:42 lvu01
    brw-r----- 1 root sys 64 0x010002 Mar 8 16:15 lvu02
    brwxrwxr-x 1 root sys 64 0x010003 Mar 19 14:19 lvasm01
    brwxrwxr-x 1 root sys 64 0x010004 Mar 19 14:20 lvasm02
    brwxrwxr-x 1 root sys 64 0x010005 Mar 19 14:20 lvasm03
    brwxrwxr-x 1 root sys 64 0x010006 Mar 19 14:20 lvasm04
    brwxrwxr-x 1 root sys 64 0x010007 Mar 19 14:20 lvasm05
    brwxrwxr-x 1 root sys 64 0x010008 Mar 19 14:20 lvasm06
    brwxrwxr-x 1 root sys 64 0x010009 Mar 19 14:20 lvasm07
    brwxrwxr-x 1 root sys 64 0x01000a Mar 19 14:20 lvasm08
    brwxrwxr-x 1 root sys 64 0x01000b Mar 19 14:20 lvasm09
    brwxrwxr-x 1 root sys 64 0x01000c Mar 19 14:21 lvasm10
    crw-r----- 1 root sys 64 0x010001 Mar 8 14:42 rlvu01
    crw-r----- 1 root sys 64 0x010002 Mar 8 16:15 rlvu02
    crw-r--r-- 1 root sys 64 0x010000 Mar 8 14:19 group
    FOR ASM
    crw-rw---- 1 oracle dba 64 0x010003 Mar 19 14:19 rlvasm01
    crw-rw---- 1 oracle dba 64 0x010004 Mar 19 14:20 rlvasm02
    crw-rw---- 1 oracle dba 64 0x010005 Mar 19 14:20 rlvasm03
    crw-rw---- 1 oracle dba 64 0x010006 Mar 19 14:20 rlvasm04
    crw-rw---- 1 oracle dba 64 0x010007 Mar 19 14:20 rlvasm05
    crw-rw---- 1 oracle dba 64 0x010008 Mar 19 14:20 rlvasm06
    crw-rw---- 1 oracle dba 64 0x010009 Mar 19 14:20 rlvasm07
    crw-rw---- 1 oracle dba 64 0x01000a Mar 19 14:20 rlvasm08
    crw-rw---- 1 oracle dba 64 0x01000b Mar 19 14:20 rlvasm09
    crw-rw---- 1 oracle dba 64 0x01000c Mar 19 14:21 rlvasm10
    And the problem is:
    When i run dbca for create diskgroup, that not recognize the disk.
    I will set asm_diskstring with the correctly path.
    I try to create a diskgroup from command line, but i see this error.
    SQL> create diskgroup DG_DATA_01 external redundancy DISK '/dev/vgora/rlvasm01' ;
    create diskgroup DG_DATA_01 external redundancy DISK '/dev/vgora/rlvasm01'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/vgora/rlvasm01' matches no disks
    ORA-15025: could not open disk '/dev/vgora/rlvasm01'
    ORA-15059: invalid device type for ASM disk
    Additional information: 255

  • ASM Disk Group RAID Levels

    This is the scenario that I am currently working on. Just need some input on whether it is feasible or not.
    We have a 2 node RAC running Oracle 10.2.0.3 on AIX 5L. Database size is ~2TB. The database mostly performs OLTP but also stores some historical data.
    There are two main applications using the database - one performs high reads with some small updates & inserts, while the other is very write intensive but does some reads as well.
    Currently there are three disk groups one for the tablespaces (dg_data), another for system/sysaux/undo tablespaces (dg_system) and another for archived logs & redo log copies (dg_flash) - all using external redundancy. ASM best practises recommend no more than 2 disk groups. It also recommends disk groups with disks of similar characteristics including raid levels. However, the dg_data disk group has both RAID 5 and RAID 1+0 disks which house tablespaces for both applications. Seeing that the applications have different requirements (heavy reads vs heavy writes) does it make sense to create a separate disk group with 2 different RAID levels or would using RAID 5 in dg_data satisfy both requirements?

    I am attempting to generate some statistics on the ASM Disks I/O activity before implementing the disk group separation in order have some metrics for comparison purposes. Enterprise Manager Grid Control displays the performance of disk groups and individual disks by showing the Disk Group I/O Cumulative Statistics. When comparing the results with the asmiostat output I am unable to correlate the results. I know that the asmiostat queries the v$asm_disk_stat view. Where does EM GC pull it's information from?
    For example, I run the following query on the ASM instance:
    SQL> select group_number,disk_number,total_mb,free_mb,name,path,reads,writes,read_time,write_time,bytes_read,bytes_written
    2 from v$asm_disk_stat
    3 where group_number=
    4 (select group_number from v$asm_diskgroup
    5* where name = 'DG_FLASH')
    GROUP_NUMBER DISK_NUMBER TOTAL_MB FREE_MB NAME PATH READS WRITES READ_TIME WRITE_TIME BYTES_READ BYTES_WRITTEN
    1 0 8671 8432 DG_FLASH_0000 /dev/asm2 14379476 10338479 149205.75 19633.64 290,136,450,560.00 7.2165E+10
    1 1 8671 8431 DG_FLASH_0001 /dev/asm3 11470508 10278698 184597.5 19313.54 249,769,027,584.00 9.2911E+10
    1 2 8671 8432 DG_FLASH_0002 /dev/asm4 17274529 8743188 178547.56 38342.52 339,439,240,192.00 6.7165E+10
    The output from the same period on Grid Control is below
    MEMBER DISKS AVG RESPTIME AVG THROUGHPUT TOT I/O TOT RDS TOT WRTS RDERRS WRTERRS
    DG_FLASH_0000 5.58 2.58 33179503 21949607 11,229,896 0 0
    DG_FLASH_0001 8.26 1.83 25752100 13131695 12,620,405 0 0
    DG_FLASH_0002 8.11 1.86 28269693 18798823 9,470,870 0 0
    The statistics in the query are lower than those in the EM GC report. I also tried querying the fixed views (x$) but the results were even more confusing.
    What is the best method for comparing and gathering statistics on ASM activity?

  • ASM DISK groups set up at O/S level

    Hi
    I am having couple of questions regarding the ASM.
    I was given LINUX Server and asked me to create the ASM DISK groups at O/S level.
    Oracle version: Oracle 11g realease 2 with ASM and Stand alone server
    O/S: Redhat Lilnux with 64 bit
    1.Unix admin has already given the server and gave me the root access also.Now I need to map/set up the ASM DISK groups manually and create them at the O/S level and then INSTALL the ASM software.
    a)We are using the asmlib for mapping at o/s level.Can any body give the command to know whether asmlib was installed on the Linux server.
    b)How to see the free Partitions on the Linux server and allot them to ASM disks at O/S level and to create it.
    2)Should I use two separate users ie . one for Grid infrastructure(Asm) and other for RDBMS Installation.
    Say GRID user for Grid Infrastructure(Asm) and ORACLE user for RDBMS Installation.
    If so what is the advantage in using different users for ASM and RDBMS installation respectively.
    The grid user is a member of these OS groups :asmdba,asmoper, and asmadmin and not dba group
    The oracle user is a member of these OS groups :dba and asmdba groups.
    ofcourse grid user and oracle user is also a part of oinstall group.
    Please find the url which I picked the above information.
    http://levipereira.wordpress.com/2010/11/21/installing-the-grid-infrastructure-for-a-standalone-server/
    Thanks in advance
    Thanks
    Veera

    First of all you should be using installation guide from oracle which you can find at ..http://www.oracle.com/pls/db112/portal.portal_db?selected=11&frame=
    If so what is the advantage in using different users for ASM and RDBMS installation respectively.There are two things, Grid & Database, Oracle wants to separate the administartion for both software, where users who are DBAs should not be allowed to change ASM stuff and vice-versa.
    You can use fdisk command to partition the disks, and use # /usr/sbin/oracleasm createdisk command to create the disk.

  • ASM Disk not found

    Hi,
    I am installing the Grid Infrastructure for a cluster (11.2). In the installer screen where an ASM disk group should be chosen, no disk appears.
    But a disk appears if a execute "oracleasm listdisks" in the command line. Any idea?
    The "oracleasm status" informs the disk is not mounted. Is that the problem?

    Hi David:
    uname -a
    Linux cwb02efnora04.keybank.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    rpm -qa|grep oracleasm
    oracleasm-support-2.1.3-1.el5
    oracleasmlib-2.0.4-1.el5
    oracleasm-2.6.18-164.el5-2.0.5-1.el5
    lsmod|grep oracle
    oracleasm 84136 1
    grep oracleasm /proc/filesystems
    nodev oracleasmfs
    oracle@cwb02efnora04:/u01/app/oracle>df -ha |grep oracleasm >a
    oracleasmfs 0 0 0 - /dev/oracleasm
    ls -l /dev/oracleasm/disks/
    total 0
    brw-rw---- 1 oracle dba 120, 17 Nov 27 12:53 QDATA1
    brw-rw---- 1 oracle dba 120, 33 Nov 27 12:53 QDATA2
    brw-rw---- 1 oracle dba 120, 49 Nov 27 12:53 QDATA3
    brw-rw---- 1 oracle dba 120, 97 Nov 27 13:33 QDATA4
    brw-rw---- 1 oracle dba 120, 113 Nov 27 13:34 QDATA5
    brw-rw---- 1 oracle dba 120, 65 Nov 27 12:53 QFLASH1
    brw-rw---- 1 oracle dba 120, 81 Nov 27 12:53 QFLASH2
    ~
    thank you so much
    Susan

  • How to map ASM disk path to physical disk on AIX?

    Hi Everyone,
    I am working on a plug-in for Oracle Enterprise Manager 10gR2 on AIX 5.3 which provides monitoring of storage arrays and supports ASM databases in addition to the 'emrep' database. One of the metric of that plug-in is populated by the result from a korn shell script. The script directly runs on the AIX host (connected to the storage array by FC cables via HBA ports) and retrieves the mapping for -- Physical disk - Logical Disk - LUN - ASM Disk.
    Now, I was able to get the mapping for Physical Disk – Logical Disk – LUN, but could not map ASM Disk. I googled a lot for any clue but did not find the answer to this specific problem.
    Now, I have the list of physical disks used for ASM by the command—
    lspv
    hdisk0 0001c22ac8d664ca rootvg active
    hdisk1 0001c22aa51f496a Oracle active
    hdisk2 0001c22ac478263a scratch active
    hdisk3 0001c22ac472549a Oracle active
    hdisk4 0001c22ac4725d6a Oracle active
    hdisk5 none None
    hdisk6 none None
    hdisk7 none None
    hdisk8 none None
    hdisk9 none None
    hdisk10 none None
    hdisk11 none None
    hdisk12 none None
    hdisk13 none None
    hdisk14 none None
    hdisk15 none None
    hdisk16 none None
    The disks hdisk5-16 are ASM disks and there are no PVID’s present.
    I also have the list of ASM disks by the command—
    ls –l /dev | grep oracle
    crw-rw---- 1 oracle dba 22, 6 May 12 00:02 asm_rd10_1a
    crw-rw---- 1 oracle dba 22, 10 Apr 21 07:27 asm_rd10_1b
    crw-rw---- 1 oracle dba 22, 7 May 09 13:53 asm_rd10_1c
    crw-rw---- 1 oracle dba 22, 8 May 09 13:53 asm_rd5_1a
    crw-rw---- 1 oracle dba 22, 4 May 12 00:02 asm_rd5_1b
    crw-rw---- 1 oracle dba 22, 9 Apr 21 07:28 asm_rd5_1c
    crw-rw---- 1 oracle dba 22, 12 May 12 00:02 asm_xbb2_rd10_1a
    crw-rw---- 1 oracle dba 22, 11 Apr 24 07:34 asm_xbb2_rd10_1b
    crw-rw---- 1 oracle dba 22, 13 May 09 13:53 asm_xbb2_rd10_1c
    crw-rw---- 1 oracle dba 22, 16 May 12 00:02 asm_xbb2_rd5_1a
    crw-rw---- 1 oracle dba 22, 14 Apr 24 07:34 asm_xbb2_rd5_1b
    crw-rw---- 1 oracle dba 22, 15 May 09 13:54 asm_xbb2_rd5_1c
    Now I am looking for a way to map these two lists with each other, and had no luck so far.
    Does oracle provide this information somewhere in the OEM installation structure or is there a command in AIX which could give some way to map the ASM disks to the physical disks?
    Any help on this is greatly appreciated. Thanks in advance…
    FYI: ASMLib driver is not present on the system.

    The view you are talking about here gives the ASM DISK NAME (like DGRXBB_0001) and ASM DISK PATH (like /dev/asm_rd_10_1a) and I am already using it, but this is not what I asked in mt original post. If you read carefully, I want to establish a mapping between the ASM DISK PATH (like /dev/asm_rd_10_1a) and the AIX Physical disk (like /dev/hdisk5) and did not find any view giving this info. If you know of some views which could help establish this mapping or some AIX commands or files that could help do this using shell script, it is most welcome

  • ASM Disk offline - State hung

    Hey in my ASM configuration I setup this
    Disk Path ASM Name Failure Group
    /dev/raw/raw4 Data1 FG1_Data [on SAN1]
    /dev/raw/raw5 Data2 FG2_Data [on SAN2]
    /dev/raw/raw6 Reco1 FG1_Reco [on SAN1]
    /dev/raw/raw7 Reco2 FG2_Reco [on SAN2]
    all good.
    My I switched off SAN1. A query on v$asm_disk shows disk DATA1 & RECO1 as offline - hung state.
    I did in the asm instance in sqlplus:
    ALTER DISKGROUP DATA DROP DISK data1; -> success
    ALTER DISKGROUP RECO DROP DISK reco1; -> success
    ALTER DISKGROUP DATA ADD failgroup DATA3 '/dev/raw/raw4'; -> success
    ALTER DISKGROUP RECO ADD failgroup RECO3 '/dev/raw/raw6'; -> success
    The query on v$asm_disk stills show the DATA1 and RECO1 - but DATA3 and RECO3 as well.
    Is it right, that the "old" entries will disappear, once the ASM instance is restarted ? I can´t do this at the moment.
    In generell - why went the ASM disks to offline ?
    SAN1 was switched off for about 5 minutes - and was then switched back on.
    Is this expected behaviour ?

    Hi Chris,
    as long as the information is still partially valid, the devices will be displayed in v$asm_disk. Main reason is: Some Oracle processes still have handles open on these devices, and as long as they exist the devices can still be seen.
    A Restart of ASM + database will definitely remove these entries (if they cannot be seen by the operating system).
    Regarding your other question: Oracle can only detect if a device is going offline (errors in the database and asm alter log). If a device goes online again, Oracle does not check this (this would be a major overhead to rescan lets say every minute to see if a disk is back online).
    Hence you have to reinclude the dropped/offlined disks yourself.
    Depending on the version (10g or 11g) and depending on the diskgroup compatibility level for rdbms a disk can simply be returned into the diskgroup (11g - alter diskgroup <dg> set disk <disk> online) and resilvered or have to be reincluded into the ASM instance (no resilvering, but a complete rebalance 10g: alter diskgroup <dg> add disk <disk> to failgroup <fg> [force])
    Sebastian

Maybe you are looking for

  • Problem DB Trigger and ADF Application for update a field.

    I again, I have a Data Base table as following : --Solicitudes* id number not null, extern_code integer, delivery_date timestamp( 6 ), ... and more fields And a Trigger as following : create or replace trigger update_delivery_date before update of on

  • Adobe Send for Signature vs. EchoSign or eSign

    I just want to know, is the Adobe Send for Signature plan for $1.99 a month the same as having access to the Adobe EchoSign services or the Adobe DC eSign services? I ask because I currently have Adobe Acrobat XI Pro and do not want to have to upgrad

  • Easing dissapears

    Hiya, I am used to flash cs3 but have just installed flash cs4 and i am having a bit of a play. I have created a simple animation of 3 different bits of text sliding on to the screen and bouncing in using the easing settings on the motion editor. Wha

  • Perforce issue in loop

    Hi experts,    In my program I have used this loop to populate article text(makt-maktx) and ean number (mean-ean11) in records fetched from mara on the basis of matnr. in my test server mara contains 46k records and in marc there are 80k records corr

  • Trying erase and re-install O SX

    i am having trouble erasing my iMac 27" O SX  TO DO A CLEAN RE- install. I am at this point, I selected the Macintosh HD and erased it, but from that point I got confused because I cannot continue with the instructions. Also, my 1 TB backup still sho