Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

candidate disk

Posted on 2014-03-31
5
Medium Priority
?
311 Views
Last Modified: 2014-04-06
How we will find the candidate disk..
want to find out the unused disk  
which command..
v$asm_disk  ----?
of lsdg from asmcmd

Please advice..
0
Comment
Question by:tonydba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
David earned 2000 total points
ID: 39967418
Quick toss while I read for a better answer:

"SELECT
 NVL(a.name, '[CANDIDATE]') disk_group_name
 , b.path disk_file_path
 , b.name disk_file_name
 , b.failgroup disk_file_fail_group
 FROM
 v$asm_diskgroup a RIGHT OUTER JOIN v$asm_disk b USING (group_number)
 ORDER BY
 a.name;"

From http://oracleracdba1.wordpress.com/2012/10/12/how-to-add-disk-to-asm/
0
 

Author Comment

by:tonydba
ID: 39969833
Actually there is an error when I ran it

SELECT NVL(a.name, '[CANDIDATE]') disk_group_name
, b.path disk_file_path
, b.name disk_file_name
, b.failgroup disk_file_fail_group
FROM v$asm_diskgroup a RIGHT OUTER JOIN v$asm_disk b
on a.group_number=b.group_number
ORDER BY a.name;

Because of error I modified as above..

still not working
0
 
LVL 23

Expert Comment

by:David
ID: 39970238
Which error, where marked (run it in sqlplus and look for the parse mark *)?  You have permissions to select on the views?
0
 

Author Comment

by:tonydba
ID: 39970252
the query is displayed followed by   1 2 3 4 5.

no error messages..
0
 

Author Closing Comment

by:tonydba
ID: 39981672
yes unused disk
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question