EXT3 to RAW file system

hi all,
i have RHEL as 4 and i have 3 partitions on 200gb hard disk d01 d02 d03 with ext3 file system now i want to change the d01 ext3 file system to raw partition for implementing ASM can some one help me out that would be great help thanks very much in advance.

1. make a backup of your database
2. decide if you want to use ASMlib or raw devices
the following is the text in an article on installing oracle 10g (http://www.oracle.com/technology/pub/articles/chan-ubl-vmware.html#5)
A raw device mapping is required only if you are planning on creating ASM disks using standard Linux I/O. An alternative to creating ASM disks is to use the ASM library driver provided by Oracle. You will configure ASM disks using ASM library driver later.
Perform the following tasks to map the raw devices to the shared partitions created earlier. The raw devices have to bind with the block devices each time a cluster node boots.
Add the following lines in /etc/sysconfig/rawdevices.
/etc/sysconfig/rawdevices
/dev/raw/raw1 /dev/sdc1
/dev/raw/raw2 /dev/sdd1
/dev/raw/raw3 /dev/sde1
To make the mapping effective immediately, execute the following commands as the root user:
# /sbin/service rawdevices restart
Assigning devices:
/dev/raw/raw1 --> /dev/sdc1
/dev/raw/raw1: bound to major 8, minor 33
/dev/raw/raw2 --> /dev/sdd1
/dev/raw/raw2: bound to major 8, minor 49
/dev/raw/raw3 --> /dev/sde1
/dev/raw/raw3: bound to major 8, minor 65
done
# chown oracle:dba /dev/raw/raw[1-3]
# chmod 660 /dev/raw/raw[1-3]
# ls -lat /dev/raw/raw*
crw-rw---- 1 oracle dba 162, 3 Nov 4 07:04 /dev/raw/raw3
crw-rw---- 1 oracle dba 162, 2 Nov 4 07:04 /dev/raw/raw2
crw-rw---- 1 oracle dba 162, 1 Nov 4 07:04 /dev/raw/raw1
As the oracle user, execute
rac1-> ln -sf /dev/raw/raw1 /u01/oradata/devdb/asmdisk1
rac1-> ln -sf /dev/raw/raw2 /u01/oradata/devdb/asmdisk2
rac1-> ln -sf /dev/raw/raw3 /u01/oradata/devdb/asmdisk3
Modify /etc/udev/permissions.d/50-udev.permissions. Raw devices are remapped on boot. The ownership of the raw devices will change to the root user by default upon boot. ASM will have problem accessing the shared partitions if the ownership is not the oracle user. Comment the original line, “raw/*:root:disk:0660” in /etc/udev/permissions.d/50-udev.permissions and add a new line, “raw/*:oracle:dba:0660.”
/etc/udev/permissions.d/50-udev.permissions
# raw devices
ram*:root:disk:0660
#raw/*:root:disk:0660
raw/*:oracle:dba:0660

Similar Messages

  • How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

  • Uninstall Oracle Culster (RAC) & Oracle Database with Raw File System (LVM)

    Hello,
    I have configured "Oracle RAC" with "Database" on Hp Unix 11.23 Platform. The shared storage is based on "raw" file system,which has mounted through "SAN" Storage. We have used total 18 LV (logical volumes) for oracle & clusterware.
    By mistaken, I have configured wrong "Public, Private IP Address & Virtual IP Addresses" during RAC installation,thus my oracle "crs" is not working perfectly. So, is it possible to modify the "public,private & Virtual" IP Addresses? If Yes, provide me the step by step modification link.
    Moreover, I would like to know certain steps to uninstall entire "Oracle Clusterware & Database." Kindly do the needful the "uninstallation" steps & is it necessary to remove & recreate LVM partitions, on which "oracle crs & database" has installed?
    Advanced Thanks,
    Nishith Vyas

    Hi,
    You haven't told anything about version...
    By mistaken, I have configured wrong "Public, Private IP Address & Virtual IP Addresses" during RAC installation,thus my oracle "crs" is not working perfectly. So, is it possible to modify the "public,private & Virtual" IP Addresses? If Yes, provide me the step by step modification link.BTW, this thread has information that can drive You to this change:
    Re: Is it possible?
    Moreover, I would like to know certain steps to uninstall entire "Oracle Clusterware & Database." Kindly do the needful the "uninstallation" steps &Again... No versions, but You this thread can drive You to this
    How to cleanup / remove RAC installation (CRS,RDBMS,ASM)
    is it necessary to remove & recreate LVM partitions, on which "oracle crs & database" has installed?I don't think so. If all steps on uninstalling procedure don't work, You'll can try "zero" the information on the raw device using dd.
    Hope it helps,
    Cerreia

  • Is it possible to rescue drive files and also format RAW file system into previous NTFS?

    Do you have any suggestion for me to format RAW file system to NTFS and also rescue my remained drive files? These external hard drive files are made for the business presentation in the next Monday. I have prepared them for nearly a week.
    But, this morning, the external hard drive that had held these files became RAW and needed to be formatted. I could not lose them and prepare another week to make these files again. There was no enough time. Please, give me some advice to get them back as
    many as possible. Thank you in advance! 

    RAW file system error will not always indicate a failed or seriously damaged drive. So, do not give up rescuing your drive data easily. Just plunge this RAW drive to you computer again and run drive data recovery software to rescue your
    original data back as much as possible before you format this drive from RAW to NTFS.
    Just open your computer and search for a right data recovery tool to go on.
    Get more data recovery clues here:
    http://blog4mark.blogspot.com/2012/11/convert-raw-to-ntfs-without-data-loss.html
    If you are still suspicious, just search and read more related threads/articles to k now more. 

  • Installing Oracle databse in RAW file system

    Hi All
    Can you pls provide links or oracle documents to install Oracle database in RAW file systems...
    We have searched but didn't get any exact procedure to carry on ...
    Regards
    Hariharan.Thyagarajan

    Hi
    We have gone through some link and your's too , we can create logical disk in our disk drives, but we are not good in mapping the raw devices in the windows environment.
    say we have created raw devices partition for all tablesapces, spfile, redolog files etc in our disk drives, we are not good in maaping that in the DBCA OUI ?
    Can you pls help us on this ?
    Regards
    Hari

  • Clonning from RAW file system to Coocked using RMAN ..Possible ?

    One of our customer wants(For a project) to migrate their 9.2.0 database from one machine to another using a physical standby. Their current production machine uses RAW files for the Oracle datafiles. On the new machine (what will originally be the physical standby) they want to use filesystems (eg cooked files).
    The process (very basically) will be :
    1. backup production
    2. restore production to new server
    3. establish physical standby
    4. switchover/failover to standby
    5. Former standby is now production
    The question is, assuming that the backups are being taken with RMAN, is it possible to restore the datafiles to cooked filesystems (given the original backups were taken from raw)? Are there any additional steps or gotchas we have to watch out for when doing this? Do you have any documentation which details how to clone a database in this way?
    Regards
    Manoj

    he question is, assuming that the backups are being
    taken with RMAN, is it possible to restore the
    datafiles to cooked filesystems (given the original
    backups were taken from raw)? Are there any
    additional steps or gotchas we have to watch out for
    when doing this? Do you have any documentation which
    details how to clone a database in this way?Yes, it is possible. and infact this one advantage of using RMAN. RAW or cooked filesystems makes no difference to RMAN.
    As far as I know , no additional steps are needed ( except common step to define new loaction).
    Virag

  • How to converrt files on RAW devices in ASM to non ASM file system.

    Hi all,
    I have on  problem .
    Is that possible to migrate ASM  raw files system to non ASM file .
    If possible plzz describe them.
    If not also please tell y not?
    Thanks in addvance
    Regards
    Krishna

    Hi,
    I totally agree with Mahir. And I just want to share one thing:
    Use %U to generate guaranteed unique names :
    For backupsets, %U means: %u_%p_%c
    For an image copy of a datafile, %U means: data-D-%d_id-%I_TS-%N_FNO-%f_%u
    For an image copy of an archived redolog, %U means: arch-D_%d-id-%I_S-%e_T-%h_A-%a_%u
    For an image copy of a control file, %U means: cf-D_%d-id-%I_%u
    Thank you

  • Is there a way to configure NTFS file system on an NSS 324 SmartStorage unit. So far I can setup ext 3 or ext 4 but no option for NTFS

    Is there a way to configure NTFS file system on an NSS 324 SmartStorage unit. So far I can setup ext 3 or ext 4 but no option for NTFS. This unit should be joining a Windows Server 2008 R2 network and needs to be shared with all users. This unit will replace a File server running Win 2003 SP2.
    Message was edited by: Hermann Koster
    Thank you very much for your reply. The idea is to decommission the Windows file server which is running Windows Server 2003 SP2 operating system but is not running as a DC but just a member server. All this server is doing is providing file server services so my idea is to replace it with the NSS 324 box. My only concern is that when my NSS joins the domain all my users would be able to see and access network shares transparently, the same way they saw the former W2003 file server. After I transferred the data from File server I will use the same for NSS that was used for file server as well as same IP address and folders path as before.
    Any suggestions or advice?
    Once again thank you very much for your reply.
    Cheers,

    The internal HDDs must be formatted in either EXT3 or EXT4 file system because NSS uses Linux OS.  This is mainly because the RAM designed to fit with the customized Linux OS's size.
    You can connect to an external HDD via a  USB or eSATA port. The external HDD's file system can be NTFS, FAT32, AFT or EXT3/4 to be recognized for read/write. You can connect a 2TB USB/eSATA drive connec to the NSS via USB port to format your HDD for NTFS, AFT, FAT32, or EXT3/4 partition.
    You can join the NSS to a Windows domainr so all domain users to access NSS. You cannot replace the NSS for the Windows 2003 SP2 server. They are two different products and do different jobs. Windows server is features sets server while the NSS is the files/data server.
    Hope that helps!!

  • Linux Cluster File system

    Has any seen a release date for oracle's linux cluster file system they announced last week. I am looking at deploying 3 4 node clusters over the next few months and would rather not use raw file systems.

    http://www.linuxjournal.com/article.php?sid=6123&mode=thread&order=0
    There is the link to the news release:

  • What about these file systems: ext4, reiserfs, and jfs?

    I use ext3 as my file system now.
    It said that these three file systems are better than ext3.
    Ext4 is a successor to ext3. I think it must be better.
    Reiserfs is very fast.
    And jfs is effective(low usage of CPU).
    Could anyone talk about the experiences of using these FSs?

    EXT4: should mature into an awesome FS: faster than JFS, and more fault-tolerant. I'll try it one of these months.
    XFS: nice. By design, it throws away files on an unclean mount, though. I never had FS corruption, but it would just up and get rid of critical files, like fstab, if I had just edited them and then had a nasty shutdown. Maybe it's a good /tmp FS?
    RFS3: it used to be fast with all but large (hundreds of MB) files. IME, the maturing of the 2.6 CFQ and deadline schedulers took care of that. Fsck was never a strong point.
    RFS4: what happens to a jet airplane if a bird gets sucked in an engine? It was kind of like that.
    EXT3 (as a preface to JFS): from early 1998 up to late 2007, moving from 6.4 to 8.4 to 2x6.4+8.4 to 10 to 20 to 120GB, and well over 100 2000 and XP boxes serviced...I had significant corruption of NTFS FS or files all of three times, and none rendered the system unusable (it took a Win98 low-level FAT32 working trojan to do that...friggin' thing had a low threat level according to Semantic, but ate almost all my C: drive). Since moving to Linux in late '07, I've now had at least six partitions made FUBAR, and a handful that went to read-only at the slightest provocation (to give credit where it's due: I could get data off of those before wiping the partition). I've been working with itty computers lately, and EXT3 has been nothing but trouble (many hard-locks, kernel panics, app crashes while writing, etc.--a little hard on the FS). It seems to be fine on machines running all the time, that do their writing sparsely.
    JFS: fast as EXT3, and seems to always recover on an unclean mount. On very slow hardware, it is definitely faster than EXT3...but I mean hardware competitive with Pentium MMXs, where EXT3 regularly maxes out the CPU. Cons? You'd best have your data backed up (but, if you trust any single copy of your data, you're asking for trouble, regardless of FS). It generally can bring your FS back to an old good state. But if not, it will happily throw files away, to make the FS itself clean quicker. So far the worst I've lost were Firefox cookies and other such goodies (never my session, luckily), but it's enough to show the possibilities.
    Last edited by cerbie (2009-02-22 10:50:35)

  • Why would anyone want to use ASM Clustered File system?

    DB Version: 11gR2
    OS : Solaris, AIX, HP-UX
    I've read about the new feature ACFS.
    http://www.oracle-base.com/articles/11g/ACFS_11gR2.php
    But why would anyone want to store database binaries in a separate Filesystem created by Oracle?

    Hi Vitamind,
    how do these binaries interact with the CPU when they want something to be done?
    ACFS should work with Local OS (Solaris) to communicate with the CPU . Isn't this kind of double work?ACFS dont work with .... but provide filesystem to Local S.O
    There may be extra work, but that's because there are more resources that a common filesystem.
    Oracle ACFS executes on operating system platforms as a native file system technology supporting native operating system file system application programming interfaces (APIs).
    ACFS is a general purpose POSIX compliant cluster file system. Being POSIX compliant, all operating system utilities we use with ext3 and other file systems can also be used with Oracle ACFS given it belongs to the same family of related standards.
    ACFS Driver Model
    An Oracle ACFS file system is installed as a dynamically loadable vendor operating system (OS) file system driver and tool set that is developed for each supported operating system platform. The driver is implemented as a Virtual File System (VFS) and processes all file and directory operations directed to a specific file system.
    It makes sense you use the ACFS if you use some of the features below:
    • Oracle RAC / RAC ONE NODE
    • Oracle ACFS Snapshots
    • Oracle ASM Dynamic Volume Manager
    • Cluster Filesystem for regular files
    ACFS Use Cases
    • Shared Oracle DB home
    • Other “file system” data
    • External tables, data loads, data extracts
    • BFILES and other data customer chooses not to store in db
    • Log files (consolidates access)
    • Test environments
    • Copy back a previous snapshot after testing
    • Backups
    • Snapshot file system for point-intime backups
    • General purpose local or cluster file system
    • Leverage ASM manageability
    Note : Oracle ACFS file systems cannot be used for an Oracle base directory or an Oracle grid infrastructure home that contains the software for Oracle Clusterware, Oracle ASM, Oracle ACFS, and Oracle ADVM components.
    Regards,
    Levi Pereira

  • Backup RAC with RMAN..(on diff file system)..URGENT..HELP NEEDED

    hello all,
    I have not work a lot on SAN storages. One of my client has implementated 9i RAC. Now he wants to Add two more disk in SAN storage (Implemented RAID). So sun engineers will do this but before this i have to take full database backup(80GB database) throught RMAN. The problem or confussion from my side is that the database is on Sun SAN storage and i have to put the Full database backup taken by RMAN on local hard disk on the node (node 1 of rac). Is the possible since the SAN storage is RAW file system (as i guess) and i am putting the backup on local system.
    Please help me out ...i have do this in couple of days..
    Please tell me prosedure too to how to change the path of backup in RMAN if above is possible..
    Its urgent
    Thanks and Regards!!
    Pankaj Rawat

    You best bet is to get your san folks to give you some disk space for a mount point on the last node in the cluster. Once they assign the lun (not raw) have your SAs make it a mounted file system such as /dbbackup.
    Run all of your rman backups on your last node on the cluster. The only draw back is, if that node dies, then you will not be able to run backups. but your backups would be safe as they are on the san.
    Only way to have a mounted file system on all nodes in your cluser is to have some sort of third party file system cluster ware .. such as veritas or OCFS2 - then all nodes could see it.
    I feel the first node in the cluster (the primary node) is the most busy out of the rest .. so thats why the suggestion of running rman on the last node in the cluster.

  • RAC backup with RMAN...put backup on diff file system

    hello all,
    I have not work a lot on SAN storages. One of my client has implementated 9i RAC. Now he wants to Add two more disk in SAN storage (Implemented RAID). So sun engineers will do this but before this i have to take full database backup(80GB database) throught RMAN. The problem or confussion from my side is that the database is on Sun SAN storage and i have to put the Full database backup taken by RMAN on local hard disk on the node (node 1 of rac). Is the possible since the SAN storage is RAW file system (as i guess) and i am putting the backup on local system.
    Please help me out ...i have do this in couple of days..
    Please tell me prosedure too to how to change the path of backup in RMAN if above is possible..
    Its urgent
    Thanks and Regards!!
    Pankaj Rawat

    Two things:
    1) You will not have any problems taking RMAN backup for RAC and raw devices. None of them make your backups any different.
    2) Based on your post, you are not very confident in your RMAN skills and this is your real problem. What is a must for you - take the backup, copy it on another machine and try to restore from it. Note, that you should NOT look at your original database during restore or take any files from there (even init.ora or spfile). If you don't have this done and don't have exact procedure - consider your backup as useless. This is a conservative approach but believe me - it's wort it when you SAN engineers screw up your storage. And they warned you. ;-)

  • Raw devices versus Cluster File Systems in RAC 10gR2

    Hi,
    Does anyone using cluster file systems in a RAC 10gR2 installation, specifically IBM’s GPFS?
    I’ve visited a company that is running RAC 10gR2 in AIX over raw devices. Why someone would choose to use raw devices , with all the problems to administer , when all the modern file systems are so powerful? Is there any issues when using cluster file systems + RAC? Is there considerable performance benefits when using raw devices with RAC ?
    I´ve always used Oracle stand alone instances over file systems (since version 7) , and performance was always very good. I´ve tested raw devices almost 10 years ago , and even in that time (the hardware today is much better - SAN , 15K rpm disks , huge caches - and the file systems software today is much better) the cost to administer it does not compensate the benefits (only 5% more faster than file systems in Oracle 7).
    So , besides any limitations imposed by RAC , why use raw devices nowadays ?
    Regards,
    Antonio Belloni

    Hi,
    spontaneously, my question would be: How did you eliminate the influence of the Linux File System Cache on ext3? OCFS2 is accessed with the o_direct flag - there will be no caching. The same holds true for RAW devices. This could have an influence on your test and I did not see a configuration step to avoid it.
    What I saw, though, is "counter test": "I have tried comparing simple file copies from an OS level and the speed differences are not apparent - so the issue only manifests itself when the data is read via an oracle db." and I have no good answer to that one.
    Maybe this paper has: http://www.oracle.com/technology/tech/linux/pdf/Linux-FS-Performance-Comparison.pdf - it's a bit older, but explains some of the interdependencies.
    Last question: While you spent a lot of effort on proving that this one query is slower on OCFS2 or RAW than on ext3 for the initial read (that's why you flushed the buffer cache before each run), how realistic is this scenario when this system goes into production? I mean, how many times will this query be read completely from disk as opposed to use some block from the buffer? If you consider that, what impact does the "IO read time from disk" have on the overall performance of the system? If you do not isolate the test to just a read, how do writes compare?
    Just some questions. Thanks.

  • Is Bridge supposed to sort raw files by date modified?  Not on my systems.

    I have just installed photoshop/bridge cs5 on two windows 7 systems, home premium 64 bit, one an i3 chip and the other an i7 chip.  I was formerly using cs3.
    I see that Bridge is not sorting my raw files by date modified like it did before.  It sorts jpg files okay.  I noticed that the xmp files associated with the raw files, when I hover over them in Windows Explorer show the correct modified date but the thumbnail icon shows only creation date, which I assume is as it shou ld be.  Why doesn't Bridge CS5 sort raw files by date modified as it did in CS3?  CS3 must have referred to the xmp file modified date to use for sorting, I would think.
    I should also mention that the metadata file does not show the correct date modified, but gives the same date as the creation date.  Also the thumbnails for raw images that have been modified correctly show the icon that indicates it was modified.
    Also, I see that when you hover over a thumbnail in Bridge CS5 nothing is revealed about the file.  In CS3 Bridge hovering over a thumbnail showed several pieces of data about the file including anything in the file info.
    Is this just how Bridge CS5 works or have I missed a setting somewhere in Bridge or Windows?

    Curt, thanks for your response.  The tool tips
    was not checked and did result in "hovering"
    working.  I'm not sure why that's called tool tips, but okay.
    I have just installed the software in the last
    few days.  I almost immediately got an update
    notice and installed the update.  I thought I was
    up to date.  Then, just a while ago I got another
    update notice.  After installing it the sorting
    now works.  Thanks much.  Problems seem to be solved.

Maybe you are looking for