RE: Addition of Redo logfile onto RAW Device Failing

  • From: VIVEK_SHARMA <VIVEK_SHARMA@xxxxxxxxxxx>
  • To: ORACLE-L <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 10 Feb 2009 16:37:07 +0530

Folks

Qs Should the "b" (block device) file - /dev/vg02/rawdb1 OR the "c" (character 
device) file - /dev/vg02/rrawdb1 be used?
Have used BOTH names without success.

NOTE - This is a NON-ASM, NON-RAC Oracle Setup with Database on Mounted 
Filesystem.

An Old Oracle ver 8 metalink Doc 1051188.6 indicates that Oracle uses only "c" 
- character device files as raw devices.

Oracle 10.2.0.3.0
HP-UX B.11.23

Cheers

P.S. Errors:-

SQL> alter database add logfile group 3 ('/dev/vg02/rrawdb1') size 500M ;
alter database add logfile group 3 ('/dev/vg02/rrawdb1') size 500M
*
ERROR at line 1:
ORA-00301: error in adding log file '/dev/vg02/rrawdb1' - file cannot be
created
ORA-15059: invalid device type for ASM disk
Additional information: 255

$ ls -al /dev/vg02/*raw*
brw-r-----   1 ora10r2    dba         64 0x020002 Feb  6 11:37 /dev/vg02/rawdb1
brw-r-----   1 ora10r2    dba         64 0x020003 Feb  6 11:37 /dev/vg02/rawdb2
crw-r-----   1 ora10r2    dba         64 0x020002 Feb  6 11:37 /dev/vg02/rrawdb1
crw-r-----   1 ora10r2    dba         64 0x020003 Feb  6 11:37 /dev/vg02/rrawdb2

$ dd if=/dev/zero of=/dev/vg02/rrawdb1 bs=8192 count=40000
40000+0 records in
40000+0 records out
$ dd if=/dev/zero of=/dev/vg02/rrawdb2 bs=8192 count=40000
40000+0 records in
40000+0 records out


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Other related posts: