Solved

candidate disk

Posted on 2014-03-31
5
302 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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 explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

809 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