Solaris 10 08/07: raidctl Array in use

Seem to have some trouble with the "new" raidctl in Update 4 to set up hardware mirroring on a V440.
This used to work in Update 3.
+# uname -a+
SunOS <snip> 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V440
+# cat /etc/release+
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
+# raidctl -l+
Controller: 1
Disk: 0.0.0
Disk: 0.1.0
Disk: 0.2.0
Disk: 0.3.0
Controller: 2
+# format+
Searching for disks...done
AVAILABLE DISK SELECTIONS:
+0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>+
+/pci@1f,700000/scsi@2/sd@0,0+
+1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>+
+/pci@1f,700000/scsi@2/sd@1,0+
+2. c1t2d0 <FUJITSU-MAW3073NCSUN72G-1703-68.37GB>+
+/pci@1f,700000/scsi@2/sd@2,0+
+3. c1t3d0 <FUJITSU-MAW3073NCSUN72G-1703-68.37GB>+
+/pci@1f,700000/scsi@2/sd@3,0+
Specify disk (enter its number): ^D
+# raidctl -f -c c1t0d0 c1t1d0+
Array in use.*
+# raidctl -f -C "0.0.0 0.1.0" -r 1 1+
Array in use.*
I'd like some input on how to work around this behaviour change.
Thank you.

Hi, I just set up a T2000 with Sol10u4 raidctl, I get the following.
root@sungen5-10# raidctl
Controller: 0
Volume:c0t0d0
Disk: 0.0.0
Disk: 0.1.0
Network booted from Sol10u3, mirror output reads correct, deleted and recreated the mirror using Sol10u3 raidctl, reads correct, booted Sol10 U4 >>>
root@sungen5-10# raidctl
Controller: 0
Volume:c0t0d0
Disk: 0.0.0
Disk: 0.1.0
:(

Similar Messages

  • How do you create an array without using a shell on the FP?

    I want to be able to read the status of front panel controls (value, control box selection, etc.) and save it to a file, as a "configuration" file -- then be able to load it and have all the controls set to the same states as were saved in the file. I was thinking an array would be a way to do this, as I have done that in VB. (Saving it as a text file, then reading lines back into the array when the file is read and point the control(s) values/states to the corresponding array element.
    So how do I create an array of X dimensions without using a shell on the front panel? Or can someone suggest a better way to accomplish what I am after? (Datalogging doesn't allow for saving the status by a filename, so I
    do not want to go that route.)

    Thanks so much m3nth! This definitely looks like what I was wanting... just not really knowing how to get there.
    I'm not sure I follow all the icons. Is that an array (top left with 0 constant) in the top example? And if so, that gets back to part of my original question of how to create an array without using a shell on the FP. Do I follow your diagram correctly?
    If I seem a tad green... well I am.
    I hope you understand the LabVIEW environment and icons are still very new to me.
    Also, I had a response from an NI app. engineer about this problem. He sent me a couple of VI's that he threw together approaching this by using Keys. (I still think you are pointing to the best solution.) I assume he wouldn't mind m
    e posting his reply and the VI's for the sake of a good, thorough, Roundtable discussion. So here are his comments with VI's attached:
    "I was implementing this exact functionality this morning for an application I'm working on. I only have five controls I want to save, but they are all of different data types. I simply wrote a key for each control, and read back that key on initialization. I simply passed in property node values to the save VI at the end, and passed the values out to property nodes at
    the beginning. I've attached my initialize and save VI's for you to view. If you have so many controls that this would not be feasible, you may want to look into clustering the controls and saving the cluster as a datalog file.
    Attachments:
    Initialize_Settings.vi ‏55 KB
    Save_Settings.vi ‏52 KB

  • How to read XI Data type in Java code and populate as array list, using UDF

    Hi,
    How to read XI Data type in Java code and populate as array list, using UDF?
    Is there any API using which  the XI data types can be read?
    Kindly reply.
    Richa

    Input Structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:CustomerCreateResp xmlns:ns0="urn:bp:xi:up:re:cust_mdm:cmdm:pr5:100">
       <CUSTOMER>
          <item>
             <CUSTOMERNO/>
             <MDMCUSTOMER/>
             <CREATE_DATE/>
             <RETURN>
                <TYPE/>
                <MESSAGE/>
             </RETURN>
             <PT_CONTPART_RETURN>
                <item>
                   <MDM_CONTACT/>
                   <CONTACT/>
                </item>
             </PT_CONTPART_RETURN>
             <PARTNERS>
                <item>
                   <CUSTOMERNO/>
                   <PARTNER_FUNCTION/>
                   <PARTNER_NUMBER/>
                   <DEFAULT_PARTNER/>
                </item>
             </PARTNERS>
          </item>
       </CUSTOMER>
    </ns0:CustomerCreateResp>
    Output structure
    (Sample output structure.This actually needs to be mapped and generated using UDF)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:updateCustomer xmlns:ns1="urn:xiSericeVi"><ns1:customer><ns2:ArrayList xmlns:ns2="java:sap/standard">[]</ns2:ArrayList></ns1:customer><ns1:name>2344566</ns1:name></ns1:updateCustomer>

  • Creating an array without using "auto-indexing"

    Hello,
    it is terrible! I'm new in working with LV5.0 (Evaluation) and I can't
    find any examples how to write data into an array without using the
    function "auto-indexing" of the "WHILE" or "FOR"-loops..
    The values do not appear all at the same time, so I can't use the
    "create_array" function.
    So I want to "collect" all occured values and then write them e.g. in a
    file.
    Did I miss anything in the description ???
    Who can help me?
    Thanks, CHZ

    CHZ wrote in message news:[email protected]..
    > Hello,
    > it is terrible! I'm new in working with LV5.0 (Evaluation) and I can't
    > find any examples how to write data into an array without using the
    > function "auto-indexing" of the "WHILE" or "FOR"-loops..
    > The values do not appear all at the same time, so I can't use the
    > "create_array" function.
    > So I want to "collect" all occured values and then write them e.g. in a
    > file.
    The "Create array" function can be configured to take arrays as well as
    elements. You have to use a loop that iterates as often as necessary,
    checking for new data. When it receives new data, it adds the new data to
    the existing array. It's probably easier to attach a small example than to
    describe it in more
    detail.
    [Attachment Array.zip, see below]
    Attachments:
    Array.zip ‏10 KB

  • Finding the largest values of an array without using if condition

    Hi,
    I am trying to find the largest values of an array without using any if condition. Can any one tell me the solution for that..
    Thanks

    I am trying to find the largest values of an arrayThe 'S' to values suggests that you want not only the largest one, but multiple ones among the largest ones. The best way, I think, is to sort the array, so that its largest values are grouped topgether. If the type is already Comparable, the following single line does the job:
    Collections.sort(myArray);After this, the last values of the array are the largest ones.
    Jerome.

  • Solaris 8 install: Compaq Smart Array 431 Controller

    How do I get Solaris to recognize the Smart Array 431 controller? It can't find any suitable disks under installation.

    I was also wondering why this support was removed since it was in 2.5.1, 2.6, and 2.7? I wish to upgrade my servers to 2.8 however no support for the Array controller. I looked around and Microsoft NT/2000 looks like the only NOS that still contains support for the Compaq Array Smart Controller (EISA). Is it because Microsoft is a Monopoly, or people buy it because they still support legacy hardware/software?

  • Q: Which array to use?

    Dear news-readers,
    I'm facing a tremendous problem; I'm working on a Multiple Selection
    listbox, where each selection shall bring up an instrument for the user.
    Problem is that I don't understand which array to use to get it to work?
    I'm trying to wire my selection-output into a case (after studying some
    examples, I thought this was the right way to go), and by adding cases
    having VI's pop up on the front panel for each selection that I make.
    Anyone......?
    Regards
    Kjell Siimon
    Gothenburg / Sweden

    Kjell Siimon wrote in message
    news:[email protected]..
    > Dear news-readers,
    >
    > I'm facing a tremendous problem; I'm working on a Multiple Selection
    > listbox, where each selection shall bring up an instrument for the user.
    > Problem is that I don't understand which array to use to get it to work?
    ISTR (may be wrong, it's a while since I last used one) that what's returned
    is an array of strings, one string for each item selected. So feed this
    array autoindexing into a FOR loop and put your case structure inside the
    loop to process each selected string.

  • Rc.conf: A reasonable DAEMONS array when using sysvinit is?

    My latest rc.conf.pacnew suggests that having a reasonable DAEMONS array when using sysvinit is a good thing to have.
    Right now the only line left I am using in my rc.conf is:
    DAEMONS=(syslog-ng net-profiles dbus crond ntpd)
    But is it a reasonable Daemons array?

    If you need a daemon after booting the system, add it to the array. If a daemon requires another daemon, put it after the dependency. If a daemon does neither depend on anything like other daemons or network, put it in the and and write @daemonname to start it in the background. My other rules of thumb used to be: start syslog early, start dbus early.

  • 1d cluster array replace value in a 1d boolean array (without using Loop)

    Hi ,
    is there a way to replace the values (string , boolean) ​​of a 1D array Cluster with value of 1D boolean array without using loop ?
    Regards
    Simone
    Attachments:
    111.png ‏75 KB

    Replace Array Subset requires that the array elements are type compatible with the elements that you want to replace. That seems not the case in your example.
    And the For Loop is anything but slow. How many billion elements do you expect your array to have to worry about performance of the for loop? With the type definition of your example even a ready made LabVIEW function would have to do internally a for loop too, since the boolean data inside the original array can not be in a continous memory area.
    Maybe if you show us what you try to do with the for loop we can understand better what your concerns are. As it is from the front panel image alone it is really hard to understand what your imagined problem might be.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Help with 2D array input using a text file

    I'm writing a JAva program using BlueJ, which requires me to read info from a text file and put them into an 2D array. I got this error msg and I couldn't gifure out how to fix it. Please help me. Thanks a lot. The program is due tomorrow, please help.
    Error message:
    NoSuchElementException:
    null(in Java.util.StringTokenizer)
    Here's the program with the line where the problem is highlighted
    import java.io.*;
    import java.util.StringTokenizer;
    public class ***
    // Reads students' test scores from a file and calculate their final grade
    public static void main (String[] args) throws IOException
    String file1 = "C:/Temp/scores.txt";
    int[][] input = new int[25][5];
    StringTokenizer tokenizer;
    String line;
    FileReader fr = new FileReader (file1);
    BufferedReader inFile = new BufferedReader (fr);
    line = inFile.readLine();
    tokenizer = new StringTokenizer (line);
    for (int row = 0; row < 25; row++)
    for (int col = 0; col < 5; col++)
    input[row][col] = Integer.parseInt(tokenizer.nextToken()); --> porblem
    This is what the text file looks like:
    1 74 85 98
    2 97 76 92
    3 87 86 77
    4 73 85 93
    5 99 99 83
    6 82 84 95
    7 78 83 91
    8 84 79 84
    9 83 77 90
    10 75 78 87
    11 98 79 92
    12 70 73 95
    13 69 80 88
    14 81 77 93
    15 86 72 80
    16 70 76 89
    17 71 71 96
    18 97 81 89
    19 82 90 96
    20 95 85 95
    21 91 82 88
    22 72 94 94

    Try this code..(I've tested this code in my machine and it works fine)
              try {
                   FileReader fileReader = new FileReader("Z:\\fileInput.txt");
                   BufferedReader reader = new BufferedReader(fileReader);
                   int[][] fileData = new int[22][4];
                   StringTokenizer tokenizer = null;
                   String line = reader.readLine();
                   int rowCount = 0;
                   while(line != null) {
                        tokenizer = new StringTokenizer(line, " ");
                        int columnCount = 0;
                        while(tokenizer.hasMoreTokens()) {
                             fileData[rowCount][columnCount] = Integer.valueOf(tokenizer.nextToken()).intValue();
                             columnCount++;
                        line = reader.readLine();
                        rowCount++;
                   fileReader.close();
                   System.out.println("Done");
              } catch (FileNotFoundException fnfe) {
                   System.out.println("File not found " + fnfe);
              } catch (IOException ioe) {
                   System.out.println("IO Exception " + ioe);
    The problem with your code is that you should first check whether there are any tokens before doing nextToken().
    -Amit

  • How can I change the precision of a numeric array indicator using property nodes ?

    I want to change the precision of a numeric array indicator programatically using property nodes. I tried to see all the array properties but I couldn't find it. URGENT !!!

    If you want to change the precision of an element in an array you must first get the reference to the array element. Then raise the reference to the more specific class of a digital numeric. Use a property node connected to that reference to set the precision. See the attached vi for an example.
    Brian
    Attachments:
    ArrayElementPrec.vi ‏27 KB

  • How to set the value of an array element (not the complete array) by using a reference?

    My situation is that I have an array of clusters on the front panel. Each element is used for a particular test setup, so if the array size is three, it means we have three identical test setups that can be used. The cluster contains two string controls and a button: 'device ID' string, 'start' button and 'status' string.
    In order to keep the diagrams simple, I would like to use a reference to the array as input into a subvi. This subvi will then modify a particular element in the array (i.e. set the 'status' string).
    The first problem I encounter is that I can not select an array element to write to by using the reference. I have tried setting the 'Selection s
    tart[]' and 'Selection size[]' properties and then querying the 'Array element' to get the proper element.
    If I do this, the VI always seems to write to the element which the user has selected (i.e. the element that contains the cursor) instead of the one I am trying to select. I also have not found any other possible use for the 'Selection' properties, so I wonder if I am doing something wrong.
    Of course I can use the 'value' property to get all elements, and then use the replace array element with an index value, but this defeats the purpose of leaving all other elements untouched.
    I had hoped to use this method specifically to avoid overwriting other array elements (such as happens with the replace array element) because the user might be modifying the second array element while I want to modify the first.
    My current solution is to split the array into two arrays: one control and one indicator (I guess that's really how it should be done ;-) but I'd still like to know ho
    w to change a single element in an array without affecting the others by using a reference in case I can use it elsewhere.

    > My situation is that I have an array of clusters on the front panel.
    > Each element is used for a particular test setup, so if the array size
    > is three, it means we have three identical test setups that can be
    > used. The cluster contains two string controls and a button: 'device
    > ID' string, 'start' button and 'status' string.
    >
    > In order to keep the diagrams simple, I would like to use a reference
    > to the array as input into a subvi. This subvi will then modify a
    > particular element in the array (i.e. set the 'status' string).
    >
    It isn't possible to get a reference to a particular element within an
    array. There is only one reference to the one control that represents
    all elements in the array.
    While it may seem better to use references to update
    an element within
    an array, it shouldn't really be necessary, and it can also lead to
    race conditions. If you write to an element that has the
    possibility of the user changing, whether you write with a local, a
    reference, or any other means, there is a race condition between the
    diagram and the user. LV will help with this to a certain extent,
    especially for controls that take awhile to edit like ones that use
    the keyboard. In these cases, if the user has already started entering
    text, it will not be overwritten by the new value unless the key focus
    is taken away from the control first. It is similar when moving a slider
    or other value changes using the mouse. LV will write to the other values,
    but will not rip the slider out of the user's hand.
    To completely avoid race conditions, you can split the array into user
    fields and indicators that are located underneath them. Or, if some
    controls act as both, you can do like Excel. You don't directly type
    into the cell. You choose w
    hich cell to edit, but you modify another
    location. When the edit is completed, it is incorporated into the
    display so that it is never lost.
    Greg McKaskle

  • Finding a minimum value in an array without using loops

    I can find a minimum value in an array using a loop, but I am unsure of how to do it without any type of of loop
    Here is what I have using a loop:
    // This method searches for the minimum value in an array
    public static int min(int a[]){
    int min = a[0];
    for(int i = 1; i < a.length; i++){
    if(a[i] < min){
    min = a;
    return min;
    How do I covert this to do the same thing, using no loops?
    Thank you for replies
    Edited by: kazmania on Feb 7, 2008 12:26 PM

    public class Test112 {
    public int recurse(int[] x, int i, int n)
    if (i==x.length-1) { return (x[i] < n) ? x[i] : n; }
    n = (n < x[++i]) ? n : x;
    return recurse(x, i, n);
    public static void main(String[] args) {
    int[] nums = {3, 1, 56, 2, 99, 34, 5, 78, -400, 2383, 201, -9, -450};
    Test112 t = new Test112();
    int min = t.recurse(nums, 0, nums[0]);
    System.out.println(min);

  • Inserting Records in an Array and using a constructor with it

    I badly need help on this! Please please please! I have been studying java for a short time only.
    Anyway, here goes: My project requires the following:
    Employee inputs the no. of video in the shelf. They have four classifications: Drama, Comedy, Action, and Thriller. Each video classification has different rates. The employee creates a video record containing the following information: 1. video ID number, 2. video classification, and 3. Price.
    The employee should display the classifications of videos available and the price. Only the available video tapes would be displayed according to the customer's chosen classification. When the customer chooses the video he wants to rent, the program will register and attach the name of the customer to the video number.
    I only need to use arrays, and NOT database to record the information.

    is it ok i i declare the drama_rate outside the video class?
    i have a list of variables on my videoupdate classYes. It's probably best to declare it static & then you can access it directly:
    public static float drama_rate = 100.0;
    rate = <the class name>.drama_rate;
    so, i should also include a customer no. both in the video and customer class.I would. You may want to list a bunch of videos and who currently has them. This way you don't have to search the customers AND the videos to do this.
    thanks =) i don't know either why we had to validate/invalidate,\
    but our applet doesnt refresh when >it is supposed to, so
    we just used this method. It wouldnt slow down the application, would it?Could you just revalidate()?
    the use of arrays. i havent finished with the program yet.
    i have the design already, i just couldnt put it in code.
    im not familiar with the use of multidimensional arrays-
    can i use this for the video and customer records i will need to store?Not sure what you're using arrays for, but here's an example of something I might do. Maybe it will be useful to you.
    Have you looked at HashMaps? You could use "Customer" as the key and then use an ArrayList of checked out Videos as the value:
    HashMap customers = new HashMap();
    ArrayList videos = new ArrayList();
    //Add the checked out videos to the list
    videos.add(video);
    <etc>
    // Add this customer and the list of videos he has checked out.
    customers.put(customer,videos);
    [\code]

  • Access nested array element using this.name - is it possible?

    Hi
    I've got a nested array containing a series of 2 element arrays containing an object name, and text related to that object.
    I've set it up like this:
    public var names:Array = [["instance name 1", "text for first object"],["instance name 2", "text for second object"], ...]];
    What I'm trying to do is to have the text related to the object appear in a text box when the object is moved.
    This is all set up within a class containing code for the drag and drop functions.
    If I set the text box to show a specific element, such as:
    MovieClip(parent).text_box.text= names[2][1];
    it works fine. But I can't get it to create the value for the first bracket from the this.name attribute.
    I had it working for 2 arrays - one with the name and another with the text where the code was;
    MovieClip(parent).text_box.text= texts[names.indexOf(this.name)];  (arrays named 'names' and 'texts', text box named 'text_box')
    I'm hoping there's something similar that I can do for the nested array, but everything I try gives me the #1010 error - term undefined.
    Is there an easy way to sort this out - or am I better sticking with the 2 array version?
    (BTW this is my first go at using arrays)
    Thanks

    Why not use an Object for this, like:
    var oTexts:Object = {
                                  "clipname1":"text for clip 1",
                                  "clipname2":"text for clip 2",
                                  "clipname3":"text for clip 3",
    and then jsut use sometihing like this
    var txt:String = MovieClip(parent).oTexts[this.name];
    etc. ..

Maybe you are looking for

  • Help with Nano not working

    Help!!! My Nano was fully charged and I let it sit for longer than a week. When I went back to the Nano, the battery was gone. I attached it to my Mac and the apple logo appeared and disappeared. It would not power on. The Nano turned on after 20 min

  • Purchase order with zero quantity

    Hi all, When a replenishment delivery is ceated in product view, APO automatically creates purchase order with zero quantity and the replenishment delivery's receipt element. APO does not transfer the purchase order to R/3. Do you have an idea about

  • It's finally finished and it works!!!

    Earlier today, I was stuck in the same mess many are - error messages that would not allow me to "restore" after it appeared I'd backed up and downloaded the new software.  I gave up and went about my day. Late tonight, I tried again and this time it

  • How do i move the reload page button in firefox OSX to beside the back button where it was before i updated.

    how do i move the reload page button in firefox OSX to beside the back button where it was before i updated. i know there is a classic theme addon for windows but i need a fix for osx...its very frustrating when you update and things like this change

  • How to cleanup the "custom" genre list

    The genre custom list is very large and has many in there that I don't use or want. Is there a way to remove some of these? Thanks!