Error in Creating ASM Diskgroups
Hi,
I am trying to create ASM instance and diskgroups on windows XP.
but when i execute "Create diskgroup" command it gives me following error.
SQL> create diskgroup test_asm normal redundancy
2 failgroup controller1 disk 'F:\asmdisks\disk1','F:\asmdisks\disk2'
3 failgroup controlled2 disk 'F:\asmdisks\disk3','F:\asmdisks\disk4';
create diskgroup test_asm normal redundancy
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'F:\asmdisks\disk4' matches no disks
ORA-15025: could not open disk 'F:\ASMDISKS\DISK4'
ORA-15059: invalid device type for ASM disk
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 1200) The specified device name is invalid.
ORA-15031: disk specification 'F:\asmdisks\disk3' matches no disks
ORA-15025: could not open disk 'F:\ASMDISKS\DISK3'
ORA-15059: invalid device type for ASM disk
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 1200) The specified device name is invalid.
ORA-15031: disk specification 'F:\asmdisks\disk2' matches no disks
ORA-15025: could not open disk 'F:\ASMDISKS\DISK2'
ORA-15059: invalid device type for ASM disk
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 1200) The specified device name is invalid.
ORA-15031: disk specification 'F:\asmdisks\disk1' matches no disks
ORA-15025: could not open disk 'F:\ASMDISKS\DISK1'
ORA-15059: inv
The Create command and the init.ora parameter is as follows :
SQL> create diskgroup test_asm normal redundancy
2 failgroup controller1 disk 'F:\asmdisks\disk1','F:\asmdisks\disk2'
3 failgroup controlled2 disk 'F:\asmdisks\disk3','F:\asmdisks\disk4';
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Diagnostics and Statistics
background_dump_dest=E:\oracle\product\10.2.0\db_1\admin\+ASM\bdump
core_dump_dest=E:\oracle\product\10.2.0\db_1\admin\+ASM\cdump
user_dump_dest=E:\oracle\product\10.2.0\db_1\admin\+ASM\udump
# Miscellaneous
instance_type=asm
# Pools
large_pool_size=12M
# Security and Auditing
remote_login_passwordfile=SHARED
asm_diskstring = 'F:\asmdisks\'
SQL> show parameter asm
NAME TYPE VALUE
----------- asm_diskgroups string
asm_diskstring string F:\asmdisks\
asm_power_limit integer 1
SQL> select * from v$asm_disk;
no rows selected
Hi,
is that specified disks (disk 1 to 4) are available in the path 'F:\asmdisks\ ' ???
If ' yes' then what kind of DISK is that ?
And add space between DISK1 F:\asmdisks\ (F:\asmdisks\ DISK) and try.
Thanks,
Ranjith
Edited by: Ranjith on Mar 8, 2012 11:16 PM
Similar Messages
-
Unable to Create ASM Diskgroup ORA-15020 and ORA-15018
Hello Team,
Unable to create ASM diskgroup with following error:
SQL> create diskgroup data_asm1 external redundancy disk '/dev/sdf*';
create diskgroup data_asm1 external redundancy disk '/dev/sdf*'
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15020: discovered duplicate ASM disk "DATA_ASM1_0000"
ASM Diskstring
SQL> show parameter asm_diskstring
NAME TYPE VALUE
asm_diskstring string /dev/oracleasm/disks/DISK*, /dev/sd*
Please let me know how to i solve this issue
Regards,Hi Tobi,
I checked the status of the res GRID.dg ... it was offline on second node. Logged on second node and checked the status of it viz:v$asm_diskgroup, it was dismount. I mounted it and then try to add the newly added diskgroup(+GRID) with OCR and viola it worked....
========================================================
ora.GRID.dg
ONLINE ONLINE rac3
OFFLINE OFFLINE rac4
SQL> select group_number,name,state,type from v$asm_diskgroup;
GROUP_NUMBER NAME STATE TYPE
1 DATA MOUNTED EXTERN
0 GRID DISMOUNTED
SQL> alter diskgroup grid mount;
Diskgroup altered.
SQL> select group_number,name,state,type from v$asm_diskgroup;
GROUP_NUMBER NAME STATE TYPE
1 DATA MOUNTED EXTERN
2 GRID MOUNTED EXTERN
==============================================
ora.GRID.dg
ONLINE ONLINE rac3
ONLINE ONLINE rac4
===============================================
[root@rac3 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2804
Available space (kbytes) : 259316
ID : 48011651
Device/File Name : +DATA
Device/File integrity check succeeded
Device/File Name : +grid
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
==========================================================================================
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 20472 16263 0 16263 0 N DATA/
MOUNTED EXTERN N 512 4096 1048576 5114 4751 0 4751 0 N GRID/
======================================================================================================
Thank you very much, appreciated..
Thank you Aritra .
Guys you rock.
Regards, -
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 DalavaiLooks 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 -
hi,
i am running oracle 10.2.0.1.0 on win 2003 and i configured ASM. (Testing ENV).
i have four drive without any file system i.e D,E,F,G each having 10gb.
i created one diskgroup i.e grp1 with normal redundancy, that use D,E drive through DBCA.
now i want to create another diskgroup i.e grp2 through COMMAND line.
I am running this
create diskgroup grp2 normal redundancy
failgroup fail1 disk '\devices\harddisk0\partition5' ----- (F)
failgroup fail2 disk '\devices\harddisk0\partition6' ----- (G)
but i am getting error
create diskgroup mydrp2 normal redundancy
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '\devices\harddisk0\partition6' matches no disks
ORA-15056: additional error message
OSD-04659: Message 4659 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 3) The system cannot find the path specified.
ORA-15031: disk specification '\devices\harddisk0\partition5' matches no disks
ORA-15056: additional error message
OSD-04659: Message 4659 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 3) The system cannot find the path specified.
please help
Edited by: Hare krishna on Mar 3, 2011 5:06 AMHi,
Does the disk appear under v$asm_disk?
You can check it as:
select group_number, name, path from v$asm_disk;
Check the path is currect and try with the command it should work.
I also suggest you to read the below link for useful info:
http://www.oracle-base.com/articles/10g/AutomaticStorageManagement10g.php
Best regards,
Rafi.
http://rafioracledba.blogspot.com/
Edited by: Rafi (Oracle DBA) on Mar 3, 2011 5:27 AM -
ORA-01034: ORACLE not available error while creating ASM or database
Hi all,
I am using oracle database 10gR2 on windows 2000 pro system.
I have Installed oracle software and there was no issue with that but now I am facing ORA-01034: ORACLE not available error while trying to create asm instance or even while creating database through dbca.
I have tried creating the asm instance manually and it was succeeded. Also database creation was successful through manual steps.
Any idea guys?? How to resolve this issue??Hi FK,
On Windows, it can sometimes mean that the services are not running. I have a check here:
http://www.dba-oracle.com/t_check_verify_windows_services.htm
Have you tried using oradim?
http://www.dba-oracle.com/tips_oradim_utility.htm
The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.
The oradim utility is used on the Windows platform to perform these tasks.
C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
-starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
• startup – Indicates that the specified instance should be started.
• sid – The SID of the database to start.
• usrpwd – The password for the database user.
• starttype – Specifies whether to start the instance, the service, or both
Hope this helps. . .
Don Burleson
Oracle Press author -
Getting errors while creating asm disk groups
while creating disk groups on 10gR2 database on linux redhat 5.3
im getting following errors :
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/raw/raw4' matches no disks
ORA-15025: could not open disk '/dev/raw/raw4'
ORA-27041: unable to open file
Linux Error: 19: No such device
Additional information: 42
Additional information: 213402552
Additional information: -1079643768
ORA-15031: disk specification '/dev/raw/raw3' matches no disks
ORA-15025: could not open disk '/dev/raw/raw3'
ORA-27041: unable to open file
Linux Error: 19: No such device
Additional information: 42
Additional information: 213402552
Additional information: -1079643768
ORA-15031: disk specification '/dev/raw/raw2' matches no disks
ORA-15025: could not open disk '/dev/raw/raw2'
ORA-27041: unable to open file
Linux Error: 19: No such device
Additional information: 42
Additional information: 213402552
Additional information: -1079643768
ORA-15031: disk specification '/dev/raw/raw1' matches no disks
ORA-15025: could not open disk '/dev/raw/raw1'
ORA-27041: unable to open file
Linux Error: 19: No such devicethese are contents of my initORCL.ora :
ORCL.__db_cache_size=251658240
ORCL.__java_pool_size=4194304
ORCL.__large_pool_size=4194304
ORCL.__shared_pool_size=104857600
ORCL.__streams_pool_size=0
*.audit_file_dest='/opt/oracle/product/10.2.0/db_1/admin/ORCL/adump'
*.background_dump_dest='/opt/oracle/product/10.2.0/db_1/admin/ORCL/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/opt/oracle/product/10.2.0/oradata/ORCL/control01.ctl','/opt/oracle/product/10.2.0/oradata/ORCL/control02.ctl','/opt/oracle/product/10.2.0/oradata/ORCL/control03.ctl'
*.core_dump_dest='/opt/oracle/product/10.2.0/db_1/admin/ORCL/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='ORCL'
*.db_recovery_file_dest='/opt/oracle/product/10.2.0/db_1/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'
*.job_queue_processes=10
*.local_listener='LISTENER_ORCL'
*.log_archive_dest='/opt/oracle/product/10.2.0/db_1/flash_recovery_area/ORCL/archives'
*.log_archive_format='PROD_%t_%s_%r.ARC'
*.log_archive_start=TRUE
*.open_cursors=300
*.pga_aggregate_target=121634816
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=365953024
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/opt/oracle/product/10.2.0/db_1/admin/ORCL/udump'
these are contents of init+ASM.ora
# Automatic Storage Management
# asmallow_only_raw_disks=false
# asm_diskgroups='TESTDB_DATA1'
# Default asm_diskstring values for supported platforms:
# Solaris (32/64 bit) /dev/rdsk/*
# Windows NT/XP \\.\orcldisk*
# Linux (32/64 bit) /dev/raw/*
# HPUX /dev/rdsk/*
# HPUX(Tru 64) /dev/rdisk/*
# AIX /dev/rhdisk/*
# asm_diskstring=''
# Diagnostics and Statistics
background_dump_dest=/opt/oracle/product/10.2.0/db_1/admin/+ASM/bdump
core_dump_dest=/opt/oracle/product/10.2.0/db_1/admin/+ASM/cdump
user_dump_dest=/opt/oracle/product/10.2.0/db_1/admin/+ASM/udump
# Miscellaneous
instance_type=asm
##compatible=10.1.0.4.0
compatible=10.2.0.1.0
DB_UNIQUE_NAME=+ASM
# Pools
large_pool_size=12M
# Security and Auditing
remote_login_passwordfile=exclusive
disk groups are succcesfully configured but my database is still showing old file system.
please guide
Edited by: user13376823 on Oct 22, 2012 10:35 AM -
Error while creating asm disk group:::urgent
i am getting this error though i have given total path in DISK parameter.
SQL> CREATE DISKGROUP dgroup1
2 NORMAL REDUNDANCY
3 FAILGROUP ctlr1
4 DISK 'disk1'
5 FAILGROUP ctlr2
6 DISK 'disk2';
CREATE DISKGROUP dgroup1
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'disk2' matches no disks
ORA-15031: disk specification 'disk1' matches no diskshi all,
thnx for ur attention i am able to solve the issue by doing the following steps...
[oracle@sierra200 product]$ su - root
Password:
[root@sierra200 root]# losetup /dev/loop1 /u04/app/oracle/product/asmdisks/disk1
[root@sierra200 root]# losetup /dev/loop1 /u04/app/oracle/product/asmdisks/disk2
ioctl: LOOP_SET_FD: Device or resource busy
[root@sierra200 root]# losetup /dev/loop1 /u04/app/oracle/product/asmdisks/disk1
ioctl: LOOP_SET_FD: Device or resource busy
[root@sierra200 root]# losetup /dev/loop2 /u04/app/oracle/product/asmdisks/disk2
[root@sierra200 root]# vi /etc/sysconfig/rawdevices
# raw device bindings
# format: <rawdev> <major> <minor>
# <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/loop1
/dev/raw/raw2 /dev/loop2
[root@sierra200 root]# /etc/init.d/rawdevices start
Assigning devices:
/dev/raw/raw1 --> /dev/loop1
/dev/raw/raw1: bound to major 7, minor 1
/dev/raw/raw2 --> /dev/loop2
/dev/raw/raw2: bound to major 7, minor 2
done
[root@sierra200 root]# chown oracle:dba /dev/raw/raw1
[root@sierra200 root]# chown oracle:dba /dev/raw/raw2
[root@sierra200 root]# chmod 660 /dev/raw/raw1
[root@sierra200 root]# chmod 660 /dev/raw/raw2
[root@sierra200 root]# exit
logout
shut the instance and make the disk string as '/dev/raw/raw*'
and then create spfile from pfile. and then nomount the instance.
SQL> CREATE DISKGROUP dgroup1
2 NORMAL REDUNDANCY
3 FAILGROUP ctlr1
4 DISK '/dev/raw/raw1'
5 FAILGROUP ctlr2
6 DISK '/dev/raw/raw2';
Diskgroup created.
SQL> select name, state,total_mb,free_mb,path from v$ASM_DISK;
NAME STATE TOTAL_MB FREE_MB
PATH
DGROUP1_0001 NORMAL 100 50
/dev/raw/raw2
DGROUP1_0000 NORMAL 100 50
/dev/raw/raw1
Regards,
Sravan -
Trying to create ASM instance, thinks one already exists?
I've got a problem with creating the ASM instance. Basically, I've reinstalled (v11.1.0.6) clusterware, and two database software installs (one for asm, one for db) due to a san swap. Now, I believe that there is still a hangover to the original installation. When creating the ASM instance through DBCA on Windows, I get the following:
DBCA could not startup the ASM instance configured on this node. To proceed with ASM diskgroup management you need the ASM instance to be up and running. Do you want to recreate the ASM instance on this node?
Yes
Enter password
DBCA will now create and start the ASM instance. After the ASM instance is started, you can create disk groups to be used as storage for your database.
OK
ASM Instance Creation...
Encountered file error when copying listeners from home=D:\oracle\product\11.1.0\asm_2
OK
The operation will be stopped. Re-run DBCA after successfully running NetCA.
I have a listener running (listener_rac), I have a similar problem with netca as it says I already have a listener called listener, which I do not, however, I have created listener_rac instead.
I feel trhat the problem is that ASM1 (for node 1) or ASM2 (for node 2) already exists. However, I can not find either of these. I can create an ASM instance in single node mode, however, this creates an instance +ASM, which does not conflict.
How do I find the non-existent instance, and remove it? (not in registry or services)
Alternatively, any other ideas as to what is happening?
Thank you for your time.I have a listener running (listener_rac), I have a similar problem with netca as it says I already have a listener called listener, which I do not, however, I have created listener_rac insteadDBCA created your listener... you can check on listener status
srvctl status nodeapps -n node01
Listener is running on node: node01
srvctl status nodeapps -n node02
Listener is running on node: node02
if not start, start it by
Usage: srvctl start listener -n <node_name> [-l <lsnr_name_list>]
srvctl start listener -n node01
by the way, you cam use "netca" delete/recreate (listener_rac)
After that, point to ASM:
I feel trhat the problem is that ASM1 (for node 1) or ASM2 (for node 2) already exists. However, I can not find either of these. What did you see?
crs_stat
srvctl status asm -n node01
srvctl status asm -n node02
if you see asm on node01/node2... you can start them if thet offline
srvctl start asm -n node01
srvctl start asm -n node02
and then.. use "DBCA" to help create ASM diskgroups.
I can create an ASM instance in single node mode, however, this creates an instance +ASM, which does not conflict.that can conflict.. don't start it (+ASM)
How do I find the non-existent instance, and remove it? (not in registry or services)
Alternatively, any other ideas as to what is happening?use "crs_stat" command
http://download.oracle.com/docs/cd/B28359_01/rac.111/b28255/crsref.htm#CWADD6025
and use "srvctl"
http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/srvctladmin.htm#RACAD028 -
Linux RedHat 4 update 4: how to unbind raw devices used by ASM diskgroups?
How to unbind raw devices used by ASM diskgroup?
I created ASM diskgroup using /dev/raw/rawn, after done my testing, I need to toss the raw devices to start a new testing. Here is the procedure:
1. shutdown MYTEST database
2. in ASM instance, remove disks from diskgroup 'rawtest'
3. in ASM instance, "drop diskgroup rawtest including contents"
4. in OS, issue: "raw /dev/raw/raw1 0 0"
I got the following error:
# raw /dev/raw/raw1 0 0
Error setting raw device (Device or resource busy)
But if I shutdown ASM instance, the above commmand will be successful.
My question, how can I unbind raw devices without shutting down ASM instance(could be used by other databases at the same time)?
Thanks,
JennyThe installation guild will probably be were you will want to start.
2.11 Preparing Disk Groups for an Automatic Storage Management Installation
http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref457
Specifically
2.12 Configuring Raw Partitions or Raw Logical Volumes
http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref591 -
How to create a new ASM Diskgroup in Oracle 10g RAC?
Hi,
Our env is Oracle 10g R2 RAC on HP-UX. I want to create a new ASM Diskgroup. Please let me know if the following steps are ok to create a new ASM Diskgroup.
1. Ensure the new Disk is visible in both ASM instances in RAC (v$asm_disk) and the header_status is 'CANDIDATE'
2. From Node 1 ASM Instance issue the create diskgroup command.
SQL> create diskgroup DATA2 external redundancy disk '/dev/rdsk/c4t0d5';
3. Query v$asm_diskgroup and make sure the Diskgroup is created.
4. Mount the DATA2 Diskgroup from Node 2 ASM Instance.
5. Query v$asm_diskgroup and make sure the Diskgroup is visible from Node2 ASM instance.
6. Ensure the header_status is 'MEMBER'.
Rgds,correct.
instead of using device file '/dev/rdsk/c4t0d5' you can create an alternate device file using mknod, which is called "asm_disk_xg" for example.
check here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14202/storage.htm#CDEECIHI
hth -
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
Hi there,
env:
uname -rm
2.6.18-92.1.22.el5xen x86_64
Single server(non-RAC)
note: we don't want to upgrade 10gr2 database into 11gR2 yet. But we created the 11gR2 ASM, then a 11gr2 database on ASM, and plan to migrate datafile in 10gR2 database to 11gR2 ASM
1. oracle 10gR2 installed first version: 10.2.0.3.0
2. then install 11gR2 Grid Infrastructure, and created ASM (version 11gr2)
$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 19 10:30:56 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> col name form a15
SQL> col COMPATIBILITY form a15
SQL> col DATABASE_COMPATIBILITY form a15
SQL> l
1* select name , STATE, COMPATIBILITY, DATABASE_COMPATIBILITY from v$asm_diskgroup
SQL> /
NAME STATE COMPATIBILITY DATABASE_COMPAT
ORCL_DATA1 MOUNTED 11.2.0.0.0 10.1.0.0.0
ORA_DATA MOUNTED 10.1.0.0.0 10.1.0.0.0
3. in 10gR2 database
sqlplus /
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 19 12:12:31 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> select * from v$asm_diskgroup;
no rows selected
4. pin the node into css
# /u01/app/product/11.2.0/grid/bin/crsctl pin css -n mynodename
CRS-4000: Command Pin failed, or completed with errors.
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
please help
Thanks
ScottWhat is the output of
olsnodes -t -n
Also, see unix error log and ohasd error log if you find anything in that -
Unable to create ASM instance in Sol 10 with oracle 10g
Hi
I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
"bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
Failure at scls_scr_create with code 1
Internal Error Information:
Category: 1234
Operation: scls_scr_create
Location: mkdir
Other: Unable to make user dir
Dep: 2
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
/etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
initcssd has been installed and unable to start also getting an error
# svcs -x svc:/system/initcssd:default
svc:/system/initcssd:default (system activity reporting package)
State: maintenance since Wed Nov 16 10:39:29 2011
Reason: Start method failed repeatedly, last exited with status 2.
See: http://sun.com/msg/SMF-8000-KS
See: sar(1M)
See: /var/svc/log/system-initcssd:default.log
Impact: This service is not running.
Can some please help me to create this instance, alos need a initcssd.zip file for 10gHi thanks,
I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
when I try to create a ASM disk its failing with following error and idea
SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c1d1s0'
ORA-15056: additional error message
Intel SVR4 UNIX Error: 13: Permission denied
Additional information: 42
Additional information: 134497888
Additional information: -809278080
ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c0d1s0'
ORA-27037: unable to obtain file status
Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
Additional information: 16
Additional information: 134497888
Additional information: -809278080 -
Disaster Recovery with different ASM diskgroups
Hi@all,
actually I'm trying to test a Disaster Recovery Scenario. At a Oracle Linux 6 server with installed Grid Infra 12c and Ora Database 11.2.0.4 (there is also a 12.1.0.2 database instance) I'm trying to do a disaster recovery. But I'm getting wild by restoring and recovering the database. The problem here is, that the ASM diskgroup name has changed. As you read out I also switched the physical server, but I think that shouldn't be any problem.
At the old server I've two ASM diskgroups "+DATA" and "+FRA_1", at the new they're called "+DATA_SRVNAME" and "+FRA_SRVNAME". I've already changed the startup parameter in spfile, but now after restoring the controlfile RMAN has the directions to the old diksgroup:
RMAN> report schema;
using target database control file instead of recovery catalog
RMAN-06139: WARNING: control file is not current for REPORT SCHEMA
Report of database schema for database with db_unique_name SID
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
1 0 SYSTEM *** +DATA/SID/datafile/system.438.816606399
So I've tried three ways. First was to rename the datafile name:
ALTER DATABASE RENAME FILE '+DATA/SID/datafile/system.438.816606399' TO '+DATA_SRVNAME/SID/datafile/system.438.816606399';
Second was to set the newname in RMAN:
set newname for datafile 16 to '+DATA_SRVNAME/SID/datafile/mms_basic_tab.455.816617697/';
And second was to recreate the controlfile with
CREATE CONTROLFILE REUSE DATABASE "SID" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 1
MAXLOGHISTORY 1815
LOGFILE
GROUP 1 ('+DATA__SRVNAME', '+FRA_SRVNAME') SIZE 1024M,
DATAFILE
'+DATASRVNAME/SID/datafile/system.438.816606399',
CHARACTER SET AL32UTF8;
But all three methods gave me the error, that the datafile at the new location isn't available (example):
ORA-15012: ASM file '+DATA_QUM169/cogn11/datafile/system.438.816606399' does not exist
So now my question to you: How am I able to tell the controlfile or database to use the other ASM diskgroup?
I know, easiest way would be to create a diskgroup +DATA and do the restore / recover, but at the new server I've no more storage to assign to a new diskgroup and because of there are running other instances I would'nt change the ASM diskgroups.
Did you have anny solution?
Thanks a lot and Regards,
DavePlease try this
RMAN> run
set newname for datafile 1 to '+DATA_SRVNAME';
restore datafile 1;
switch datafile 1;
recover datafile 1;
Did you created +DATA_SRVNAME diskgroup?
and -
Linux RHE 6
Oracle Grid single instance (Oracle Restart) 11.2.0.4 installed
Oracle RDBMS 11.2.0.4 installed
One 11.2.0.4 database single instance running
Our ASM have DATA, REDO, FRA diskgroup mounted
We need to do a storage snapshot for creating on THE SAME server a copy of the current ASM diskgroups DATA, REDO, FRA. Then we would rename the cloned diskgroups using renamedg command.
We have done this operation several times when ASMlib is not used. The command used when ASMlib is not used is for example:
renamedg dgname=FRA newdgname=FRA2 verbose=true phase=both asm_diskstring='/dev/oracle/fra*'
With ASMlib in use I am not sure about the steps to follow
First I am not sure about what to provide to the asm_diskstring parameter of the renamedg command. I need to provide an asm_diskstring which identifies the path pointing to the disks belonging to the cloned diskgroup (I do not want to rename the original diskgroup). Though in an ASM instance using ASMlib the parameter asm_diskstring is is ‘ORCL:*’.
Second, I suppose after the diskgroup rename ASMlib would return an error because it would find duplicated disks.
Could you please advise ?
Thanks in advance
MassiHi,
As you have OS level clone ,you have same ASMlib label.
ASMlib always mount unique ASMLib label only.
+you need to identify those newly cloned device.
+ Then rename those ASMLib label using force-renamedisk after taking 1Mb disk backup using dd read on one node .
+ Then run scandisks on other nodes .
+ Then validate newly labelled device is mounted or not on all nodes .
$ ls -ltr /dev/oracleasm/disks/*
+ Then run renamedg command with asm_diskstring of /dev/oracleasm/disks/*
Regards,
Aritra -
hi all,
I am trying to setup ASM for test purpose on winxp with oracle 10g release 1.
I have created asm instance with
oradim -NEW -ASMSID +ASM -STARTMODE auto
and my pfile located in E:\oracle\product\10.1.0\Db_1\database looks like.
INSTANCE_TYPE=ASM
ASMALLOW_ONLY_RAW_DISKS = FALSE
DB_UNIQUE_NAME = +ASM
ASM_DISKSTRING ='E:\asmdisks\*'
LARGE_POOL_SIZE = 16M
BACKGROUND_DUMP_DEST ='E:\oracle\product\10.1.0\admin\+ASM\bdump'
USER_DUMP_DEST = 'E:\oracle\product\10.1.0\admin\+ASM\udump'
CORE_DUMP_DEST = 'E:\oracle\product\10.1.0\admin\+ASM\cdump'
I have created 3 disks with following commands
asmtool -create e:\asmdisks\disk1 512
asmtool -create e:\asmdisks\disk2 512
asmtool -create e:\asmdisks\disk3 512
now when i do
SET ORACLE_SID=+ASM
and
sqlplus / as sysdba
I get
SQL> select path, mount_status from v$asm_disk;
no row selected.
and for obvious reasons I get following message
SQL> create diskgroup data external redundancy disk
2 'E:\asmdisks\disk1';
create diskgroup data external redundancy disk
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'E:\asmdisks\disk1' matches no disks
ORA-15025: could not open disk 'E:\ASMDISKS\DISK1'
ORA-15059: invalid device type for ASM disk
OSD-04018: Unable to access the specified directory or device.
O/S-Error: (OS 1200) The specified device name is invalid.
Please guide me..I am very new to ASM .Hi all,
my problem got resolved.
I have created same fake disks by asmtool and the created diskgroups by "create diskgroup.. " then I was able to see the diks in v$asm_disk view..
I have successfully migrated my database to ASM if u have any questions do mail me @ [email protected].
Maybe you are looking for
-
Provisioning Sun directory Server to a User in OIM
I am learning a OIM tool since 2 months, I could not able to do provisioning sun directory server to a user in OIM, the error is I am not getting the value for Organization DN. I am using ODSEE 11.1.1.5.0 and OIM 11.1.1.5.0. I have followed below ste
-
Problems with Adobe pdf files as attachments in Mail
I have 4 Adobe pdf files that I can open and view without a problem. The minute I try to attach them to an email to send to someone else, they show in the email as blank pages with the message that in order to be viewed, a more recent version of Adob
-
This question is directed to the technically knowledgeable out there and has to do with in-camera noise reduction settings. Although I'm shooting with a 1D4, I would guess the same would apply to all models. In a nutshell, is in-camera noise reductio
-
Updating an attribute of the table
Hi., I am using jdev11.1.5 My scenario is: =>i had created a adf table [hd:table name => If the user selects the first row and after clicking the post button an attribute in [ln] table should get updated can anyone pls tell me how to acheive this c
-
The search stopped working!!! :(
When I use the search box in the side bar then it works as normal. But when I press enter, and then goes to the search app. Then it searching for 5 minutes then it says: The search got maximum time limit. Try again. And it happens every time when I s