Extend datafile in raw device
Hi All,
need some help. our database resides in raw device. currently datafiles resides in different logical volume in HP UNIX server version 11.11. our database is Oracle9i.
there is one datafile with size 4G, not auto extensible resides in logical volume with physical size 4G. if i extend the logical volume from 4G to 6G, can i just resize the datafile to 6G?
or do i need to create a new datafile because current file size is big?
With raw devices alternative cost of performance is typical management difficulties like this, but after 10g ASM is a big shift - http://www.dbazine.com/olc/olc-articles/still5
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#i1021337
Best regards.
Similar Messages
-
1) Hi I am configuring rac on raw device 9i on aix5.Whether i can create a datafile morethan 1 gb in raw device.Can anybody give one example with creating a tablespace with a raw device configuration.The steps have to follow
2) why we cannot store archivelogs on rawdevices
with regards
ramya1)Whether we can store RMAN backup on RAW devices .
Answer : Yes, you can, just create the raw partition and point out the destination when you use the rman command. or you can take a backup to the local file system first and then move to raw device.
2)whether we can do the export on RAW devices
Answer : Same as No.1
3) Whether we can create a 2gb datafile on RAW devices
Answer : Yes, you can.
I hope it would be helpful to you. -
Rename dafile while using RAW device.
HI,
How to rename a datafile in raw devices.
ThanksSince 'data file = raw device' when using raw devices, it begs the question ... what are you trying to accomplish?
There may be OS, OS Version and DB Version dependencies to think about. Please provide that info as well. -
How can I copy datafile (from one Raw device) to another Raw device ???
can anybody tell me how do i copy/move one datafile from one raw device to another raw device.... ?
I am having AIX 5.3 with SAN.
Pls. help me...
regards,
Star NiravHello Hans,
Currently I am using via RMAN... Want to know which one help me....? Is there any size limitation via dd command ? Can I use iocopy instead of dd in AIX ?
man dd -
Convert Raw Device to file system based file systems for datafiles [HP-UX]
Hello experts,
Once again in seek of guidance..
I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
Is this something possible?
Can i just do the following:
a. Shutdown database (normal)
b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
d. svrmgrl> startup mount
e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
f. alter database open.
Thanks very much for your replies.
Please tell me about possible problems that i can anticipate.
Best Regards
YogeerajHello experts,
Once again in seek of guidance..
I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11).
Amongst one of our steps is to convert our RAW Device datafiles to File System based files within the same server and version - Oracle 7.2.3 on HP-UX 10.20.
E.g. /dev/vg00/rlvol1 to become /d01/oradata/cmtdb/tbs1.dbf
Is this something possible?
Can i just do the following:
a. Shutdown database (normal)
b. dd if=/dev/vg00/rlvol1 of=/d01/oradata/cmtdb/tbs1.dbf bs=20k
c. chown oracle7:dba /d01/oradata/cmtdb/tbs1.dbf
d. svrmgrl> startup mount
e. alter database rename file '/dev/vg00/rlvol1' to '/d01/oradata/cmtdb/tbs1.dbf'
f. alter database open.
Thanks very much for your replies.
Please tell me about possible problems that i can anticipate.
Best Regards
Yogeeraj -
Corrupt datablock of datafile reside on RAW devices
Hi,
I want to check BOLCKRECOVER for corrupt blocks on datafiles reside on RAW devices.
Is there any tool/command tp corrupt datablock of datafile reside on RAW devices?
Thanks,Please check following forums discussions, hope it will help .
Re: command to list corrupted files before taking backup in rman
http://sysdba.wordpress.com/2006/04/05/how-to-check-for-and-repair-block-corruption-with-rman-in-oracle-9i-and-oracle-10g/
Re: Data block corrupted -
DB Copy: raw devices - datafiles
Hello,
I searched the MaxDB documentation etc but I didn't find any answer yet.
Is it possible to perform a system copy of a MaxDB instance on raw devices
and recover it on the same HW architecture but with data files?
And is it also possible to restore log backups from the raw-device instance
on the datafile instance during this system copy?
Regards,
MarkMark,
the MaxDB data format of pages on raw devices and in files is identical, so it's no problem to restore a backup on the same machine with a different volume configuration. You can restore data and log backups independent of the physical format of the original volumes.
regards,
Henrik -
Mount raw devices from one plarform to another?
Hi,
I would like to know if it is possible to mount raw devices from one platform on Tru Filesystem to another platform on HP-UX running ASM? I am asking that to know if we can save precious time avoiding copying the datafiles from our Tru64 server to our HP-UX server. If this can be made, the "only" work we would have to do is transporting tablespaces via Transportable Tablespace.
Thanks for your attention.When I do File>Import the only two options I've are "Files" and "Show iPhoto Browser".
Hello Pedro,
what is your Aperture version on the iMac? The File menu should look like this in the current version 3.2.2. Do you only see two items, or are some options greyed out?
unfortunately I had erased all the files from the pendrive
Why? Not much space on the pendrive? erasing images is no good idea, if you are searching for missing master image files - next time you have any kind of trouble with unconnected masters, keep all existing copies of your images, until you have reconnected the versions safely and are dead sure where the original masters are stored. If you accidentally moved the masters, you may be erasing the only copy you still have.
Thus said, what is on on your pendrive right now? Do you still have the exported library there? If so, you may try the following:
I think you may have a permissions problem or formatting problem with the pendrive.
Is pendrive formatted MacOS X extended? If not, then reformat it (with DiskUtility) to MacOS X extended, if you want to use to to transfer images between Aperture Libraries. Pendrives usually come preformatted for Windows users, and Aperture does not recognize all formats, i.e. MS Dos (FAT) is not supported by Aperture. Reformatting will erase the drive, however.
Set the permissions on the drive to "ignore ownership on that volume": Select the pen drive in the Finder and then press (command)⌘-I to open the Get Info panel. At the bottom of the panel you should see a checkbox "Ignore Ownership on this Volume" (if your drive is MacOS extended). Set this flag.
Also check the permissions of the Aperture Library on this drive - you shoud have read-write permissions, and the perpissions of any enlosing folder.
Regards
Léonie -
Raw device for oracle 8.1.7 on AIX 4.3.3
Hi there,
I am trying to use a raw device on AIX 4.3.3 for ORACLE 8.1.7.
I have created a raw device /dev/or_system
brw-rw---- 1 oracle dba 54, 1 Mar 04 10:44 or_system
but it is not possible to create a datafile on it :
SVRMGR> create database "GLM"
maxinstances 8
character set "WE8ISO8859P1"
datafile '/dev/or_system' size 150M REUSE
logfile
GROUP 1 ('/oracle/GLM/redo/log1.ora') size 100M,
GROUP 2 ('/oracle/GLM/redo/log2.ora') size 100M,
GROUP 3 ('/oracle/GLM/redo/log3.ora') size 100M,
GROUP 4 ('/oracle/GLM/redo/log4.ora') size 100M;
create database "GLM"
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 407
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file '/dev/or_system'
ORA-27038: skgfrcre: file exists
SVRMGR>
The ORA-27028 in exact this situation was reported as a bug in prior ORACLE Versions 8.0.4/ 8.0.5 and had
the bug no. 690228.
But we use as mentioned 8.1.7.
What do I do wrong?
Any suggestions are welcome.
Thank you
GerhardEach raw device you create is used as a single data file.
Eg mklv -y 'myfile' <vgname> <number of logical partitians>
Will have two special files associated with them /dev/rmyfile and /dev/myfile. The number of logical partitians will be the size of your datafile subtract 1 meg for overhead.
So, if you were addding the above raw volume to a tablespace, and the lp size was 32 meg, you would
create tabelspace tsname datafile '/dev/rmyfile' size 31 m;
Note the use of rmyfile not myfile. -
Hello,
I am getting the following error when I try to complete approval process.
ORA-20001: Unable to create tablespace. ORA-01
119: error in creating database file '//./FLOW_1.dbf' ORA-27040: skgfrcre: creat
e error, unable to create file OSD-04002: unable to open file O/S-Error: (OS 2)
The system cannot find the file specified.
I checked the alert log for error here is the error in the alert log file.
ORA-1119 signalled during: CREATE TABLESPACE FLOW_1 DATAFILE '//./FLOW_1.dbf'..
and i found the syntax for create tablespace was wrong.
To create a tablespace in RAC with RAW device environment under windows.
it should have forward black slash instead of backward slash "/" without .dbf extension.
so, I changed the syntax i was able to create tablespace through sqlplus.
When APEX tool try to create this tablespace it throws this error..
Old: CREATE TABLESPACE FLOW_1 DATAFILE
'\\.\FLOW_1.dbf' SIZE 10304 K REUSE AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
error : ORA-01119: error in creating database file '\\.\FLOW_1.dbf'
New:
CREATE TABLESPACE FLOW_1 DATAFILE
'\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
Tablespace created.
Is it a bug in APEX 3.0.1.??
Is anyone installed APEX in RAC ??
JamesHi,
One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
STATNAME SID VALUE USER
opened cursors current 20 14 APEX_PUBLIC_USER
opened cursors current 149 74 APEX_PUBLIC_USER
opened cursors current 194 71 APEX_PUBLIC_USER
opened cursors current 211 5 APEX_PUBLIC_USER
opened cursors current 227 325 APEX_PUBLIC_USER Killed
opened cursors current 244 15 APEX_PUBLIC_USER
opened cursors current 20 14 APEX_PUBLIC_USER
opened cursors current 149 76 APEX_PUBLIC_USER
opened cursors current 194 71 APEX_PUBLIC_USER
opened cursors current 211 5 APEX_PUBLIC_USER
opened cursors current 244 15 APEX_PUBLIC_USER
Please kindly help in this.
Thanks in Advance
Thanks & Regards
Sanjay
Edited by: user11204334 on Dec 8, 2010 1:02 AM -
10.1.0.3 on RH4(Centos) + Raw devices + ASM + RAC
Hi,
I'm just wondering if anyone here tried installing a single node RAC on 2 instance using ASM on Oracle 10g (10.1.0.3)?
I am using RH4(CENTOS 4.1), Oracle 10.1.0.3 + CRS 10.1.0.3 on fake raw devices in Linux.
I have been able to install the CRS and Oracle database software successfully.
All CRS services and listener are up and running.
crs_stat command return successful results.
srvctl status nodeapps -n <node_name> also returns successful results.
However, when I attempt to startup the ASM instance, I keep encountering these errors:
ORA-00603:ORACLE server session terminated by fatal error
ORA-27504:IPC error creating OSD context
The ORA-00603 error message will appear immediately in the SQLPLUS prompt when I try to startup ASM instance.
Both errors will be logged in alert.log and trace files, no other useful error messages besides these errors.
When I attempt to create a normal database instance using datafiles on the same machine, these errors also appear again!
So, I figure its got nothing to do with the raw devices since my OCR location and Voting devices are using the same raw devices on Linux.
Anyone did the same thing like me and faced similar problems.... please help.
CheersYou can use dbca to create ASM instance to get rid of the manual copy business.
In realease 1, you can invoke dbca, choose database instance and walk through still you reach storage clause and choose asm and DBA will create ASM instance on both nodes.
Ensure that you choose cluster install option and all the nodes at the initial stages. -
Tablespace creation problem in RAC using raw device.
Hi ,
If i created a tablespace with the .dbf extension i am able to create the tablespace. on other hand if i use .dbf extension it;s failing..
can anyone help me out why it is happening??
here is the code...
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SYS at terac >
SYS at terac >CREATE TABLESPACE FLOW_1 DATAFILE
2 '\\.\FLOW_1' SIZE 10304 K REUSE AUTOEXTEND OFF
3 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO
4
SYS at terac >/
Tablespace created.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
REUSE AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT
SPACE MANAGEMENT AUTO
SYS at TERAC >/
CREATE TABLESPACE TEST2 DATAFILE '\\.\FLOW_1.DBF' SIZE 10304 K
ERROR at line 1:
ORA-01119: error in creating database file '\\.\FLOW_1.DBF'
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
thanks
james.I'm by no means a windows expert so I might be totally wrong here, but here goes.
You have to refer to the raw device by its name in the datafile clause. If you use a different name then the o/s can't find the device. Simple as that. -
Is database using File system, RAW devices or ASM?
Hi there
Is is possible to find out if the database is using File system, RAW devices or ASM for storage?
I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?
Thanks in advance!user12033597 wrote:
I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?V$DATAFILE or DBA_DATA_FILE
Raw depends on your OS - in *nix, likely something like /dev/sdc1
ASM depends on ASM and will include + and will follow an ASM pattern, such as described http://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses004.htm
File depends on OS - in *nix, likely start with a '/' and NOT be in /dev or /proc. In Winders start with C:\ or some other disk path.
Nicely discussed in the docs in the Administrators Guide found at http://tahiti.oracle.com -
Question(s) related to ASM, Raw devices and performance
Good morning,
I was recently getting acquainted with ASM. Since I was doing this in "play" VM boxes, it was not possible to draw any conclusions about any performance improvements.
I'd like to know what performance improvements forum members may have experienced after migrating a production environment from a non-ASM setup to an ASM setup.
It would seem that since ASM is a "form" of raw device access that the increase in performance should be noticeable. Was that the case for those who migrated to it ? Was the performance improvement worth it or did it only make managing the database easier ?
Thank you for your contributions on the subject,
John.ASM uses disk groups to store datafiles; an ASM disk group is a collection of disks that ASM manages as a unit. Within a disk group, ASM exposes a file system interface for Oracle database files. The content of files that are stored in a disk group are evenly distributed, or striped, to eliminate hot spots and to provide uniform performance across the disks. The performance is comparable to the performance of raw devices.
You can add or remove disks from a disk group while a database continues to access files from the disk group. When you add or remove disks from a disk group, ASM automatically redistributes the file contents and eliminates the need for downtime when redistributing the content.
I hope the links below will helps you.
refer the links:
http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmcon.htm
http://oracleinstance.blogspot.com/2009/12/rac-file-system-options-basic-concept.html
http://www.dbasupport.com/oracle/ora10g/ASM01.shtml
also you will get more information from book:
Oracle Automatic Storage Management: Under-the-Hood & Practical Deployment Guide (Osborne ORACLE Press Series)
Nitin Vengurlekar (Author), Murali Vallath (Author), Rich Long (Author)
http://www.amazon.com/Oracle-Automatic-Storage-Management-Under/dp/0071496076 -
We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
Thanks.923395 wrote:
We are currently running oracle 10.2.0.4 RAC using raw devices on the hpux itanium 64bit platform. We want to upgrade to 11.2.0.3 and I am wanting to know what parts of of database environment will still be able to utilize raw devices?
Can my datafiles remain on raw devices or will we need to somehow convert over to using ASM? What about the ocr and voting device? Can they remain on raw devices or do we need to configure ASM for the ocr and voting disk?
Thanks.when all else fails, Read The Fine Manual
http://docs.oracle.com/cd/E11882_01/install.112/e24169/storage.htm#sthref558
Maybe you are looking for
-
How to integrate DRM with third party tool for loading metadata in SQL table
Experts, I am new to DRM and I have a requirement in which we want to integrate DRM with third party tool(lets say SQL table) as target and load metadata from DRM (Parent node, name , alias etc) to SQL table (same column name) Is there any way we can
-
I just upgraded to Lion, and now my Illustrator crashes before it opens. I tried deleting the prefs files, but no luck. Here's the error: Process: Adobe Illustrator [8593] Path: /Applications/Adobe Illustrator CS5/Adobe Illustrator
-
Stop Sax Parser in the middle of parsing
Hi all, I am using Sax Parser. I want to stop the parsing after finding a specific element for the first time. I have thought on two ways - 1. Throwing an exception - Pros- clean, short. Cons - ugly it is not Exception. 2. adding a flag and if statem
-
Safari is not working on my iPad mini
When I open Safari it opens as if it works fine, but displays nothing, and does not function at all.
-
Checking the existence of a file in the presentation/application server
Hi All, If we have a filename with path, how do we check whether the file is existing in the presentation or application server? Thanks in advance, Regards, Bijesh