On v880 : "metadb:  has bad master block on device"

Hi,
 In my production environment I have a v880 server.  While I was trying to replace a bad disk I had the
message:   metadb: oradb1: has bad master block on device, when I ran the metadb -a -f -c3 /dev/dsk/c1t1d0s5 
I can not find any information on the internet. Also, I have seen the thread https://community.oracle.com/thread/1918834, which is very old.
According to the thread I have to split all the submirrors and create the mirrors again. That is very difficult for me to do it, because I have mounted volumes.
Any ideas?
Regards,
Panos

OK - after talking with a very knowledgable/helpful guy in Sun's storage group, the problem is solved. It turned out that since the new disk had a different DevID, the mirror did not get correctly restored. The solution was to do the following (note: d23 is the slice where I was trying to create the state db):
# metaclear d23
# metadb -a -c 2 c1t11d0s7
# metattach d3 d23
He also referred me to doc 73132
Thanks Dan!

Similar Messages

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

  • HOWTO: Avoid go to detail block without fullfill the master block?

    Hi:
    I have a master detail form with 2 blocks. When the user open the form the focus is on the first text item (required = yes) of the master block. If the user tries to get out of that item with keyboard (tab or enter), it gets the correct message saying that the item is required and must be filled. But the problem starts when the user click with the mouse on another item of the detail block. Here, I will have 8 or 9 messages saying that is impossible to create records without a master record. This is really annoying. This message has no ID (FRM-XXXXX), and I really must get a way to forbide users to go to the detail block without filling required items in the master.
    Anyone?
    Best Regards
    Joao

    Hello,
    if there is a relation between the two blocks double click on that rel.and mark the check box property:prevent Masterless operation try this option and tell me what's ur feed back..?
    Regards,
    Abdetu..

  • Change in master block record not cascading to detail record blocks

    Using Forms [32 Bit] Version 10.1.2.2.0 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    I am encountering the following problem in my form:
    I have a master block that has 2 associated detail blocks, one of which acts as a master block for another detail block:
    Master ---- Detail
             \__ Detail(master) ---- DetailThe first two detail blocks are joined to the master block on 3 fields, a date, a 10 digit code and a 5 digit code.
    The third detail block is joined to its master block by 4 fields, 2 dates, the 10 digit code and the 5 digit code.
    The problem I am encountering is when any of the fields that the blocks are joined on are updated in the master block (they don't show up in the form for the other blocks, it auto populates them) the detail blocks are not also updating and the records are being orphaned.
    So if my master block has the following data:
    January 1, 2009
    1234567890
    abcde
    And there are detail records matching this, but the master block changes too:
    January 1, 2009
    1234567890
    edcba
    Rather then the detail records being updated with this new 5 digit code, it shows up blank on the database as it cannot find detail records that match that new set of data. The records still exist in the table, but they are not updated when the master block is updated. Do i need to change the relation properties of the blocks?

    It is not a good practice to update the primary key values especially when those fields act as foreign keys.
    So it will be better to make those fields UPDATE_ALLOWED false.
    If that is an unavoidable condition, in the pre-update trigger of header block, write the update script to update those fields and re-query the detail
    Or
    in key-commit
    loop thru all the records in detail blk and assign values to those feilds and save it

  • Incorrect Where Clause being set in Master Block

    I got a strange error the other day. I have 2 database blocks in a form and the blocks are based on views. So, lets say Block1 is based on View1 and Block2 is based on View2. Block1 and Block2 are also in a Master Detail relationship. So, Block B1 is the Master and Block B2 is the Child.
    So, our error routine captures the last query that was run by doing a :SYSTEM.LAST_QUERY. What was interesting was that a user got Error FRM-40505 which basically means "ORACLE error: unable to perform query".
    Looking at the Last Query, it basically tried to get the WHERE Clause from the View2 instead of the View1 in which case there was a problem Querying that block and thus getting Error 40505.
    The where clause that is being created is actually coming from the where clause of View2 which has been set up in the Property Sheet value.
    Am not putting any code here for now but if that helps, I can put some code in there.
    Any help is appreciated.

    If you are executing a query from one of your own buttons or some other programmatic manner be sure focus is in the master block. Remember that if you are clicking on a button, focus is moved to the button. In this case, your first line of code in the button should be something like GO_BLOCK('MY_MASTER_BLOCK')
    If that doesn't help, I would recommend creating a new form. Use the Data-block and Layout Wizards to create the master block then the detail block. Allow the Wizard to create all the code needed for the relationship. Once this relationship has been created, manually create a new block. Be sure that the new block is positioned below your first two blocks. In other words:
    + Data Blocks
    ...+ master_block
    ...+ detail_block
    ...+ my_block
    Add one text item to this new block. Set the max number of characters to 32767 and set Multiline to YES. Now create a form level, POST-QUERY trigger doing something similar to what you mentioned already doing:
    :text_item1 := :system.last_query

  • Multiple master blocks populating the same detail blocks

    Hey guys. Im doing something a little weirder than I usually do but I can't get it to work correctly and im wondering if any of you have accomplished this before.
    I have a call center application which processes applications by either the application or by follow up. The application and follow up are each a block by themselves located on a separate pages on a tab canvas. Both these blocks are master blocks to the detail blocks which would be user_phones, user_addresses, user_bank_accounts, etc. The idea is I can use either page of the tabs and flip through either the follow up, or application master block and have it populate the user tables according to the user_id found on the master blocks. I figured I could use a when-new-block-instance trigger to switch off which block fires the on-populate-details trigger.
    The problem is.... complicated. If I go to the follow up block and execute query, it brings back the right information on the detail block. The strange thing is it seems like when I move the cursor to a different record on the same block, forms is almost setting a SET_BLOCK_PROPERTY DEFAULT_WHERE action. This is un-noticeable until i go to the other master detail block. When I start using the applications block, it seems like all the detail records actually MATCH the user_id that the cursor was on in the follow up block...
    phew! thats a lot of description for such a strange problem..
    Anyways. Anyone encountered this before? Has anyone ever built a two master block form to populate the same detail block? Is it possible? I haven't found a thread in the forum about this subject..
    Any help would be great. Thanks in advance :)

    Having one detail block for two master blocks was never a use case that we considered for Forms. It sounds like you are trying to make a many-to-many relationship work with two master blocks. I suggest you think about having an intermediate block (hidden or not) that drives the detail block and make each master block drive that intermediate block instead of driving the detail block directly.

  • How to set custmer master block for posting & how to set the status .....

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. Use an appropriate subject in your message thread. >
    Hi ...
    How to set custmer master blocked for posting & how to set the status has deleted. please provide the steps for the above two actions.
    thanks

    Hi,
    U can use T-code FD05 for Blocking the customer and
    T-code FD06 in order to set for deletion,
    Assign Points if useful,
    Regards,

  • Searching master block based on value in detail block

    I have two blocks on a form. A master block for purchase orders and a detail block for the line items. I need to provide users with the ability to search the purchase orders based on the values entered into the detail block (line items), during the query entry. I am considering to check to see which block the cursor resides by using the :SYSTEM.CURSOR_BLOCK variable, then retrieving the value from the current item and running a query, using that query. The problem is that I am not very familiar with Forms and do not know how to implement my idea. Any ideas?
    null

    I copied you an example from metalink. Hope it will help.
    Doc ID:
    Note:109583.1
    Subject:
    How to query a Master record from a Detail Block
    Type:
    BULLETIN
    Status:
    REVIEWED
    Content Type:
    TEXT/PLAIN
    Creation Date:
    22-MAY-2000
    Last Revision Date:
    03-AUG-2001
    PURPOSE
    ------- To query a master record from a detail record. DESCRIPTION
    =========== The user would like to enter a query criteria in the detail block
    and then query the master record based on the above user input. SOLUTION
    ======== Create the master and detail blocks and the relationship in the usual
    manner. We will consider here the blocks DEPT and EMP based on the
    SCOTT schema. 1. Create a KEY-ENTQRY trigger at the block level of the detail block
    (EMP) and add the following code in it : GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    GO_BLOCK('emp');
    ENTER_QUERY; 2. Create a KEY-EXEQRY trigger for the detail block and add
    this : EXECUTE_QUERY;
    :global.deptno := :emp.deptno;
    :global.flag := 'T';
    GO_BLOCK('dept'); This will store the value of the deptno (primary key) in a global variable
    :global.deptno and set another global variable :global.flag to 'T'. This
    will be explained as we progress. 3. Create a WHEN-NEW-RECORD-INSTANCE trigger for the detail block
    and add the following : -- This is used to populate the MASTER block with the corresponding
    -- record whenever the user navigates through all the records in the
    -- DETAIL block if get_record_property(:system.cursor_record,:system.cursor_block,status) = 'QUERY' then
    SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :emp.deptno; -- This is to set the status of the record populated
    -- to QUERY and not to create a new record SET_RECORD_PROPERTY(1,'dept',status,QUERY_STATUS);
    end if; 4. Create a WHEN-NEW-BLOCK-INSTANCE trigger for the master block again
    and add this : if :global.flag = 'T' then -- set the variable to a different value
    :global.flag := 'F';
    :dept.deptno := :global.deptno; -- This will query the master table for the record based on the
    -- deptno of the detail table which is stored in :global.deptno -- For ex: if an employee of department 10 has been queried in
    -- the detail, then the global.deptno will have the value 10,
    -- which is used in the query below to fetch the master record. SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :global.deptno;
    set_record_property(:system.cursor_record,'dept',status,QUERY_STATUS);
    GO_BLOCK('emp'); end if; EXPLANATION
    =========== Actually in the above method we are using the base table blocks as a
    non-base table block when we query the master from detail. We are
    displaying the master record fetched from the table based on
    the query supplied in the detail. So after the fetch, if we clear the
    block or form then we get a "Do you want to save the changes you have made"
    alert. So in order to supress this while entering a normal master-detail
    query, we have created the global variable, :global.flag. There is a limitation though, if you query detail records and then
    navigate to the master block and then press the down arrow( i.e.,
    navigate to the next record) and then presses the up arrow to
    navigate back to the same record, then the detail records that
    were originally populated will change and a new set of records will
    get displayed. This is because the normal master-detail query is
    taking place during MASTER record navigation. This can be controlled by creating a flag (global variable) and setting
    its value and thus preventing the user from navigating to the next master
    record. Do the following : 1) In the KEY-EXEQRY trigger of the detail add the following :global.control_master := 1; 2) Create a KEY-EXEQRY for the master and add this : :global.control_master := 0;
    EXECUTE_QUERY; 3) Create a KEY-DOWN in the master with the following in it: IF :global.control_master <> 1 THEN
    down;
    END IF; Declare all the global variables before running the Form. RELATED DOCUMENTS
    Note:611.1

  • BAD SUPER BLOCK: MAGIC NUMBER WRONG

    My Mac mini started playing up a couple of weeks ago, I thought it was the attached firewire drives, but it looks like a problem on the hard disk. I've been trying to fix this and I need help!
    - I tried to restore leopard - only to find my leopard install disc is corrupt. I tried to make a copy with toast, but that failed, a couple of times
    - So I've tried to use disk utility. I try to repair the volume. It gets to 'Checking Catalog file'. Then it gives the messages:
    Invalid Key length
    Volume check failed
    Eror: Filesystem verify or repair failed.
    - Then, booting from another leopard disk (for another machine, so I can't install from it), I've been running fsck. It says it can't the superblock, when I make suggestions I get the above message 'Bad super block': magic number wrong'. Any idea where there might be another valid copy of the superblock?
    So, I'm a bit stuck. It's really annoying that the leopard disk that I bought doesn't copy and doesn't install.
    Any suggestions gratefully received!

    How to Make a Non-Commercial DVD copy of MAC OS X Leopard
    Making a DVD Image

    Step1. Insert the retail Mac OS X Install DVD into your drive.

    Step 2. Launch Disk Utility (Applications > Utilities).

    Step 3. In Disk Utility, you will notice a white pane on the left hand side. In the pane, select the Mac OS X Install DVD by clicking on it once.

    Step 4. Click New Image on the Disk Utility toolbar.

    Step 5. A dialog box will appear. Give the new image a name. I used 'Mac OS X Install DVD'. Select the destination where you wish to save it. Leave Image Format at Compressed (default) and Encryption at None (default).

    Step 6. Click Save to begin creating the image.

    Step 7. Once your image has been created DO NOT mount it. Leave the image alone and proceed to the next section.
    

Burning the Image
    
Step 1. Launch Disk Utility (Applications > Utilities).

    Step 2. Click Burn on the Disk Utility toolbar (upper left).

    Step 3. Navigate to where you saved the DVD image created in the previous section. Click on the image file, then click the Burn button. Do not drag and drop the image file into Disk Utility during this step.

    Step4. Insert a DVD when prompted and proceed to Burn it. (use good quality media)
Using these exact steps I was successfully able to create a personal backup copy of Mac OS X Leopard. I hope this tutorial helps.

  • Set default value in master block of MD form

    I am finding it impossible to put a default value in a field in
    the master block of an MD form. It is essential to limit my
    users' queries to their own account. I get an error when I try
    to put a default value in, and I can't get it to respond to
    p_session.set_value in the query PLSQL section. The form appears
    on a subpage, so I can't call it with parameters. Anyone have
    any ideas? Has anyone else experienced this limitation with
    MDforms?
    Karli

    Mike,
    Thanks for your reply.
    First I just tried setting the default value for the field
    client_id (as a function returning a number) in the options box
    of the form builder. This works for my other forms, but here it
    gives me the following messages:
    Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-06502: PL/SQL: numeric or value
    error: character string buffer too small (WWV-16042)
    Error creating module: ORA-06502: PL/SQL: numeric or value
    error: character string buffer too small (WWV-16042)
    Error adding module attributes: ORA-06502: PL/SQL: numeric or
    value error: character string buffer too small (WWV-16043)
    I tried setting the default as a number, 2, and got the same
    message. Therefore I decided to work around it, and just set the
    value before Querying, as follows:
    declare v_survey number;
    begin
    v_client := 2;
    p_session.set_value(
    p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_CLIENT_ID',
    p_value => v_client
    end;
    doQuery;--- This is the default handler
    (NOTE: I actually have a function that I want to call to set the
    default. I just used the number 2 to eliminate any unnecessary
    complexity while troubleshooting.)
    This code had no effect. I get no errors, but when the query is
    run, it ignores my attempt to set the value of the attribute. I
    suspected that perhaps this was because the doQuery procedure
    resets or ignores the master value appearing in an MDform, so I
    tried commenting out 'doQuery;' - It did not even put the value
    into the form. What am I missing?
    Karli

  • Fsck: "Bad super block: magic number wrong"

    One of my 750 Gig FireWire drives behaves peculiarly, all the files stopped opening on it. Disk Utility doesn't see anything wrong, DiskWarrior 4 didn't fix the HD's behavior, DataRescue II was willing to rescue files... but 750 Gigs' worth? Who has that big of a spare HD.
    So I booted in Safe mode and ran the following fsck command from Terminal:
    /sbin/fsck -f /dev/disk3s3
    I received the following answer:
    "BAD SUPER BLOCK: MAGIC NUMBER WRONG
    LOOK FOR ALTERNATE SUPERBLOCKS? no"
    My UNIX knowledge pretty much ended at this. I surmise from the answer that I won the UNIX "corrupted directory" jackpot. Does anyone know what commands I should enter to look for alternate superblocks or perform some other remedial action here? Thank you in advance

    George,
    When you formatted the drive, did you re-partition it and format it with HFS+? It seems partitioned by another OS, which allows HFS+ volumes. Did you use a boot loader, so you could boot two OSs from the disk? I'll just offer some more things sighted, not insights.
    This is looking like a common problem, though; so I could use some help with ownership & permissions from someone. It would seem that Tiger & Leopard both mount NTFS partitions read only, but NTFS-3g's permission system is similar enough to Unix's that it can be mounted read/write.
    MacFUSE appears to do things with 'FUSE', a mystical object at first glance, one whose permissions can be converted to either HFS+, ext2, or usf. The ownership & permissions appear to change with where the external drive is mounted on the boot disk's file tree. I assume you know all about these things.
    Is using them together a good idea? In any case, they both allow a file system to be mounted read/write, and modify the Mac OS itself. Here's an interesting remark from the MacFUSE FAQ:
    +Q 3.2. After installing MacFUSE, I can't mount any disk images, optical discs, etc. What's going on?+
    +A: It's likely that you installed a broken ntfs-3g package you found on the Internet. The package might be interfering with the disk image/disc mounting process. Try removing the /System/Library/Filesystems/ntfs-3g.fs/ directory.+
    Also, Leopard's update 10.5.1 has the sentence:
    +Addresses formatting issues with certain drives used with Time Machine (specifically, single-partition MBR drives greater than 512 GB in size as well as NTFS drives of any size and partition scheme).+
    You can check the volume's ownereship & permissions with a Ctrl-click 'Info Menu' on the mounted volume's icon. Does all look OK?
    Wish I knew more, but perhaps these observations will give you some ideas. Best of luck.
    Bruce

  • User Exit or BADI for Blocking process orders from R/3 to APO?

    Dear Experts,
    I am looking for a user exit or badi to block the process orders from R/3 to APO. As per standard it is not transferring orders which are clsd(closed status). Means that it is not updating live cache but its reading from R3.
    We are facing some problems in cif queues which are not correctly maintained in R3 side. We dont want to touch those orders bcoz its very old data which is not required for planning.
    There will be huge data which needs to be deleted while transferring through cif.
    Please give any user exit (outbound intial transfer) from R/3.
    Or any sugg. I apprecite your inputs...
    Thanks
    Cris

    Hi Cris,
    You can use user exit APOCF004 - Inbound Processing: Production Order/Planned Order in APO to prevent orders coming to APO by deleting orders which are not intended to goto APO from internal tables IT_ORD and IT_OUT.
    Hope this helps.
    Best Regards,
    Ramesh M

  • Hotmail help says to optimize Firefox to correct Attachment ID has bad format problem when there is not attachment - how do I optimized Firefox 3.6.12?

    Several day ago my Hotmail acct seemed to be hacked as the following email
    ''I think this is a nice website,I like it very much.If you have time please browse it.Maybe you can find some products that are suitable for you.Their priciple is :100% original and brand new,100% satisfied! Their address http://dpzc.net/#512.com/img/26_qtr.jpg/
    Email:[email protected]
    Msn: [email protected]''
    was sent to my entire address book, and now when I try to sent a hotmail I get an error message saying Attachment Id Has Bad Format, even though there is no attachment. (This problem does not happen in IE8)
    I did Hotmail help and their response was ''''I advise you to optimize your browser. If you have a browser that’s not Internet Explorer, you can visit its Help section.''''
    How do I optimize Firefox 3.6.12?
    or what other suggestions do you have

    Delete any traces of Silverlight from your HD, you will be able to send attachments normally thereafter.

  • Attachment id has bad format

    I get error message 'attachment has bad format id' when I'm try to sent a attachment in hotmail.com started when I upgraded to mac os x version 10.7

    Try removing spaces from the filename - that worked fine for me. Seems like one of the penalties of using Hotmail...

  • My exported 2015 iMovie file has bad quality.

    Hello.
    I just got a new MacBook pro, OS X Yosemite 10.10.3.  Using iMovie 10.0.7 (the latest version to my knowledge.)
    I realize that this question has been beaten to death all over the internet, but I haven't made any headway STILL.  I just completed an edit that looks AMAZING in iMovie, and when I export it, the file is very distorted.  I'm exporting at the highest quality (1080p) and the file ends up being 8GB (8 minute movie) which I would think a big file like that would produce good quality.
    I'm stuck.  Any help would be greatly appreciated. 
    Here's the upload (notice the distortion and grainy-ness during motion, again looks AMAZING in iMovie.)
    https://www.youtube.com/watch?v=eeQ85ybI_II
    Mike

    iMovie file has bad quality.
    hmmm, really?
    I pick up a scene ...
    <click for fullsize>
    This is a 'killer' for any encoder! Those ultra-soft gradient in the sky shows no banding!
    Not to say: superb! Compare to a less encoded version:
    <click for fullsize>
    you see? THAT is bad quality! Tons of banding in the sky...
    ... post a scene, which doesn't fullfill your standards …
    btw: what camera in use? settings? a GoPro I assume, those 'cinema' settings?
    PS: you let YT play it in as 720/1080? ....

Maybe you are looking for

  • Bookmarks in online PDF

    I have a very large PDF file which I want to put online. Since it's so large, I would like to have a link to the document open at a targeted bookmark. Is there anyway to specify this in a link? I am currently using Acrobat Pro 6.0. Any help would be

  • What is including in the other section of my memory and how do I manage it?

    I'm running out of memory and I can't seem to find out what is in the section labeled as other when I connect the Ipad to itunes. Can anyone help?

  • Bank stmt issue

    hifriends I have doubht, In FF67, Manual bank stmt display, in that bank stmt some transactions are showing Posting completed ,some transactions are showing posting incompleting, if we double click on posting incomplting status field showing  g/l pos

  • Does siri for ipod 5 (IOS6) need internet for everything

    Does anyone kow if siri for ipod 5 (IOS 6) needs internet for everything, even simple tasks like setting an alarm or opening and app which do not need the internet. Thanks

  • Sa has no permission to create device

    I connect ASE as sa on linux with isql from PC and try to create a device and got permission error. "dcreate: error creating /dev/raw/mydev.  System message is: Permission denied How to resolve this provlem? what account on linux is mapped to sa?