How to create raw datafile.
May Galan
mgalan at dairy-farm.com.ph
Thu May 13 02:09:59 UTC 2004
Hi Michael
Appreciate your prompt advise and the scripts you've send.
This are the steps that was executed::
# lvcreate -n mgzse_log_04a -L 96 /dev/oriole2vg00 /dev/cciss/c0d0p6
LV Name /dev/oriole2vg00/mgzse_log_04a
VG Name oriole2vg00
LV Write Access read/write
LV Status available
LV # 12
# open 0
LV Size 96 MB
Current LE 24
Allocated LE 24
Allocation next free
Read ahead sectors 1024
Block device 58:11
# ll /dev/oriole2vg00/mgzse_log_04a
brw-rw---- 1 root disk 58, 11 May 11 16:13
/dev/oriole2vg00/mgzse_log_04a
Execute mknod command
# mknod /dev/oriole2vg00/mgzse_log_04a c 162 11
crw-r--r-- 1 oracle dba 162, 11 May 11 16:20
/dev/oriole2vg00/rmgzse_log_04a
Execute raw command.
# raw /dev/oriole2vg00/rmgzse_log_04a /dev/oriole2vg00/mgzse_log_04a
/dev/raw/raw11: bound to major 58, minor 11 --> Will this be OK??
Will in Linux be in need to just create a link for the raw device??
Are the steps we execute miss something?? Please help
Thanks
May.
-----Original Message-----
From: Michael Ault [mailto:mikerault at yahoo.com]
Sent: Thursday, May 13, 2004 9:27 AM
To: Getting started with Red Hat Linux
Subject: Re: How to create raw datafile.
--- May Galan <mgalan at dairy-farm.com.ph> wrote:
> Hi
> Can someone send a list on how to create raw
> datafile in Linux?
> We are currently creating a database (oracle 9r2)
> using raw datafile and we
> have done so (last few steps was mknod and
> permission) but still encounter
> this error.
>
> CREATE DATABASE "cmgzse"
> *
> ERROR at line 1:
> ORA-01501: CREATE DATABASE failed
> ORA-00301: error in adding log file '/dev/oriole2vg00/rmgzse_log_01a'
> - file cannot be created
> ORA-27041: unable to open file
> Linux Error: 19: No such device
> Additional information: 1
>
> We can list the files and permission is set already
> to oracle:dba
> > ls -ltra rmgzse_log_01a
> crw-r--r-- 1 oracle dba 162, 14 May 12 11:29
> rmgzse_log_01a
>
> The mknod command we do:
> > mknod /dev/oriole2vg00/rmgzse_log_01a c 162 8
>
> Did we miss something??...Guess with the list we can
> drop and recreate our
> existing one and try to create again
> BTW, we are using Linux X86 RHEL2 32bit
> Thanks a lot in advance...
>
> Cheers
> May.
> > _______________________________________________
> Redhat-install-list mailing list Redhat-install-list at redhat.com
>
https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
=====
Michael R. Ault
Senior Technical Management Consultant
TUSC -- The Oracle Experts WWW.TUSC.COM
More information about the Redhat-install-list
mailing list