Syntax to drop several disks in a single command ASM

Hello

We have 11.2.0.2 with 2 RAC on AIX 7.1 knots. We have the starts in ASM with NORMAL redundancy and the diskgroup has 100 (50 for a failgroup) and 50 for an another failgroup discs.

We will drop 10 discs (5 a failgroup) and 5 from other failgroup since this diskgroup, so that all failgroups have the same number of disks (and sizes also).

So, I need the syntax to drop all ASM 10 of the same diskgroup disks in a single request. Could help me in this area, please?

I can try to use 10 commands, one for each disc to give up but, after the execution of each command/disc, the operation of rate rebalancing will take place and that will make us wait until the re - balance finish to execute the next command in the drop. To avoid time taking orders 10 running one by one, I would drop them all in a single command.

for example, the discs that we will give up are below:

Failgroup: FG1

PATH NAME

----------------------- ---------------------

/ dev/DATAM_L0203_ORCLFG1 NAME ORCL_DATOS_0150

/ dev/DATAM_L0204_ORCLFG1 NAME ORCL_DATOS_0151

/ dev/DATAM_L0205_ORCLFG1 NAME ORCL_DATOS_0152

/ dev/DATAM_L0206_ORCLFG1 NAME ORCL_DATOS_0153

/ dev/DATAM_L0207_ORCLFG1 NAME ORCL_DATOS_0154

Failgroup: FG2

PATH NAME

----------------------- ---------------------

/ dev/DATAL_L0203_ORCLFG2 NAME ORCL_DATOS_0184

/ dev/DATAL_L0204_ORCLFG2 NAME ORCL_DATOS_0184

/ dev/DATAL_L0205_ORCLFG2 NAME ORCL_DATOS_0184

/ dev/DATAL_L0206_ORCLFG2 NAME ORCL_DATOS_0184

/ dev/DATAL_L0207_ORCLFG2 NAME ORCL_DATOS_0184

Thank you very much

for example

alter diskgroup diskgroup_name drop disk ' / dev/oracle/disk197 ',' oracle/dev/disk198 ',' oracle/dev/disk199 ".

Another good resource is lower. You can also use the names of disk instead of paths

ORACLE-BASE - Automatic Storage Management (ASM) in Oracle Database 10g

Tags: Database

Similar Questions

  • Photosmart Premium C310a impossible to scan several files into a single file.

    I often send documents several pages by e-mail, and I can't seem to get all pages of the document 1 in 1 file with the C310a. I don't know if it's the printer or HP Solution Center software. I've used both the scan function on the printer and the HP Solution Center and I'm still not able to scan a document of several pages in a single file. Is it still possible more?

    I use Windows 7 64-bit.  I have to do with HP director on my pcs 2355 printer, by simply choosing the more option to check after each page.

    Try again with the steps indicated by the user ScottBrown2011

    * Thanks to this original post by ScottBrown2011 - http://bit.ly/HPscan2011

    I hope that these steps will help you

    * Click the stars KUDOS to say thanks

    * also click on the Solution button if your question is answered.

  • HP Officejet 6500 a how to scan a document with several pages in a single file?

    HP Officejet 6500 a Plus e-All-in-One - E710n

    Windows 7 (64-bit)

    How to scan a document with several pages in a single file?  After each scan, my old printer (psc 2110) asked if I wanted to scan another page.  In the end, I got a PDF with multiple pages.

    This new creates a file for each page, and I can't find a way to create a PDF with multiple pages.

    Hi mpw101,

    You must press the Add/Remove button, to add pages additionla scanned to the existing file. If you do not see this button try decreasing the analysis DPI setting. Let me know if this helps you?

  • HP3545: How to scan document of several pages in a SINGLE PDF file

    Hello
    I recently bought HP3545 AIO printer. I am not able to scan document of several pages in a SINGLE PDF file.
    Help, please.
    ... Reddij

    Hello Reddij,

    Welcome to the HP Forums!

    I understand that you are unable to scan multiple documents in a single file. I'll do my best to help you and to solve this problem. First of all, I need to know what your operating system on your computer? Click here to discover: Windows or Mac?

    I would recommend performing this step of your computer, the HP software. It is much easier to achieve. Please follow this document HP How to digitize. Click on your appropriate operating system, and then click "how to scan multiple pages into a single file. You will notice indicates: (digitization of additional pages is supported at 300 dpi or less.)

    1. Place a document on the scanner glass, and then click Scan your computer.
    2. When the preview scan appears, click the Plus sign ( ) on the left side of the window to scan additional pages. If you do not use an ADF, you must load the next page of the document on the glass of the scanner to add to each additional page.

    I would like to know how your progress. Impatience on your part.

  • Scanning documents from several pages in a single file

    I have a PC HP and attempt at analysis of a document of several pages in a single file of my all-in-one HP Photosmart 5520 but had no chance.  I can't currently is scan each page separately, but not what I need.  What Miss me?  Thank you.

    Hello

    A plus sign (+), not x. Anyway, if you wish, you can use the following product:

    http://www.PDFSam.org/download/

    This free product allows you to divide a large file to many small files (such as the extraction of the chapters of a thick book) and also merge several pdf files into a pdf file.

    Kind regards.

  • Connection Internet drops several times every 5 to 15 minutes

    Connection Internet drops several times every 5 to 15 minutes.  It is an old ASUS week ultrabook computer that is running Windows 7 Home Premiuim.  The problem is not the network as 4 other wireless computers work properly. Also, same problem is observed on the other two networks.  Only change in the computer as he received is the addition of Kapersky anti-virus and Microsoft Office 2003.  Problem seems to be with Windows 7.  The yellow triangle of death appears on connection bars when the problem occurs.  Disconnect and reconnect the Internet solves the problem for another 5 to 15 minutes.

    It seems to me that it is a possible driver with the card built into your new laptop wireless. You can consider using Device Manager to check to see if there are problems reported with the wireless adapter. Also, I suggest that you visit the manufacturer of the laptop and get the latest available wireless drivers for that brand and model.

    You could also have a hunt in the event log and see if there is any additional details that might shed some light as to why the wireless network has decreased. That his fall is one thing, but the log events might suggest a few reasons for this.

  • The research of several files on several disks in Windows 7

    I recently migrated to Windows 7 computers at home and work after more than use of 25 Windows XPpro and its predecessors.

    One of the features of the older operating systems have been their ability to find several types of files across several disks/sites in the defined date ranges if necessary. All I had to do was to separate the file types and locations by semicolons in the cells of respective request. For example, I could pick up Lotus spreadsheets - *. * WK; *.123; * .bak - in D:\my files; W:\My backup\my files and list them all in, say, date order.

    The system was not perfect: each cell research had a limit of 256 characters, but it was infinitely more powerful that the only research institution found in W7.

    Has the option of looking old really gone the way of all good things, or I'm looking in the wrong places?

    The old search option is really happening

    Yes, it has. Your query is possible, but it is clumsy and slow, and I wouldn't trust the results. For stuff like this, I use Agent Ransack free: http://www.mythicsoft.com/page.aspx?type=agentransack&page=home.

  • Assign several handlers to a single user in Captivate premium

    Is it possible to assign several handlers to a single user in Captivate premium?

    I have a group of users, where I need 3 managers to have access to a group of users (all 3 managers are educators of customer).

    I want to know if I can add three (separated by commas) Manager ID in the CSV download, or if I can perform this action in the user interface of the first, once users have been downloaded.

    Thanks in advance.

    Hello

    We cannot assign several handlers to a user.

    If we add a comma with the Manager separate ID to will gives us the error when loading the CSV.

    Here is the screenshot for the same thing.

    Thank you

  • All disks in a single host went from vSAN

    Hello

    I recently had a power cut at home. My 3 node cluster came back OK, but I noticed that the vSAN was missing lots of storage.

    After investigation, it seems that all the disks in a single host have been abandoned (all 4 were operating before the incident).

    I tried to reboot the host, but this has not solved the problems I encounter.

    My file server is unable to turn on because of that, I think it was resynchronize components during the power failure happened.

    Because I have data on these discs (my file server), I hesitate to re - install ESXi on the host or do something with the disks

    I am due to upgrade my version of 3 disc format, but that he was reluctant to do this either at the present time because of my data!

    Environment:

    - vCenter Server Appliance 6.0 U2 (build 3634794)

    -ESXi 6.0 Update 2 (build 3620759) on all hosts

    Please can someone advise on the measures I should then carry out?

    See below for information and some screenshots.

    Thank you

    Metadata health check informs me that the disks have failed, but all 4 disks functioned as expected before the power failure:

    Metadata health.png

    Research in the "Virtual SAN health status" column, it shows no health information on disks

    g8esxi1.png

    Comparison to another host:

    g8esxi3.png

    The host CAN display the disks on it's HBA, see below:

    g8esxi1 - storage adapters.png

    Update:

    Managed to find the size of the memory heap LSOM and the command 'secret' to increase

    For my own sanity and to keep track of what I did, here's what I did.

    You can see where I had already changed their values before the default.

    Edit:

    The command VMWare wanted to keep this secret is in their archives here:

    http://vmware1140.rssing.com/Chan-4263175/all_p2889.html

    I do not understand why VMware wants to keep this command of the community? Currently, I am testing now with the two heapsizes to the maximum configuration. My host is starting

    He typed at the origin:

    Dear Simon,

    I tried:

    vsish EI Setup/config/LSOM/intOpts/heapSize 2047

    to increase the heapsize memory LSOM has allocated,

    then did restart, without success on 192.168.240.55,

    He is still unable to establish the Group of disks with memory error...

    And this has changed to:

    Dear Simon,

    I tried the command you gave me in the SR to increase the

    HEAPSIZE memory LSOM allocated, then did restart.

    without success on 192.168.240.55.

    He is still unable to establish the Group of disks with memory error...

  • Several links in the single column

    Hello

    I have a requirement to display several links in the single column.

    Example:

    Select emp_name emp #, total_days days, col3, col4 from table

    Here, I need to display a link beside the example of days

    If day > 100 then display "101 CH" where 101 days value and CH is the URL link which will open a popup page. I can't have another column for the link that we have already several columns. So I need a way to display the link with the value next to him. How can I achieve this?

    try to put it in the source of the region

    Select emp_name, emp #,.

    -case when days > 100 then days | " http://Google.com" target = "_blank" > popup' another to_char (days) end total_days, "

    col3, col4 from table;

    This should display "101 popup" when the days more than 100, no popup link on days<= 100="" e,g="" "99"="">

    and the value of the column total_days to the "Reporting Standard column" to allow html tags.

    Change the href attribute and formatting to meet your requirement

  • How to combine several PDF in a single

    I can't find out how to combine several PDF in a single document with Illustrator.

    Help, please!

    Brooke,

    It depends on your version.

    In older versions (one page PDF), you can

  • I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    Hello

    Reader is software to view PDF' only.

    You must either a pack PDF to perform the function of thin or Acrobat.

    Reader is not the software to perform editing functions.

    Concerning

    Sukrit diallo

  • How can I combine several PDF in a single document

    How can I combine several PDF in a single document

    Hi teekbe143:

    Please visit: http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-merge-pdf-fichiers-tutoriel-ue.pdf

  • Dropping several tables

    Hello

    I have 3 tables, year, Gallery and photos. Tables of the year and the gallery are interconnected via the primary id key year tables and photos table is related to the gallery via the id primary key table tables Gallery, as follows: -.

    Picture of the year

    Year_ID

    year

    Gallery Table

    gallery_id

    Year_ID

    name

    Table photos

    photo_id

    gallery_id

    image

    Legend

    I want to be able to delete a year, all the galleries related to the year and delete all the photos associated with these galleries in a single command. When a gallery and or a photo id does not exist, I still want to be abl eto remove the year. I think I have to do this by using a left join, but I'm struggling with the concept / the structure of the command.

    Any pointers in the right direction would be greatly appreciated.

    Thank you.

    You don't mention what DBMS you are using. If your DBMS allows it, you can create your foreign key with cascading deletes constraints. There are some pitfalls with this then make sure you understand what you do.

    If you do not want to go this route, many DBMS support several deletions from table, but I wouldn't recommend it. Personally, I'd build just 3 delete statements; start with photos, then the Gallery, and then the year.

  • Need for the sql query to have several columns in a single coulumn

    Hi all

    I need create the query to have several columns in a single column with several lines.

    Select a.customer_trx_id, a.previous_customer_trx_id
    of ra_customer_trx_all one
    where a.customer_trx_id =: customer_trx_id

    Here, a.customer_trx_id and a.previous_customer_trx_id are in two columns. I need to put them in a single column.

    Say: the foregoing is output
    --------------------------------------------------------------------------------
    a.customer_trx_id a.previous_customer_trx_id

    --------------------------------------------------------------------------------
    123456 87654

    --------------------------------------------------------------------------------

    Need for a single column

    As


    --------------------------------------------------------------------------------
    123456
    87654

    --------------------------------------------------------------------------------

    Please do the needful. Please note that it is not the UNION.

    Thank you
    Abdul

    Hello

    You want a way to confirm that what looks like two rows is really a line?

    Here are three ways:

    (1) count the lines:

    WITH  my_original_querry     AS
    (
         select  a.customer_trx_id || CHR(13)
                          || a.previous_customer_trx_id     as id
         from      ra_customer_trx_all     a
         where      a.customer_trx_id      = 274881
    )
    SELECT     COUNT (*)
    FROM     my_original_query;
    

    (2) in SQL * Plus, have SQL * more count them for you:

    SET     FEEDBACK     1
    
    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    

    (3) implicitly count them with the ROWNUM Pseudo-column

    select  a.customer_trx_id || CHR(13)
                     || a.previous_customer_trx_id     as id
    ,     ROWNUM
    from      ra_customer_trx_all     a
    where      a.customer_trx_id      = 274881;
    

Maybe you are looking for