Query to find the the free space in raw disks

I am new to ASM.
What is the query to find the free space in the raw disks in ASM diskgroup.? Can i get space info about individual raw disks in the disk group?
Is there an ip address for the ASM disk group? If so how can i find it?

below query will give you total and free space for each raw disk from a disk group.
select dg.name, d.name, d.total_mb, d.free_mb from v$asm_disk d, v$asm_diskgroup dg where dg.group_number=d.group_number order by 1;
There no IP address attached to ASM disk group. Why do you want associate IP address with a Disk group?

Similar Messages

  • I used the "erase free space " option in disk utility and now my imac says the disk is full and wont let me download songs. please help!

    i used the "erase free space " option in disk utility and now my imac says the disk is full and wont let me download songs. please help!

    You could try repairing permissions with disk utility, I don't think you will have the option to repair the drive but you could verify it.
    This may help you delete the files that DU made but did not remove when erasing the free space.
    http://macosx.com/forums/mac-os-x-system-mac-software/317204-no-disk-space-after -failed-disk-utility-erase-free-space.html
    When you get your SL disk it will not have the iLife applications, that would have been on the second install disk that should have been with the computer. I forget which version of iLife you will need for SL but I think it is this http://www.amazon.co.uk/Apple-iLife-Single-User-Mac/dp/B003XKRZES/ref=sr_1_1?ie= UTF8&qid=1409607702&sr=8-1&keywords=apple+ilife+11
    A search of the forums will confirm or deny this.
    As to whether a clean install will cure your problem, i.e. partition the HDD and install I would expect it to be yes, but there are no guarantees it is an old machine.

  • Help please - message after using the Erase Free Space function in Disk Ut

    Please help. I've been using my Mac Mini for 6 months and decided I wanted to securely erase previously deleted files, and found the Erase Free Space facility in Disk Utilities. So I chose the option "7-pass Erase of deleted files", and left my Mac Mini to do its business.
    At the end, I got the message that my startup disk is full, but ignored that message because I understand that's normal when free space has been deleted.
    After doing a Restart, things seem to be running smoothly, but I have a Warning message which reads
    Warning. The following disk images failed to mount:
    Image: EFTFile1.sparseimage Reason: corrupt image.
    What does this mean, please, and what do I have to do, if anything?
    I'm completely new to this, so please explain clearly.
    Thanks everyone!!

    Hi again, i've resolved the problem, thanks. It was my inexperience that was helping confuse the issue.
    Sorry to have taken your time. Thanks again for your input.

  • I need to erase free space on my hard drive.  But when I am in disk utility the format and name are pale as is the erase free space button so I cannot erase free space.

    My start up disk is full.  I have been through my computer and erased a lot of music and video to free some space.  I then went to disk utility to erase free space and find that the erase free space button is pale and therefore won't work.  Nor can I select or deselect MacOS extended journaled.
    Advice please?!

    Recovering Disk Space
    If you have less than 20% disk space then it is time to roll up your sleeves and search for what you can delete and what you can offload to another disk.
    If you have less than 10 GB you definitely need to delete or offload some files or purchase a lager disk or SSD (see below).  You may want to maintain at least 20 GB of free space so when your disk starts filling again it will have some room before it hits that 10 GB mark again.  More headroom is better.  If you let the space fall much below 9 GB you might not be able to boot your machine.
    Initial easy steps to gain disk space:
    - Delete all files in the Downloads folder.
      Empty the Trash.
    - Start iPhoto.
      Empty its trash.
      Restart.
    - Restart in Safe Mode:
      Restart the computer.
      As soon as you hear the chime press and hold the right shift key.
      Be patient. Hold it down until you see the Apple icon.
      Empty the trash.
      Restart in normal mode.
    - Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the drop down menu.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
    - Empty the Trash.
    - Restart.
    - Re-index your system disk (Macintosh HD):
      http://support.apple.com/kb/ht2409
    Time Machine Snapshots:
    If your disk is 80% full that is normal.  Time Machine uses up to 80% of the disk space for local snapshots.  To get rid of these snapshots simply plug in your Time Machine backup drive and run a backup.  See About Time Machine's 'local snapshots' on Mac notebooks: http://support.apple.com/kb/HT4878 and What are Local Snapshots? http://pondini.org/TM/30.html .
    If you are concerned that the “Other” category of disk usage is taking too much space and for information on deleting files then look here:  https://discussions.apple.com/docs/DOC-5142
    Backup:
    Run a Time Machine (or other) backup since you are about to delete and move files and you may need to recover from any inadvertent mistakes or decisions.  You will need one external hard drive for your Time Machine (or other) backup and a second if you plan to offload some files.  (See suggestions for where to purchase hard drives at the end of this message.)
    For more about backups:
    Time Machine Basics: http://support.apple.com/kb/ht1427
    Most commonly used backup methods:
    https://discussions.apple.com/docs/DOC-3045
    Methodology to protect your data.  Backups vs. Archives.  Long-term data protection:
    https://discussions.apple.com/docs/DOC-6031
    Deleting files:
    Then use the free application OmniDiskSweeper http://www.omnigroup.com/more to explore your volume in descending order by size so you can attack the problem from the top down, deleting the largest unwanted files first.  Delete with caution and do not delete any system files.  Remember to empty the trash after trashing the files.
    Additional reference on freeing disk space:
    http://pondini.org/OSX/DiskSpace.html
    Offloading files:
    Consider moving some of the no-often-used large files or directories to an external disk.  Use ODS again to find them.  As noted above this will be at least your second hard drive.  Your first one(s) is/are for your Time Machine (or other) backup(s).  Do not offload files onto a Time Machine disk.
    Format the second drive as Mac OS Extended (journaled).  Using OWS to find large files/folders and copy them from the system drive to the external hard drive and delete them from your internal drive.
    Then  > System Preferences > Time Machine > Options… > Remove the offload HD name from the exclusions list.
    Now both your system disk and your external offload disk will be backed up onto your Time Machine disk.
    From: http://www.thexlab.com/faqs/freeingspace.html
    To move your iTunes Music folder to another disk or partition:
    To change the location of your iTunes Music folder, carefully follow the instructions in the AppleCare® Knowledge Base document "iTunes for Mac: Moving your iTunes Music folder."Additional information can be found in iTunes Help.
    http://webcache.googleusercontent.com/search?q=cache:http://www.thexlab.com/105/ 00000849.html
    Laptop users may want to consider having two iTunes libraries: a small library of current favorites on their computer, while their complete library resides on an external hard drive. Utilities like iTunes Library Manager enable you to easily have multiple iTunes libraries you can use with your account.  https://www.macupdate.com/app/mac/7689/itunes-library-manager
    To move your iPhoto Library folder to another disk or partition:
    To move the iPhoto Library folder to a new location, employ the instructions in the AppleCare Knowledge Base document from http://support.apple.com/kb/PH2506 corresponding to the version of iPhoto you are using. Additional information can be found in iPhoto Help.
    Laptop users may want to consider having two iPhoto libraries: a small library of current, favorite photographs on their computer, while their complete library, or archives of older photos are saved on an external hard drive. Utilities such as iPhoto Buddy and iPhoto Library Manager enable you to have multiple iPhoto libraries that you can use with your account.
    https://www.macupdate.com/app/mac/12175/iphoto-buddy
    https://www.macupdate.com/app/mac/7158/iphoto-library-manager
    Hardware — Bigger disk/SSD:
    If your system has upgradeable storage then if you are still tight on disk space consider larger storage.  If you have a disk consider replacing it with a one TB disk.  Check out a one terabyte HGST 7K1000 7200 rpm, SATA III drive from OWC http://eshop.macsales.com ($100).  If you have an SSD consider increasing its capacity to 240 or 480 GB.  A standard 240 GB SSD would cost from $200 to $280. See OWC and Crucial: http://www.crucial.com/ for options.  OWC sells 120, 240 and 480 GB SSD upgrades for MacBook Airs.  A 240 GB upgrade costs $265.   http://eshop.macsales.com/shop/SSD/OWC/ .  If your Mac is under warranty or AppleCare replacing the SSD will void the warranty.
    PlotinusVeritas gives some great suggestions for purchasing external hard drives in this thread:
    https://discussions.apple.com/thread/5602141?tstart=0

  • Query to find out the time used by an user for an application

    Hello All,
    I want to know the query to find out the whole time used by the user for an application. Please view the below data
    Employee:
    SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
    1 10 Visu 21-Nov-2010 06:30:00 07:30:00
    2 10 Visu 21-Nov-2010 06:40:00 07:20:00
    3 10 Visu 21-Nov-2010 06:50:00 07:50:00
    4 10 Visu 21-Nov-2010 07:30:00 08:30:00
    5 10 Visu 21-Nov-2010 09:30:00 10:30:00
    By checking the above data we can say that the total time Visu used the application is
    8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
    10.30 - 9.30 (Based on 5th rec) = 1hr
    So the total time Visu used the application would be 3 hrs = 180 mins.
    Could you please help me in getting the result from that data using a query?

    odie_63 wrote:
    I think it may be solved with analytics too.
    with t1 as (
                select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
                select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
                select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
                select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
                select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
         t2 as (
                select  emp_id,
                        emp_name,
                        emp_date,
                        to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
                        to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
                  from  t1
         t3 as (
                select  t2.*,
                        case
                          when login_time < max(logout_time) over(
                                                                  partition by emp_id,emp_date
                                                                  order by login_time
                                                                  rows between unbounded preceding
                                                                           and 1 preceding
                            then 0
                          else 1
                        end start_of_group
                  from  t2
         t4 as (
                select  t3.*,
                        sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
                  from  t3
         t5 as (
                select  emp_id,
                        emp_date,
                        min(login_time) login_time,
                        max(logout_time) logout_time
                  from  t4
                  group by emp_id,
                           emp_date,
                           grp
    select  emp_id,
            numtodsinterval(sum(logout_time - login_time),'day') time_spent
      from  t5
      group by emp_id
      order by emp_id
        EMP_ID TIME_SPENT
            10 +000000000 03:00:00.000000000
    SQL> SY.

  • Query to find out the list of user who have delete access

    Hi,
    I need a query to find out the list of users who have delete access on perticular folder/universe/ reports  in infoview.
    Please advice.
    Regards,
    Neo.

    orton607 wrote:
    thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
    thanks,
    ortonThis is not possible. The best you could do is to have a good guess.
    Or how would you parse some dynamic statement as this:
       v_suffix := 'loyees';
       v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
       execute_immediate(v_sql);
    ...What is the table name? How do you want to parse that?
    Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts.

  • Need query to find out the sum till a period

    Hi,
    I need to write one query to find out the cumulative sum of raw_cost of table pa_budget_lines till the specified period, I tried to do this by analytical function, but that is not working in Report 10g. Can anybody help me in this.
    Thanks

    not familiar with report but could you do something like this
    with t as
      select 1 grp, 10 * level the_cost, add_months (sysdate,  level) effective_dt from dual connect by  level < 11 union all
      select 2 grp, 5 * level the_cost, add_months (sysdate,  level) effective_dt from dual connect by  level < 11
    input as
      ( select null grp, null the_cost, null running_total,  v_eff_dt effective_dt   from dual)
    select * from(
    select t.grp, t.the_cost, sum(t.the_cost) over (partition by t.grp order by t.effective_dt) running_total, t.effective_dt,
           lead(t.effective_dt) over (partition by t.grp order by t.effective_dt) next_effective_dt,
           input.effective_dt  inp_eff_dt
    from t, input
    where inp_eff_dt between effective_dt and next_effective_dtv_eff_dt would be the input date you are interested in

  • Query to find out the Activities done against a table

    Hi,
    One table has been truncated and data reloaded into the table by the user. But at latter stage user deny that activity. I believe all these activities stored in any oracle 10g database table.
    Need a query to find out the activities done on a specific date say 6th Sep.
    This is too urgent. Thanks in advance

    Hi,
    Welcome to the forum!
    If you don't have enable table auditing maybe you can see last_ddl_time column of user_objects view:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> select * from test2;
          COL1       COL2       COL3
             1          1          3
             1          2          3
             1          3          3
    SQL> select to_char(uo.created, 'DD/MM/YYYY HH24:MI:SS'), to_char(uo.last_ddl_time, 'DD/MM/YYYY HH24:MI:SS') from user_objects uo where uo.object_name = 'TEST2';
    TO_CHAR(UO.CREATED,'DD/MM/YYYY TO_CHAR(UO.LAST_DDL_TIME,'DD/M
    12/09/2009 12:20:26            12/09/2009 12:20:27
    SQL> truncate table test2;
    Table truncated
    SQL> select to_char(uo.created, 'DD/MM/YYYY HH24:MI:SS'), to_char(uo.last_ddl_time, 'DD/MM/YYYY HH24:MI:SS') from user_objects uo where uo.object_name = 'TEST2';
    TO_CHAR(UO.CREATED,'DD/MM/YYYY TO_CHAR(UO.LAST_DDL_TIME,'DD/M
    12/09/2009 12:20:26            12/09/2009 14:01:21
    SQL> Regards,

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

  • Does the "Fill free space with music" not work like it did before?

    Before updating my iphone 4 to iOS5, the fill free space with music seemed to rotate in and out music and also provided space to add more pictures, podcasts, etc.  Now it just seems to fill the phone to the max on the first sync and just leave what it put on there in place.  If I try to add something like a folder of pictures it will only add a few of the pictures because there is no room.  Before I think it freed up room by deleting some of the "free space" music.  I'd like to go back to that.  I really don't want have to had select every song I put on the iPhone when I have more music than my phone will hold.

    Also, how does it decide what to add to the iPhone?

  • Query to find all the view name and their size in GB

    Hi,
    What is the query to find all the view name and their size in GB.I am aware of joining all_views and user_segments but this is not serving the purpose.is there any table i need to join to get the desired result
    Thanks

    You could of course be thinking of views as they are stored in other RDBMS' as some of them actually create the view as a table on the database with a copy of the data in it and maintain that data as the base tables are updated.
    As already mentioned, Oracle just stores the SQL of the View and executes that SQL when the view is queried.
    Alternatively, Oracle also has "materialized views" which are created as snapshots of the data and will have a size. This data is updated (refreshed) based on the parameters used when creating the materialized view which means that it will either be, commonly, when a commit is issued or when a refresh is explicitly requested (refresh on demand).

  • Query to find all the suppliers who has their invoices on hold

    Hi All,
    Query to find all the suppliers who has their invoices on hold (at least 1) .
    Thanks,
    Vamshi

    Pls find the script to find the Hold invoies for those suppliers 
    select aps.VENDOR_NAME,aia.INVOICE_NUM,aia.INVOICE_AMOUNT
    from ap_suppliers aps,ap_invoices_all aia,ap_holds_all aha
    where aia.VENDOR_ID = aps.VENDOR_ID 
    and aia.INVOICE_ID = aha.INVOICE_ID 
    and aha.RELEASE_REASON is null
    Thanks
    Hari

  • What does the "Erase Free Space" function do?

    in the disk utility, there is an option to erase free disk space.
    what exactly does this do?

    From Disk Utility Help:
    "When you delete files by emptying the Trash, Mac OS X deletes the information used to access the files but doesn’t actually delete the files. Although the disk space used by deleted files is marked as free space, deleted files remain intact until new data is written over them. As a result, deleted files can be recovered.
    You can use Disk Utility to erase the free space used by deleted files by having zeros written over the space once, 7 times, or 35 times. If you have a lot of free space on your disk, overwriting the free space several times can take a long time.
    Erasing free disk space does not erase the other files on your disk."
    charlie

  • Setup was unable to use existing system partition because it does now contain the requiered free space.

    I try to install it, but i select my free (fresh formated) partition with 35GB free space and i see:
    Setup was unable to use existing system partition because it does now contain the required free space.
    if i select partition with partition that does not contain the required i see
    "Windows cannot be installed to Disk 0 Partition 1. (show details)"
    so what is it? what can i test?
    My Disk has 250GB, my partitions:
    C: 8MB - Boot (7MB Free) - FAT
    D: 37,5GB - WINXP (27,9GB Free space) - NTFS
    E: 35,3GB - New (35,2GB Free) - NTFS - i want to install on it
    F: 160GB - Data (6GB Free)  - ntfs

    kolorafa_ said:
    I try to install it, but i select my free (fresh formated) partition with 35GB free space and i see:
    Setup was unable to use existing system partition because it does now contain the required free space.
    if i select partition with partition that does not contain the required i see
    "Windows cannot be installed to Disk 0 Partition 1. (show details)"
    so what is it? what can i test?
    My Disk has 250GB, my partitions:
    C: 8MB - Boot (7MB Free) - FAT
    D: 37,5GB - WINXP (27,9GB Free space) - NTFS
    E: 35,3GB - New (35,2GB Free) - NTFS - i want to install on it
    F: 160GB - Data (6GB Free)  - ntfs
    Is this 8MB "Boot" partition (formatted as FAT???) something you created when you partitioned this disk for the Windows XP installation, or is this an 8MB OEM partition that you've somehow assigned drive letter C: to?
    I wouldn't be surprised at all that your error message is being generated because thsi "BOOT" partition, labelled as drive C:, is only 8MB in size, and you can be absolutely positive that an 8MB partition is going to generate this error: "Setup was unable to use existing system partition because it does not contain the required free space."
    The correct answer really depends on whether that drive C: is the boot (sic) (the proper terminology is to call it the system partition) partition for the Windows XP installation. If it is, then you're going to have some repair work to do on your Windows XP installation first, so that you can free up that 8MB partition.
    In any event, I'm fairly certain that the solution is going to require the removal of that 8MB partition, as you've suggested in your most recent post.
    Lawrence Garvin, M.S., MCITP(x2), MCTS(x5), MCP(x7), MCBMSP
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2009)

  • Erase free space function of Disk Utility

    Hi all,
    I've read some of the discussions about the problems that can result from using Disk Utility to permanently delete items that have been emptied from the Trash (and which were not "securely" emptied). Before I use the Disk Utility function, I'd appreciate some advice:
    1. I have an iBook G4, running Mac OS 10.4.11. My hard disk has a capacity of 55 GB with 30 GB available. Does the capacity available matter, and is mine sufficient?
    2. Will I be given an option on overwriting the files 0, 7, or 35 times, and should I choose 7?
    3. How long is this operation likely to take?
    4. Shall I just start the operation and then not touch the computer for a few hours, or overnight, and hope for the best??
    5. A final question (a stupid one, I hope!) -- only those files which were put in the trash will be deleted, right?? Not anything else?!
    I am quite worried about taking the step because, if things go wrong, I won't have a means of contacting the Apple support forum as this is the only computer in our household.
    I am planning on giving this iBook to a nephew in six months or so, and am gradually cleaning it up for that purpose. But I'm not ready to "zero it out" entirely and I am hoping not to lose anything currently on my hard drive following the "erase free space" operation, or to have to reboot from the original CDs.
    If the operation is successful, I will then remember to always use the "Secure Empty Trash" option when deleting future files. I'm assuming that, if I do that, I should have no concerns about giving the laptop away -- correct?
    As you can tell, I'm not very computer savvy, and I'd be very grateful for help. Thank you!

    Open Disk Utility, Highlight your drive on the left, then on the right bottom you'll see Verify Disk & below that Repair Disk grayed out because you can't reopair the HD yo're booted from, if it does need Repair...
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes

Maybe you are looking for

  • Help With boot camp installing on Mac Pro with a ATi Radeon x1900 card

    I go throw the boot camp setup with setting my drive and burning the cd drives from mac os... So when I re start the computer and start installing.. My video card is not working... The screen is all chopped and bars running every were, so I can see w

  • Photos from PC to iphone4s

    how to transfer photos and fils (pdf, ecxel, word) to iphone 4s

  • Passing value from form to form

    Hi, I cannot make any modifications in to an existing form at this time and i have all the informations about this form. the problem is i have to get one field value which is mouse selected by user in that particular form into a new form which i'm wo

  • Error when importing audio

    Hi I'm trying to import audio for a slide and as background, but the importing process seems to start and then I get a message saying "Unable to decode and import the selected WAV MP3 file. What could be the problem? Thanks

  • Does jdeveloper provide BPEL designer and integrations ?

    Hi Thank you for reading my post does Jdeveloper provide BPEL integration? if it has , where i can find tutorials and articles for it if not , is there any plan to integrate bpel designer into jdev ? thanks