ASM and file system combination

Hi everyone -
OK, this may sound a bit crazy, but it's the situation I'm facing and I really need your help and opinion before I do something stupid.
I am using ASM on a SAN to manage my DATA tablespace (contains all the user data, including BLOBs). The ASM takes up all the disk space on the SAN except for what's left over from the disks allocated for the SAN OS. Basically, I have 941GB free space on the disks allocated the the SAN OS. Now, I need more space for my DATA tablespace, but can't afford to buy more disks at the moment (spent all my money on this SAN). I want to use the 941GB of unused disk space from the SAN OS disks for my DATA tablespace. But these disks are obviously not using ASM, and my current DATA tablespace is completely inside ASM.
So the 6 million dollar question is . . . Can I add a "filesystem" datafile to an existing ASM tablespace? For example:
Tablespace DATA is currently managed by ASM. Can I do
SQL> alter tablespace DATA add datafile '/ora1/oradata/orcl/DATA_FS_01.DBF' size 1024M;
So essentially I'll have part of the tablespace managed by ASM and another part residing on a traditional file system datafile.
What do you think? Is this possible? Advisable? The worst thing I could do? Ok to do?
Thanks in advance
a

OK, I see that in the documentation this time. I'll try that for tonights backup and let you know how it works. I'm a bit concerned still because it looks like it wrote fine to the +ASMDG2 location.  I would have thought the whole backup would fail but I guess it was able to read the first path...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • RMAN copies to ASM and file system

    I am on 11g Rel 1 trying to do an RMAN backup with 2 copies of my backup. One copy should go to ASM storage and the other should go to a regular file system.
    My RMAN script is:
    run {
    configure default device type to disk;
    set backup copies 2;
    configure device type disk parallelism 16 backup type to compressed backupset;
    configure channel device type disk format = '+ASMDG2/backups/%d_%T_%U_dump0.bck, /orabackups/oracle/%d_%T_%U_dump0_offload.bck' MAXPIECESIZE 60G;
    configure controlfile autobackup on;
    backup incremental level=0 database plus archivelog;
    delete noprompt obsolete redundancy 1;
    exit;
    When the backup runs I get:
    RMAN-03009: failure of backup command ....etc.
    ORA-15124: ASM file name '+ASMDG2/backups/%d_%T_%U_dump0.bck, /orabackups/oracle/%d_%T_%U_dump0_offload.bck' containd invalid alias name...
    What is the correct syntax to get the copies to be able to go to ASM disk and regular disk locations?

    OK, I see that in the documentation this time. I'll try that for tonights backup and let you know how it works. I'm a bit concerned still because it looks like it wrote fine to the +ASMDG2 location.  I would have thought the whole backup would fail but I guess it was able to read the first path...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Asmca has grayed out Volumes and ASM Cluster File Systems 11.2.0.3

    I've got a two node cluster which is up and running with the latest 11.2.0.3 grid install on Oracle Linux 6.3
    I need to get a shared storage location I can use for File I/O testing, ASM looks like the solution with an ASM Cluster File System.
    When I run asmca I do not have the ability to create these volumes or file systems as they are Grayed out.
    I found some instructions on how to get it to work, and they said to use acfsload to start up the required daemons:
    [root@oracleA bin]# ./acfsload start -s
    ACFS-9459: ADVM/ACFS is not supported on this OS version: '2.6.39-300.17.3.el6uek.x86_64'
    I installed Patches: 13146560, 14596051 - Which I thought would fix the problem. Rebooted after successfully applying the patches, but asmca still shows them greyed out
    and not supported on this OS error persists.
    I see some posts online saying to edit osds_acfslib.pm and update it to allow for the supported ORACLE version
    Right now it shows: ($release =~ /^oraclelinux-release/))) # Oracle Linux
    under /etc it only has oracle-release - could that have something to do with it not passing the check?
    uname -r
    2.6.39-300.17.3.el6uek.x86_64
    From what I can tell this kernal should support asm..
    Any help in getting these shared storage asm disks setup would be very helpful, oracleasm creates them and sees them fine for databases. Thanks.

    Turns out the Kernel version 2.6.39 does not have support for the ASM Drivers for the ACFS mounting.
    I'm going to have to use Oracle Linux 6.2 (instead of Oracle Linux 6.3) and rebuild my RAC to get a supported version of the drivers -> Kernel version 2.6.32
    http://docs.oracle.com/cd/E11882_01/install.112/e16763/oraclerestart.htm#BGBGEDGA

  • How to bulk import data into CQ5 from MySQL and file system

    Is there an easy way to bulk import data into CQ5 from MySQL and file system?  Some of the files are ~50MB each (instrument files).  There are a total of ~1,500 records spread over about 5 tables.
    Thanks

    What problem are you having writing it to a file?
    You can't use FORALL to write the data out to a file, you can only loop through the entries in the collection 1 by 1 and write them out to the file like that.
    FORALL can only be used for SQL statements.

  • ASM Vs File System - Who is best, Why and How ..

    How the ASM is better than traditional file system ..? What is the reason behind oracle recommends ASM when we can achieve the same performance in traditional file system ...? Can some one throw some lights on this to understand the purpose of ASM in a better ways when comparing traditional file system.

    ASM is better for two basic reasons.
    Management and administration. It allows the DBA far better control, with features not found, when using a cooked file system. For example - you need to move the database from an old drive to a newly installed drive on the server. With ASM you can do this while the database is up, running and in-use.
    Performance. ASM disks are block devices that are accessed using direct I/O. This bypasses a lot of moving parts that you will typically find in a cooked file system. Raw/direct disk I/O is faster than doing I/O via a kernel file system driver (that may or may not write that data to file on disk).
    The con is that ASM is another s/w layer that needs to be installed, and which needs server resources to run. On the modern server, that is not a problem. It's not like running on a couple of sub Ghz CPUs with only 4Gb of system RAM. PCs today have more resources and faster resources than servers of a decade ago.
    So there is not much reason for not using ASM.
    I'm using ASM on all my database servers. From very small (dual core standalone) to large (12 node RAC). ASM has numerous times saved the proverbial day when there was storage issues, and required storage changes. I would need a lot of sound and hard convincing not to use ASM by default for an Oracle database in today's environment.

  • Which is better ASM or file system storage

    Hi all, I need a urgent help from all u gr8 DBAs.
    I have to give justification to my client that which is better to use between file based option ASM and why??
    So can anyone give me some write up in this line?

    Ok, how about this
    Today's large databases demand minimal scheduled downtime, and DBAs are often required to manage multiple databases with an increasing number of database files. Automatic Storage Management lets you be more productive by making some manual storage management tasks obsolete.
    The Oracle Database provides a simplified management interface for storage resources. Automatic Storage Management eliminates the need for manual I/O performance tuning. It simplifies storage to a set of disk groups and provides redundancy options to enable a high level of protection. Automatic Storage Management facilitates non-intrusive storage allocations and provides automatic rebalancing. It spreads database files across all available storage to optimize performance and resource utilization. It also saves time by automating manual storage tasks, which thereby increases their ability to manage more and larger databases with increased efficiency. Different versions of the database can interoperate with different versions of Automatic Storage Management. That is, any combination of release 10.1.x.y and 10.2.x.y for either the Automatic Storage Management instance or the database instance interoperate transparently.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/mgmt_db.htm

  • Advantages of Oracle ASM Cluster File Systems (ACFS)

    Hi
    configured 11g Rel 2 Grid Infr , ASM instance and the database on linux x86_64 bit
    when I started asmca, i noticed that there are no volumes configured
    Need to know what are the advantages of configuring volumes,
    [root@vmorarac2 init.d]# lsmod
    Module Size Used by
    oracleacfs 1613902 0
    oracleadvm 220326 0
    oracleoks 279693 2 oracleacfs,oracleadvm
    oracleasm 48660 1
    thanks

    Need to know what are the advantages of configuring volumes,ACFS files system will available once you'll configure volume.
    http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmfs_util002.htm#CACGFHAA

  • ASM Vs File system

    1. With file system, we were able to set some threshold alerts at the OS mount point level. Is this possible with ASM since it is a raw device at the OS level?
    2. The ASM directories are logical and is visible ONLY at the oracle ASM level. True?
    3. Is cold backup an option with ASM?
    4. Is RMAN the only solution with ASM disks?
    5. Are there any suggested Hardware snap/clone available for ASM storage?
    Thanks for your insight on this.

    KR wrote:
    1. With file system, we were able to set some threshold alerts at the OS mount point level. Is this possible with ASM since it is a raw device at the OS level?
    2. The ASM directories are logical and is visible ONLY at the oracle ASM level. True?
    3. Is cold backup an option with ASM?
    4. Is RMAN the only solution with ASM disks?
    5. Are there any suggested Hardware snap/clone available for ASM storage?1. Not possible from an OS point-of-view. See earlier reply for workaround;
    2. Yep, or use asmcmd (from the ASM ORACLE_HOME) or ftp
    3. If you use RMAN to cold-backup: yes. You cannot use a regular backup to back up your devices, unless you have designated files as 'disks' to ASM (But who would want that?). In this case you should shut down ASM and backup the file system where these files reside.
    4. Yes, it is.
    5. That depends on your hardware configuration. It is possible to run ASM on concurrent/shared, host based mirrored volume groups/volumes. If you use SAN technology, you can always verify whether these options are available from the storage manufacturer. However, I would be really careful with these, always taking things down before taking snapshots/flashcopies/clones/whatever you call them.
    HTH.
    Arnoud Roth

  • Asm vs Fil system

    Hi all
    i saw this has been discussed here already,
    well I think I will try and go for the Asm,
    the machine is linux OS red hat.
    my question is:
    does asm uses async io ? - or do I need to use file system in order to use async io?
    do I need on 10g to relink oracle to get async io as was in 9i ?
    Thanks
    Sahar

    ASM uses asyncIO if your OS supports async (most do). ASM is far superior to filesystem with respect to manageability.
    Use ASM !

  • 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

  • Oracle cache and File System cache

    on the checkpoint, oracle cache will be written to disk. But, If an oracle database is over file system datafile, it likely that the data are still leave in FileSystem cache. I don't know how could oracle keep data consistency.

    Thanks for your feedback. I am almost clear about this issue now, except one point need to be confirmed: do you mean that on linux or unix, if required, we can set "direct to disk" from OS level, but for windows, it's default "direct to disk", we do not need to set it manually.
    And I have a further question: If a database is stored on a SAN disk, say, a volume from disk array, the disk array could take snapshot for a disk on block level, we need to implement online backup of database. The steps are: alter tablespace begin backup, alter system suspend, take a snapshot of the volume which store all database files, including datafiles, redo logs, archived redo logs, controll file, service parameter file, network parameter files, password file. Do you think this backup is integrity or not. please note, we do not flush the fs cache before all these steps. Let's assume the SAN cache could be flushed automatically. Can I think it's integrity because the redo writes are synchronous.

  • IOS 8.3 and file system - lost access

    Since updating to iOS 8.3 I've lost access to my iPad's file system using iFunbox and various file explorers using both PC and Mac.
    It seems that a sandbox is being enforced in a way that even prevents reading of files or deletion of junk files (which kind of defeats the purpose of a sandbox.
    I can't find a way around this but it also means that I can't backup maps in Minecraft which destroys the multi-platform nature of the app and renders hundreds of hours of work over months useless!
    Effects of the problem:
    1) I cannot access my stored data
    2) I cannot delete junk files including file clutter created by apps - this means that a factory reset will be needed more frequently
    3) I cannot manually backup files that are missed by automatic backup
    4) The ability to use custom maps on Minecraft has gone
    5) I cannot track what data apps are storing
    Is there a workaround for this problem presumably until Apple fixes it (all ver

    After upgrading to iOS 8.3, some third-party programs, such as PhoneClean 4 iMobie, no longer have access to the file system.
    Some applications, such as Spotify, write a lot of data in the memory card. Because of the earlier case, the memory is running out of space and sometimes urgent need to eliminate these temporary files that are unnecessary.
    I find it intolerable that Apple does not propose a solution to this problem or provide a tool that allows us to iPad users delete these temporary files.
    I agree that security is important, but it is true that we see as our daily use memory cards are running out of space.
    Therefore, I demand that Apple me a solution to this problem.
    Greetings.

  • Oracle DB and File system backup configuration

    Hi,
    As I understand from the help documents and guides, brbackup, brarchive and brrestore are the tools which are used for backing up and restoring the oracle database and the file system. We have TSM (Trivoli Storage manager) in our infrastructure for managing the backup centrally. Before configuring the backup with TSM, I want to test the backup/restore configuration locally i.e. storing the backup to local file system and then restoring from there. Our backup strategy is to have full online backup on the weekends and incremental backup on the weekdays. Given this, following are the things, I want to test.
    1. Full online backup (to local file system)
    2. Incremental online backup (to local file system)
    3. Restore (from local file system)
    I found help documents to be very generic and couldn't get any specific information for the comprehensive configuration to achieve this. Can someone help with end to end configuration?
    We are using SAP Portal 7.0 (NW2004s) with Oracle 10g database hosted on AIX server.
    Helpful answers will be rewarded
    Regards,
    Chandra

    Thanks for your feedback. I am almost clear about this issue now, except one point need to be confirmed: do you mean that on linux or unix, if required, we can set "direct to disk" from OS level, but for windows, it's default "direct to disk", we do not need to set it manually.
    And I have a further question: If a database is stored on a SAN disk, say, a volume from disk array, the disk array could take snapshot for a disk on block level, we need to implement online backup of database. The steps are: alter tablespace begin backup, alter system suspend, take a snapshot of the volume which store all database files, including datafiles, redo logs, archived redo logs, controll file, service parameter file, network parameter files, password file. Do you think this backup is integrity or not. please note, we do not flush the fs cache before all these steps. Let's assume the SAN cache could be flushed automatically. Can I think it's integrity because the redo writes are synchronous.

  • Database shut down and file systems are still busy

    We have been copying our production DB over to a reporting DB for the last 3 years. The process we use on the reporting database is: shutdown the DB ABORT, restart it, then shutdown immediate. Then we umount the file systems and copy the production over using a Flex Clone on the NETAPP, remount the file systems and start the database back up. We used to shut down the listener which does not share the oracle binaries on the unix system but lately have left the listener up because other DB's use it. Every so often after shutting down the report database in prep for the copy, the file system that contains the binaries is busy and we can't unmount the ORACLE binaries.
    So my question is how does the listener know if the database is up or down? Is it reading something on the volumes we're trying to unmount to see if the database is up? We have users that schedule jobs in odd hours and was wondering if them hitting the listener and even though the database is down it's making the file systems busy?
    Any help is appreciated.

    Mi**** wrote:
    So my question is how does the listener know if the database is up or down? If/when the DB responds, then the listener knows it is up;
    otherwise listener reports error to client
    Is it reading something on the volumes we're trying to unmount to see if the database is up? We have users that schedule jobs in odd hours and was wondering if them hitting the listener and even though the database is down it's making the file systems busy?
    Listener is NEVER involved with any ongoing packet exchange between client & the DB.
    Listener takes original connection request & if the DB is up passes the request to the DB.
    After this initial handoff, the listener has NO more involvement with packet exchange between DB & client

  • Sendfilev() and file system interaction

    When transmitting a file over a TCP socket with sendfilev(), and the source being a regular file on a UFS file system, what exactly takes place in the filesystem locking subsystem?
    For example, if an HTTP server employs the sendfile system call, and the file is locked so that it may be read from properly, how does one update this file if the site is heavily trafficked, god forbid it's a Solaris 9 .iso and the user is downloading this file from a less than broadband connection. The file would be "locked" from updating for a potentially long time.
    /kris

    I think I answered your email. Also, you can have a look at these threads:
    Re: How to display bfile in Apex report
    Re: Linking to display an external file
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • How can I disable nagging "Apple-ID" password requests?

    Hello, In order to describe the problem I'm experiencing, I need to say some things in advance. I'm trying to install the same software on each of our 10 iPads. To do so, I install all necessary apps on one selected iPad (from here on "iPad No. 1") a

  • Printing selected pages of a PDF to Adobe PDF

    I have Acrobat 9, Windows 7, and was happily creating new files from existing PDFs by printing selected pages to Adobe PDF. After having done this a hundred times or so, the process stopped working. I got this message: "When you create a PostScript f

  • Invoice correct issue

    Hi Experts, I have a sceanrio where the flow is QT , So DEL, Invoice , here in the order at the header and Item level i find Gross proce condition is found in the Conditions, but when I check in  the Invoice correction Request and Invoice Correction

  • Xsql: merging data with include-xml

    Is there any way for the data returned from <xsql:include-xml> to include a primary key so that the stylesheet can merge the data in. In my situation, I have a primary result set from xsql:query but it has two fields in varchar2's that include xml co

  • Ipad and Aperture 3

    Is apple going to make aperture 3 for ipad and can the ipad not handle it??