Solved

candidate disk

Posted on 2014-03-31
5
303 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
  • 3
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
David earned 500 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

828 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