Creation of ASM disk for OUI
I need to install a Oracle Database in order to install Enterprise Manager Cloud Control 12c.
Need the database to use a ASM disk.
I used the following command to create the disk, per the Oracle Database Installation Guide.
#/usr/sbin/oracleasm createdisk DISK1 /dev/sdd1
#oracleasm listdisks
DISK1
However, when running the OUI for Oracle Database 12c (understand 11.2.0.3 is certified for Cloud Control), step 7
errors INS-30517 when attempting to select "Oracle Automatic Storage Management" for "Storage type".
Researched the error at this location but no cause or action was provided.
http://docs.oracle.com/cd/E16655_01/server.121/e26079/common_errormessages.htm
INS-30517: Automatic Storage Management software is not configured on this system.
The database install guide states that I need to ensure the "disk discovery string" is set the "ORCL:*" or is left empy ("") so the installer discovers these disks.
It doesn't show how to confirm or change the settings.
At this point I'm at a stopping point.
All ASMLib installations require the oracleasmlib and oracleasm-support packages. The oracleasm kernel driver is included in the Oracle UEK kernel. Perhaps you are missing the oracleasmlib package. You can download it from:
Oracle Linux: Oracle ASMLib | Oracle Technology Network
Oracleasmlib is not necessary for ASM to work, but it contains software necessary for Linux oracleasm, including the /usr/sbin/oracleasm-discover utility, which the Oracle installer used in the previous 11g version to detect available ASM volumes.
Similar Messages
-
OS Windows 2008 R2.
I had to uninstall my Oracle grid.
I try to re-install, and when I get to the ASM, it doesn't find any disks.
I re-stamped them using asmtoolg, and still the same.
Thanks in advance!Hi,
Not on Windows.
On OUI click "Change Discovery Path"
if the parameter ASM_DISKTRING is empty try set to "\\.\orcldisk*"
if the parameter ASM_DISKTRING already have some value unconfigure and leave the parameter empty, it will assume the default value.
Regards,
Levi Pereira -
ASM Disk preparation for Datafiles and FRA in Oracle 10g RAC Inst
Dear Friends,
Please clarify wheteher the below method is correct to confiure ASM disks for Datafiles and FRA
Partitions provided by IT team for OCR and Voting Disk
/dev/sda1 - 150 GB (For +DATA)
/dev/sda2 - 100 GB (For +FRA)
OS : RHEL 5.6 (64 Bit)
kernel version = 2.6.18-238.el5
Steps:(Node1)
1) Install the RPM's for ASM
rpm -Uvh oracleasm-support-2.1.7-1.el5.x86_64.rpm
rpm -Uvh oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm
rpm -Uvh oracleasmlib-2.0.4-1.el5.x86_64.rpm
2) Configure ASM
/etc/init.d/oracleasm configure
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
3) Cretae ASM Disk
/etc/init.d/oracleasm createdisk DISK1 /dev/sda1
/etc/init.d/oracleasm createdisk DISK2 /dev/sda2
4)/etc/init.d/oracleasm status
5)/etc/init.d/oracleasm scandisks
6)/etc/init.d/oracleasm listdisks
7) Nothing to perform on Node2
8) In dbca choose ASM and map the DISK1 for datafiles and DISK2 for FRA
Please confirm the above steps are right?if not please clarify
If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?
Please refer any document / Metalink ID for the above complete process
Can i have ASM and oracle DB binary in the same home
Regards,
DBuser564706 wrote:
If DBCA ->ASM doesn't discover my disk then what should be the Discovery path i have to give?for asm disk created with oracleasm discovery path variable is ORCL:*
Please refer any document / Metalink ID for the above complete processhttp://docs.oracle.com/cd/B19306_01/install.102/b14203/storage.htm#BABIFHAB
Can i have ASM and oracle DB binary in the same homeyes. unless you want job role seperation or plan to run multiple versions of oracle homes
>
Regards,
DB -
Backup and Restore OCR,Voting Disk and ASM Disks in new SAN-10g RAC
Dear Friends,
I am using 10g R2 RAC serup on Linux
My OCR,Voting Disk and ASM Disk for DBF Files are on a SAN box
Now i am reorganising SAN by scrapping the entire SAN and cretaing new LUN's (It's a must)
so pleae let me know
1) how do i take backup of OCR and Voting Disk from existing SAN and how do i restore it in new LUN's after SAN reorganisation
2) how do i take backup of existing Database's from existing SAN and how do i restore it in new LUN's after SAN reorganisation.
I will be doing it in Planned downtime only
Regards,
DBFor step 1 you should following metalink doc.
For step 2 here is simple backup command script.
I have done this in windows for you.
D:\app\ranjit\product\11.2.0\dbhome_1\BIN>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 8 21:48:47 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID=1299593730)
RMAN> run
+{+
allocate channel c1 device type disk format 'D:\app\ranjit\rman\%U';
allocate channel c2 device type disk format 'D:\app\ranjit\rman\%U';
backup database;
backup current controlfile format 'D:\app\ranjit\rman\%U';
+}+
Regards -
OUI will not detect ASM disks on EqualLogic PS6100
RHEL 5.5 w/ ASMLIB
Oracle 11g w/ Dell EqualLogic PS6100 iSCSI SAN
We've created the ASM disks and can see them before starting the OUI...
[root@dr-dbnode2 logs]# kpartx -l /dev/mapper/eql-8-cb2b76-0fde2e258-3ac70a955884f0dd-oracleasmdisk3
eql-8-cb2b76-0fde2e258-3ac70a955884f0dd-oracleasmdisk3p1 : 0 585954747 /dev/mapper/eql-8-cb2b76-0fde2e258-3ac70a955884f0dd-oracleasmdisk3 63
[root@dr-dbnode2 logs]# kpartx -l /dev/mapper/eql-8-cb2b76-0d8e2e258-55270a955854f0dd-oralceasmdisk2
eql-8-cb2b76-0d8e2e258-55270a955854f0dd-oralceasmdisk2p1 : 0 585954747 /dev/mapper/eql-8-cb2b76-0d8e2e258-55270a955854f0dd-oralceasmdisk2 63
[root@dr-dbnode2 logs]# kpartx -l /dev/mapper/eql-8-cb2b76-074e2e258-08670a9557f4f0dd-oracleasmdisk1
eql-8-cb2b76-074e2e258-08670a9557f4f0dd-oracleasmdisk1p1 : 0 585954747 /dev/mapper/eql-8-cb2b76-074e2e258-08670a9557f4f0dd-oracleasmdisk1 63
[root@dr-dbnode2 etc]# oracleasm listdisks
ASMDATA1
ASMDATA2
ASMDATA3
[root@dr-dbnode2 etc]# oracleasm querydisk -v -d -p ASMDATA1
Disk "ASMDATA1" is a valid ASM disk on device /dev/dm-2[253,2]
/dev/mapper/eql-8-cb2b76-074e2e258-08670a9557f4f0dd-oracleasmdisk1p1: LABEL="ASMDATA1" TYPE="oracleasm"
/dev/sdj1: LABEL="ASMDATA1" TYPE="oracleasm"
[root@dr-dbnode2 etc]# oracleasm querydisk -v -d -p ASMDATA2
Disk "ASMDATA2" is a valid ASM disk on device /dev/dm-8[253,8]
/dev/mapper/eql-8-cb2b76-0d8e2e258-55270a955854f0dd-oralceasmdisk2p1: LABEL="ASMDATA2" TYPE="oracleasm"
/dev/sdf1: LABEL="ASMDATA2" TYPE="oracleasm"
[root@dr-dbnode2 etc]# oracleasm querydisk -v -d -p ASMDATA3
Disk "ASMDATA3" is a valid ASM disk on device /dev/dm-4[253,4]
/dev/mapper/eql-8-cb2b76-0fde2e258-3ac70a955884f0dd-oracleasmdisk3p1: LABEL="ASMDATA3" TYPE="oracleasm"
/dev/sdg1: LABEL="ASMDATA3" TYPE="oracleasm"
[grid@dr-dbnode2 ext]$ kfod asm_diskstring='/dev/oracleasm/disks/*' nohdr=true verbose=true disks=all status=true op=disks
286110 CANDIDATE /dev/oracleasm/disks/ASMDATA1 grid asmadmin
286110 CANDIDATE /dev/oracleasm/disks/ASMDATA2 grid asmadmin
286110 CANDIDATE /dev/oracleasm/disks/ASMDATA3 grid asmadmin
When we run the OUI we get to the 'Add Disks' screen and there are no disks listed at all...
So we tried to run with a -silent install and -force with the disks in our rsp file and the action log shows the following...
[root@dr-dbnode2 logs]# cat installActions2012-01-12_05-06-51PM.log
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Executing action at state CreateASMDiskGroup
INFO: Completed executing action at state <CreateASMDiskGroup>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Moved to state <CreateASMDiskGroup>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating state <CreateASMDiskGroup>
INFO: inventory location is/opt/oracle/app/oraInventory
INFO: inventory location is/opt/oracle/app/oraInventory
INFO: inventory location is/opt/oracle/app/oraInventory
INFO: Is CRS Installed false
INFO: while getting CSS versionjava.lang.Exception: Unable to find the specified Oracle Home.
WARNING: KFOD not found at
INFO: inventory location is/opt/oracle/app/oraInventory
WARNING: KFOD not found at
FINE: oracle.install.commons.util.Resource:Can't find resource for bundle oracle.install.asm.resource.ASMErrorResID, key oracle.install.asm.bean.ASMInputValidationErrorCode.hint
SEVERE: [FATAL] [INS-30508] Invalid ASM disks.
CAUSE: The disks [dev/oracleasm/disks/ASMDATA1, /dev/oracleasm/disks/ASMDATA2, /dev/oracleasm/disks/ASMDATA3] 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
FINE: oracle.install.commons.util.Resource:Can't find resource for bundle oracle.install.commons.util.resource.ErrorCodeResourceBundle, key oracle.install.commons.util.exception.CommonErrorCode.hint
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -2
INFO: Shutdown Oracle Grid Infrastructure
INFO: Unloading Setup Driver
Been stuck here for a couple days...
My current direction is looking at the "WARNING: KFOD not found at" message...
kfod does exist in the /tmp/OraInstall2012-01-12_04-40-31PM/ext/bin/kfod folder while the installation is running...so I'm not sure what to make of it.
Let me know if anyone can shed some light here...
Thanks in advance,
ColbyWe managed to figure it out...
It turns out that a previously failed -silent run of the OUI had left some Oracle files hanging about. The OUI not showing the ASM disks because they were associated to the failed installation. After removing 'ALL' the files from the failed installation and a reboot we were able to get through the full install successfully.
Make sure you fully clean up after a failed install...
cs -
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
JimThanks 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 -
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 -
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,
TDWhat 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 -
RE: Creation of two oracle database in Single ASM Disk group
IS it possible to create two oracle database in Single ASM Disk group. if it is possible how?.
GiriAll you have to do is to create a tablespace at the most minimumlevel and your db would become a client of the disk group. Other than that, you can migrate your db tothe disk group and it would be then start using the same disk group shared by another database for its use also.
HTH
Aman.... -
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DB
Dear All,
we are moved our storage from hitachi to EMC . after come to emc no issue.
But few day before we are try to use old hitachi storage for our T&D,the same storage mounted in new server.
After that we are try to start the asm but it disk group not mounted .
It show following error....
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DB01"
1) we are checked the 52 raw devices have oracle:dba permission we are verified.
2) all raw device can be viewed in v$asm_disk and state is normal.
3) we are tried asm_diskstring=* also
4) even it show same error.
1) My doubt is the asm meta data may be not correct how can i verifiy the the asm metadata and how can i resolve this asm error.
2) If i drop this asm diskgroup and recreate in same name and add all 52 disk to the group the data will be loss or not?
Thanks®ards
SS.vijaibabu1) My doubt is the asm meta data may be not correct how can i verifiy the the asm metadata and how can i resolve this asm error.Asm metadata will get stored in asm_disks it's self. we cannot retrieve metadata unless you mount the diskgroup.Most probably these would be permission related of disks.
any pointings to alert log Errors of this operation.
>2) If i drop this asm diskgroup and recreate in same name and add all 52 disk to the group the data will be loss or not?
The header status of disks changes to FORMER ,once we fire drop on it.we cannot get back the data becase asm will format the disk after dropping. -
ASM discovered an insufficient number of disks for diskgroup
Running RH4U3 and Oracle 10gr2
Every time I reboot my system, the minor number changed and i can't startup the ASM instance. Does any one know why this is happening? Any advise would be appreciated.
the minor number was 4 and 5, now after reboot i got::
# ls -l /dev/oracleasm/disks
total 0
brw-rw---- 1 ora dba 253, 4 Feb 21 10:10 VOL1
brw-rw---- 1 ora dba 8, 65 Feb 21 10:10 VOL2
I can't startup my ASM instance:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 21 10:13:03 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ASM instance started
Total System Global Area 83886080 bytes
Fixed Size 1217836 bytes
Variable Size 57502420 bytes
ASM Cache 25165824 bytes
ORA-15032: not all alterations performed
ORA-15063: ASM discovered an insufficient number of disks for diskgroup "OARCH"
y ASM instance:I have no problem reading the disks.
$ dd if=/dev/oracleasm/disks/VOL1 of=/dev/null
485336+0 records in
485336+0 records out
$ dd if=/dev/oracleasm/disks/VOL2 of=/dev/null
741760+0 records in
741760+0 records out -
Dear Team,
I am using OEL 6.0 32 bit in Virtual Machine.I have installed all ASMlib rpm whatever required & SELINUX also DISABLE.But when I am trying to create ASM disk its giving below error.Please help me How can overcome this issue.
[root@rac1 ~]# oracleasm createdisk ASM01 /dev/sdb1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
[root@rac1 ~]#
Regards,
PraveenDid you configure the ASM lib ?
/etc/init.d/oracleasm configure
[root@node2 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@node2 ~]# /usr/sbin/oracleasm createdisk DISK101 /dev/sdc1
Writing disk header: done
Instantiating disk: done -
What is ORCL prefix for in ASM Disks?
version: 11.2 / RHEL 5.8
Once the ASM Disk is created using oracleasm, you can add the ASM Disk to the disk group like
SQL> alter diskgroup DATA1 add disk 'ORCL:DISK2';
Diskgroup altered.Is the prefix "ORCL:" mandatory ? What is it for, anyway ?Oh ok. This means ASM Disks discovery path is hard coded to ORCL.
This is why ASM_DISKSTRING is not set for ASM instances using ASMlib (as shown below). Right ?
SQL> show parameter asm_diskstring
NAME TYPE VALUE
asm_diskstring string -
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!
wandHi 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 -
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
JimQ1 - 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
Maybe you are looking for
-
How to get work JavaFX WebViewBrowser sample in debian linux wheezy?
How to get work JavaFX WebViewBrowser sample in debian linux wheezy You may also check latest version of this problem here... The Starting point I have Debian wheezy java version "1.7.0_40" Java(TM) SE Runtime Environment (build 1.7.0_40-b43) Java H
-
Changing the Length of the Label
Hi friends, How do I change the Length of the Label in Select-options Component, by default it is taking only 20characters i.e, medum from dataelement.say I want display more than characters i.e Long Text of Data element. How can I access the Long T
-
Creating Database Views at Runtime
I want to create database views (on the fly) every time an ODI Package is executed. The views will be used as sources during step 2 of the Package. How can I create interface that will create these views that can be the first step in my Package? Woul
-
Need Suggestions in DB Cloning
Need some guidance. We have two DB. DB_A and DB_B. Once in every 5 months we clone the DB_A to DB_B after taking a cold backup of DB_A. DB_A is our source database and DB_B is out clone or target database. both the DB are in IBM AIX servers. The prob
-
Error in Survey in Assessments from Portal
Hi, I am getting a strange error. In Opportunity if we go to assessemnt we have 3 surveys. When I am tring to open one particular survey we are getting the below BSP message. Pleae help me in this. This is Not coming all the systems only in Pro