Array of culster

Hi all :
please see attach file ,, I bulid array (0-15) of cluster each cluster had 6 number SGL type .. ,, i want to separate this array  and culster 
but according to me idea if i build  array (0-15) of cluster each cluster had 6 number SGL type  , its will be 16*6 table
but when i used my  vi , you can see that i get only 8 cluster instead of 16  : why ?
thanks 
Attachments:
array of cluster.vi ‏11 KB

Hi elyan,
all of your elements are there. see the attached file.
Mike
Message Edited by MikeS81 on 03-02-2008 03:11 PM
Attachments:
array of cluster1.vi ‏14 KB

Similar Messages

  • Loops in arrays or structures

    Loops in arrays or structures
    I was given a project on html reports and
    They have advised me to use Loops in arrays or structures
    At this point I am a novice at this html reporting system. I
    would like to know how I can use loops in arrays or structures.
    How is it beneficial are
    1. Structures
    2. Arrays
    3. loops in for both
    for my reports.
    Countless thanks in advance

    Structures are great if you understand them, they are
    basically just arrays organized by keywords rather than index
    numbers.
    Arrays are very nice, as you can just run through loops to
    access each element, as they are all indexed by numbers 0-x.
    loops are great to navigate through both. All you have to do
    is set an loop to run through x amount of iterations of the array
    or structure (where x is the length of the array, or number of
    elements in the structure). Loops are great due to the small amount
    of code they require.

  • How Do I Load An Animated GIF Into PictureBox Control From Byte Array?

    I'm having a problem with loading an animated GIF int a picturebox control in a C# program after it has been converted to a base64 string, then converted to a byte array, then written to binary, then converted to a base64 string again, then converted to
    a byte array, then loaded into a memory stream and finally into a picturebox control.
    Here's the step-by-step code I've written:
    1. First I open an animated GIF from a file and load it directly into a picturebox control. It animates just fine.
    2. Next I convert the image in the picturebox control (pbTitlePageImage) to a base64 string as shown in the code below:
                    if (pbTitlePageImage.Image != null)
                        string Image2BConverted;
                        using (Bitmap bm = new Bitmap(pbTitlePageImage.Image))
                            using (MemoryStream ms = new MemoryStream())
                                bm.Save(ms, ImageFormat.Jpeg);
                                Image2BConverted = Convert.ToBase64String(ms.ToArray());
                                GameInfo.TitlePageImage = Image2BConverted;
                                ms.Close();
                                GameInfo.TitlePageImagePresent = true;
                                ProjectNeedsSaving = true;
    3. Then I write the base64 string to a binary file using FileStream and BinaryWriter.
    4. Next I get the image from the binary file using FileStream and BinaryReader and assign it to a string variable. It is now a base64 string again.
    5. Next I load the base64 string into a byte array, then I load it into StreamReader and finally into the picturebox control (pbGameImages) as shown in the code below:
    byte[] TitlePageImageBuffer = Convert.FromBase64String(GameInfo.TitlePageImage);
                            MemoryStream memTitlePageImageStream = new MemoryStream(TitlePageImageBuffer, 0, TitlePageImageBuffer.Length);
                            memTitlePageImageStream.Write(TitlePageImageBuffer, 0, TitlePageImageBuffer.Length);
                            memTitlePageImageStream.Position = 0;
                            pbGameImages.Image = Image.FromStream(memTitlePageImageStream, true);
                            memTitlePageImageStream.Close();
                            memTitlePageImageStream = null;
                            TitlePageImageBuffer = null;
    This step-by-step will work with all image file types except animated GIFs (standard GIFs work fine). It looks like it's just taking one frame from the animation and loading it into the picturebox. I need to be able to load the entire animation. Does any of
    the code above cause the animation to be lost? Any ideas?

    There is an ImageAnimator so you may not need to use byte array instead.
    ImageAnimator.Animate Method
    http://msdn.microsoft.com/en-us/library/system.drawing.imageanimator.animate(v=vs.110).aspx
    chanmm
    chanmm

  • Is there a way of determining what element in an array is being clicked on?

    Hi all.  I would like to setup an event to determine what element in an array is being clicked on/hovered over.  I think I tried this before and found it wasn't working due to limitations of LV 7.0.  If this code already exists, it would be great if I don't have to do a scavenger hunt for the solution.
    I think one possibility I nixed was to use the refnum of the elements to determine which one it is.  IIRC, this is not possible because the refnum of the element is for the edit box only.
    The second possiblity is to get the on click event, and somehow determine which element in the array it is.  This doesn't sound too difficult as it should be a simple calculation, but may get in to some hairryness based on if the indicies are visible or not, and if I am using a new or old array with new or old control (calc would change based on boarder size of the controls).  I might just simplify it by removing indicies and using older control set which has minimal boarder size.
    And just for fun, can I force a tool tip to show up?
    Thanks all,
    A
    Using LV7.0 on WinXP.

    blawson wrote:
    Been bitten by LabVIEW wrote:
    I think one possibility I nixed was to use the refnum of the elements to determine which one it is.  IIRC, this is not possible because the refnum of the element is for the edit box only.
    Using LV7.0 on WinXP.
    This is indeed possible, at least in the newer versions I use.
    Take the array refnum from the click event data terminal and get a reference to the array element.  This refers to the element that was clicked, but you do need to work out how to get the index.  My method is to use property nodes to get the screen position and size of the element and the screen position and size of the array, as well as the array's Visible Index property. For each direction, take the quotient of the relative position of the element (account for padding!) over the size of an element.
    I suspect that taking the mouse coords and comparing to the array's sizes in pixels is similar, although I trust my method for events that don't have mouseclicks (what coords does Array:shortcut menu selection(User) return if you used the keyboard?)
    Here's an old version I happened to have open.  I've posted about this before, I suspect I have a clearer version in my gallery.  I use this method in my example code contest entry to work out which square of the chessboard is clicked.
    Thank you for that one!
    I am currently "locked up behind a down-rev fence" (working an old app in an old version) so I had not heard of that.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • NetBeans MobilityPack 5 BUG?? how can I send a byte array?

    I�ve created a WebApp and a Simple servlet with one public method.
    public byte[] getStr(byte[] b) {       
    String s = "A string";
    return s.getBytes();
    Then I've used "Mobile To Web App" wizard to generate stubs to that getStr method. And when I�ve tried to call that getStr method:
    byte[] aByte = "st".getBytes();
    byte[] b = client.getStr(aByte);
    I've got an error at Server in Utility.java in generated ReadArray method.
    * Reads an array from the given data source and returns it.
    *@param source The source from which the data is extracted.
    *@return The array from the data source
    *@exception IOException If an error occured while reading the data.
    public static Object readArray(DataInput in) throws IOException {
    short type = in.readShort();
    int length = in.readInt();
    if (length == -1) {
    return null;
    } else {
    switch (type) {
    case BYTE_TYPE: {
    byte[] data = new byte[length];
    in.readFully(data);
    return data;
    default: {
    throw new IllegalArgumentException("Unsupported return type (" + type + ")");
    At this line "in.readFully(data);" I�ve got an EOFException.
    The the aByte = "st".getBytes(); was 2bytes long and at the server "int length = in.readInt();" it was 363273. Why?
    All code was generated by NetBeans Mobility pack 5 it's not mine so its a bug?
    How can I fix this?

    I found that bug. I've described it here
    http://www.netbeans.org/issues/show_bug.cgi?id=74109
    There's a solution how to fix the generated code.

  • Error while assigning values to Array using Copy operation

    Hi,
    I am using the following code to copy a string value 'Text' and 'UDFTypeTitle' to the 1st and 2nd position of an array:-
    <assign name="Assign1">
    <copy>
    <from expression="string('Text')"/>
    <to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
    query="/ns1:ReadUDFValues/ns1:Field[position()=1]"/>
    </copy>
    <copy>
    <from expression="string('UDFTypeTitle')"/>
    <to variable="Invoke1_ReadUDFValues_InputVariable" part="params"
    query="/ns1:ReadUDFValues/ns1:Field[position()=2]"/>
    </copy>
    </assign>
    I am getting the following error for the 2nd copy:-
    XPath query string returns zero node.
    The assign activity of the to node query is returning zero node.
    Either the to node data or the xpath query in the to node was invalid.
    According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 103 in the BPEL source
    If I am removing the 2nd copy I am not getting any error.
    The structure of ns1:*ReadUDFValues* is as follows:-
    - <xsd:complexType name="ReadUDFValues">
    - <xsd:sequence>
    <xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
    <xsd:element minOccurs="0" name="Filter" type="xsd:string" />
    <xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    The structure of ns1:ReadUDFValues/ns1:*Field* is as follows:-
    xsd:simpleType name="UDFValueFieldType">
    - <xsd:restriction base="xsd:string">
    <xsd:enumeration value="CodeValue" />
    <xsd:enumeration value="ConditionalIndicator" />
    <xsd:enumeration value="Cost" />
    <xsd:enumeration value="CreateDate" />
    <xsd:enumeration value="CreateUser" />
    <xsd:enumeration value="Description" />
    <xsd:enumeration value="Double" />
    <xsd:enumeration value="FinishDate" />
    <xsd:enumeration value="ForeignObjectId" />
    <xsd:enumeration value="Indicator" />
    <xsd:enumeration value="Integer" />
    <xsd:enumeration value="IsBaseline" />
    <xsd:enumeration value="IsTemplate" />
    <xsd:enumeration value="IsUDFTypeCalculated" />
    <xsd:enumeration value="IsUDFTypeConditional" />
    <xsd:enumeration value="LastUpdateDate" />
    <xsd:enumeration value="LastUpdateUser" />
    <xsd:enumeration value="ProjectObjectId" />
    <xsd:enumeration value="StartDate" />
    <xsd:enumeration value="Text"/>
    <xsd:enumeration value="UDFCodeObjectId" />
    <xsd:enumeration value="UDFTypeDataType" />
    <xsd:enumeration value="UDFTypeObjectId" />
    <xsd:enumeration value="UDFTypeSubjectArea" />
    <xsd:enumeration value="UDFTypeTitle"/>
    </xsd:restriction>
    </xsd:simpleType>
    Could you please suggest a solution?
    I also tried with position 0, 1 . still the same error.
    Regards,
    Sam

    Hi Naresh,
    The structure of ReadUDFValues is as follows:-
    - <xsd:complexType name="ReadUDFValues">
    - <xsd:sequence>
    <xsd:element maxOccurs="unbounded" name="Field" type="tns:UDFValueFieldType" />
    <xsd:element minOccurs="0" name="Filter" type="xsd:string" />
    <xsd:element minOccurs="0" name="OrderBy" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    The structure of ns1:ReadUDFValues/ns1:Field is as follows:-
    xsd:simpleType name="UDFValueFieldType">
    - <xsd:restriction base="xsd:string">
    <xsd:enumeration value="CodeValue" />
    <xsd:enumeration value="ConditionalIndicator" />
    <xsd:enumeration value="Cost" />
    <xsd:enumeration value="CreateDate" />
    <xsd:enumeration value="CreateUser" />
    <xsd:enumeration value="Description" />
    <xsd:enumeration value="Double" />
    <xsd:enumeration value="FinishDate" />
    <xsd:enumeration value="ForeignObjectId" />
    <xsd:enumeration value="Indicator" />
    <xsd:enumeration value="Integer" />
    <xsd:enumeration value="IsBaseline" />
    <xsd:enumeration value="IsTemplate" />
    <xsd:enumeration value="IsUDFTypeCalculated" />
    <xsd:enumeration value="IsUDFTypeConditional" />
    <xsd:enumeration value="LastUpdateDate" />
    <xsd:enumeration value="LastUpdateUser" />
    <xsd:enumeration value="ProjectObjectId" />
    <xsd:enumeration value="StartDate" />
    <xsd:enumeration value="Text"/>
    <xsd:enumeration value="UDFCodeObjectId" />
    <xsd:enumeration value="UDFTypeDataType" />
    <xsd:enumeration value="UDFTypeObjectId" />
    <xsd:enumeration value="UDFTypeSubjectArea" />
    <xsd:enumeration value="UDFTypeTitle"/>
    </xsd:restriction>
    </xsd:simpleType>

  • Assigning value to array type variable in a loop

    Hi
    I have a scenario in which i am assigning value from a array type variable(x) to the invoke variable of a database adapter. The variable x is exact replica of the invoke variable.
    My copy operation in assign activity looks like this-
    <copy>
    <from variable="Var" part="InputParameters"
    query="/ns7:InputParameters"/>
    <to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"
    part="InputParameters"
    query="/ns7:InputParameters *(* bpws:getVariableData('iterator') *)* "/>
    </copy>
    It is inside a while loop activity.
    PS *()* are square brackets
    But it is erroring out at run time.
    Does anybody has an alternate idea to assign value to an array type?.
    i have seen that while extracting value from an array type variable it works fine
    A similar kind of operation is shown below.
    <copy>
    <from variable="Var" part="InputParameters"
    query="/ns7:InputParameters *(* bpws:getVariableData('iterator') *)* "/>
    <to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"
    part="InputParameters"
    query="/ns7:InputParameters"/>
    </copy>
    Thanks
    Ayush
    Edited by: Ayush fujitsu on Aug 14, 2009 4:36 AM

    Hi Ayush
    I suppose you are getting some error like "source node returns multiple elements".
    In second case there is no problem because you are assigning *InputParameters[bpws:getVariableData('iterator')]* (+suppose InputParameters[1]+) to target. Here it works fine because you are fetching oonly 1 value from source and assigning it to the target.
    Now in first case you are saying copy InputParameters to target[1] suppose. You know that source is an array which contains multiple index so which index field from the source will be assigned to the target.
    Try your process with only 1 source value it will work but when multiple values will be there it will fail. You have to merge both the cases and it will look like
    *<copy>*
    *<from variable="Var" part="InputParameters"*
    query="/ns7:InputParameters ( bpws:getVariableData('iterator') ) "/>
    *<to variable="Invoke_call_XXDPI_EDI_852_PKG_InputVariable"*
    part="InputParameters"
    query="/ns7:InputParameters ( bpws:getVariableData('iterator') ) "/>
    *</copy>*
    And the easiest way to do this is by the transform activity as said above.
    Regards
    Suryaveer
    Edited by: Suryaveer on Aug 15, 2009 11:19 PM

  • Error While connecting a DL585 server using Emulex LightPulse (A8002A) to a 3par Storage Array

    When connecting this Windows 2003 server to the HP 3PAR Array, the customer receive warnings (6-7 per second), for example:
    ==================================
    Device (4,3,14) is reserved by other host.
    DsmSendTURSynchronous: Device(4,3,12), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,3,14), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    Device (4,2,12) is reserved by other host.
    Device (4,2,14) is reserved by other host.
    Device (4,3,10) is reserved by other host.
    DsmSendTURSynchronous: Device(4,2,12), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,2,14), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,3,10), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    ==================================
    The HBA details are as follows :
     Fibre Channel HBA Drivers
      [elxfc] ................................... Emulex StorPort driver, Version: 7.2.70.18
         [Number of Physical Devices] ........... 2
          Device 0 .............................. Emulex LightPulse HBA - Storport Miniport Driver
           Adapter ID ........................... Emulex A8002A, PCI Slot 6, Storport Miniport Driver
           Location of Device 0 ................. PCI bus 79, device 0, function 0
          Device 1 .............................. Emulex LightPulse HBA - Storport Miniport Driver
           Adapter ID ........................... Emulex A8002A, PCI Slot 4, Storport Miniport Driver
           Location of Device 1 ................. PCI bus 76, device 0, function 0
    # I am not much experdized in Microsoft OS but the issue seems to be related to the Multipath or path repated to the Array. Just want to check anyone has ever came across with such error ? They have access to the external 3Par Array volumes without
    issues. the server is in fact also connected to an HP EVA Array with HP EVA MPIO Dsm installed.
    It may a normal event or error so want to know the full details of the above events and any further actin plan is highly appreciated.
    Thanks in advance,
    Prodyott

    are these LUNs shared or standalone?
    I don't think it's really wise to have more than one DSM on the same server, so you're mixing the EVA and 3par DSMs and on 2003...
    other than ensuring that HBA firmware and drivers are all up to date and DMS drivers are at the latest, not much else you can do from the host side...maybe update the storport.sys driver to the latest for that OS
    are you sure that the HBAs are in fact supported/compatible with both storage back-ends? what about their driver/firmware/DSM versions - some SANs are very picky when it comes to this stuff, check the interop matrixes to find out
    overall, if you don't need SAN connection to one of these storage back-ends, I suggest you get rid of it and its DSM

  • Hard drive array losing access - suspect controller - zfs

    i am having a problem with one of my arrays, this is a zfs fielsystem.  It consists of a 1x500GB, 2x750GB, and 1x2TB, linear array. the pool is named 'pool'.    I have to mention here, i dont have enough hard drive to have a raidz (raid5) setup yet, so there is no actual redundancy to so the zfs cant auto repair itself from a copy because there is none, therefore all auto repair features can be thrown out the door in this equation meaning i believe its possible that the filesystem can easily be corrupted by the controller in this specific case which i suspect.  Please keep that in mind while reading the following.
    I just upgraded my binaries, therefore i removed zfs-fuse and installed archzfs.  did i remove it completely?  not sure.  i wasnt able to get my array back up and running until i fiddled with  the sata cables, moved around the sata connectors, tinkered with bios drive detect. after i got it running, i copied some files off of it from samba thinking it might not last long.  the copy was succesfull, but problems began surfacing again shortly after.  so now i suspect i have a bad controller on my gigabyte board.  I round recently someone else who had this issue so im thinking its not the hard drive. 
    I did some smartmontools tests last night and found that ll drives are showing good on a short test, they all passed.  today im not having so much luck with getting access.  there is hangs on reboot, and the drive light stays on.  when i try to run zfs and zpool commands its stating the system is hanging.  i have been getting what appears as HD errors as well, ill have to manually type them in here since no copy and paste from the console to the maching im posting from, and the errors arent showing up via ssh or i would copy them from my terminal tha ti currently have open to here.
    ata7: SRST failed (errno=-16)
    reset failed, giving up,
    end_request I/O error, dev sdc, sector 637543760
    ' ' ' ' '''' ' ' ''' sector 637543833
    sd 6:0:0:0 got wrong page
    ' ' ' ' ' '' asking for cache data failed
    ' ' ' ' ' ' assuming drive cache: write through
    info task txg_sync:348 blocked for more than 120 seconds
    and so forth, and when i boot i see this each time which is making me feel that the HD is going bad, however i still want to believe its the controller.
    Note, it seems only those two sectors show up, is it possible that the controller shot out those two sectors with bad data?  {Note, i have had a windows system prior installed on this motherboard and after a few months of running lost a couple raid arrays of data as well.}   
    failed command: WRITE DMA EXT
    ... more stuff here...
    ata7.00 error DRDY ERR
    ICRC ABRT
    blah blah blah.
    so now i can give you some info from the diagnosis that im doing on it, copied from a shell terminal.  Note the following metadata errors JUST appeared after i was trying to delete some files, copying didnt cause this, so it apears either something is currently degrading, or it just inevitably happened from a bad controller
    [root@falcon wolfdogg]# zpool status -v
    pool: pool
    state: ONLINE
    status: One or more devices are faulted in response to IO failures.
    action: Make sure the affected devices are connected, then run 'zpool clear'.
    see: http://zfsonlinux.org/msg/ZFS-8000-HC
    scan: resilvered 33K in 0h0m with 0 errors on Sun Jul 21 03:52:53 2013
    config:
    NAME STATE READ WRITE CKSUM
    pool ONLINE 0 26 0
    ata-ST2000DM001-9YN164_W1E07E0G ONLINE 6 41 0
    ata-ST3750640AS_5QD03NB9 ONLINE 0 0 0
    ata-ST3750640AS_3QD0AD6E ONLINE 0 0 0
    ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 ONLINE 0 0 0
    errors: Permanent errors have been detected in the following files:
    <metadata>:<0x0>
    <metadata>:<0x1>
    <metadata>:<0x14>
    <metadata>:<0x15>
    <metadata>:<0x16d>
    <metadata>:<0x171>
    <metadata>:<0x277>
    <metadata>:<0x179>
    if one of the devices are faulted, then why are they all 4 stating online???
    [root@falcon dev]# smartctl -a /dev/sdc
    smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.9.9-1-ARCH] (local build)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF INFORMATION SECTION ===
    Vendor: /6:0:0:0
    Product:
    User Capacity: 600,332,565,813,390,450 bytes [600 PB]
    Logical block size: 774843950 bytes
    scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
    scsiModePageOffset: response length too short, resp_len=47 offset=50 bd_len=46
    >> Terminate command early due to bad response to IEC mode page
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    my drive list
    [root@falcon wolfdogg]# ls -lah /dev/disk/by-id/
    total 0
    drwxr-xr-x 2 root root 280 Jul 21 03:52 .
    drwxr-xr-x 4 root root 80 Jul 21 03:52 ..
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-_NEC_DVD_RW_ND-2510A -> ../../sr0
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST2000DM001-9YN164_W1E07E0G -> ../../sdc
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jul 21 03:52 ata-ST3250823AS_5ND0MS6K-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3750640AS_3QD0AD6E -> ../../sde
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-ST3750640AS_5QD03NB9 -> ../../sdd
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 -> ../../sda
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 wwn-0x5000c50045406de0 -> ../../sdc
    lrwxrwxrwx 1 root root 9 Jul 21 03:52 wwn-0x50014ee1ad3cc907 -> ../../sda
    and this one i dont get
    [root@falcon dev]# zfs list
    no datasets available
    i remember creating a dataset last year, why is it reporting none, but still working
    is anybody seeing any patterns here?  im prepared to destroy the pool and recreate it just to see if its bad data.But what im thinking to do now is since the problem appears to only be happening on the 2TB drive, either the controller just cant handle it, or the drive is bad.  So, to rule out the controller there might be hope.  I have a scsi card (pci to sata) connected that one of the drives in the array is connected to since i only have 4 sata slots on the mobo, and i keep the 500GB connected to there and have not yet tried the 2tb there yet.  So if i connect this 2TB drive to the scsi i should see the problems disappear, unless the drive got corrupted already. 
    Does any experience in the arch forums know whats going on here?  did i mess up by not completely removing zfs-fuse, is my HD going bad, is my controller bad, or did ZFS just get misconfigured?
    Last edited by wolfdogg (2013-07-21 19:38:51)

    ok, something interesting happened when i connected it (the badly reacting 2TB drive) to the scsi pci card.  first of all no errors on boot.... then take a look at this, some clues to some remanants to the older zfs-fuse setup, and a working pool.
    [root@falcon wolfdogg]# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    pool 2.95T 636G 23K /pool
    pool/backup 2.95T 636G 3.49G /backup
    pool/backup/falcon 27.0G 636G 27.0G /backup/falcon
    pool/backup/redtail 2.92T 636G 2.92T /backup/redtail
    [root@falcon wolfdogg]# zpool status
    pool: pool
    state: ONLINE
    status: The pool is formatted using a legacy on-disk format. The pool can
    still be used, but some features are unavailable.
    action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
    pool will no longer be accessible on software that does not support
    feature flags.
    scan: resilvered 33K in 0h0m with 0 errors on Sun Jul 21 04:52:52 2013
    config:
    NAME STATE READ WRITE CKSUM
    pool ONLINE 0 0 0
    ata-ST2000DM001-9YN164_W1E07E0G ONLINE 0 0 0
    ata-ST3750640AS_5QD03NB9 ONLINE 0 0 0
    ata-ST3750640AS_3QD0AD6E ONLINE 0 0 0
    ata-WDC_WD5000AADS-00S9B0_WD-WCAV93917591 ONLINE 0 0 0
    errors: No known data errors
    am i looking at a bios update needed here so the controller can talk to the 2TB properly?
    Last edited by wolfdogg (2013-07-21 19:50:18)

  • WinXP-64 bit corrupts existing RAID array

    I've got an MSI K8N Neo2 Platinum motherboard running Win XP Pro SP2 on two 36 gig SATA Raptors.  Everything was working fine, but I wanted to try the 64 bit version of XP.  Grabbed an old 80 gig PATA drive and threw that in the case.  Unplugged the SATA drives so as not to risk messing with the existing working OS.  Installed the latest 1218 x64 beta and it worked well.
      The problem was that when I shut down and reconnected my old RAID array, windows wouldn't boot from it.  I lost everything and had to rebuild Windows from scratch.  So now I know to never unplug the SATA drives   
      Rebuilt WinXP on the RAID array and then tried rebooting with the PATA drive with the 64 bit OS.  Came up with the "drive needs checking" screen, and proceeds to "fix" the RAID array while ignoring my frantic pounding on the Logitech USB keyboard to stop.  Rebooted and yes, the new install was nuked.  Okay, since it's gone anyway, reboot to the 64 bit OS and make sure it's got the 64 bit RAID drivers installed.
      Reinstall WinXP on the RAID array, reboot to the 64 bit OS on the other drive and the same old scandisk comes and nukes it AGAIN!
      So now the PATA drive is sitting on the shelf again, unless someone here can suggest what is causing this problem.
    System Specs
    Athlon64 3500
    gig of PQI 3200 at 2-2-2-5 2.6
    2x36 gig Raptors on ports 3-4
    Plextor PX-716a DVD+_RW
    Visiontek X800 Pro.

    The first time you re-installed Win 32 on the raid that was a bit drastic. A repair ought to have done the job.
    The problem was probably that you disconnected the array but that's where the boot.ini was and that file needed to be modified to add the path to the Win64 install.
    Since you took out the array the Win64 install created a new boot.ini on the PATA drive. Even when you tell BIOS to boot off the array, Windows has a bad habit of looking at the IDE channels & using the boot.ini if it finds one there - but the file it found didn't point to the array of course.
    So basically if you already have Win32 on the array I would leave that array connected normally when installing Win64 on the PATA drive and all should be well.
    I've installed Win64 on the same array as my Win32 install and they co-exist happily. I reckon that's the most efficient way to do it. The main thing is to make separate partitions for Win32, Win64 and data files when you install Win32 in the first place. The two OSs can share the same data files, incuding stuff like email.

  • Expanding the drives into a raid 5 array?

    I am going to purchase a powermac soon, but I want to understand raid arrays a bit better. I am an HD video editor, and am getting into large files sizes...Red, XDCam, 2K etc. I can buy any 4TB raid array with a card, or I read that I can add 3 extra 1TB hard drives inside the mac pro and stripe them raid 5? I know 3 drives aren't the best for redundancy, but will it work? Will I also need Apple's raid controller for this.
    As a side not, someone said use all 4 drives as an array, but the OS has to operate on its own drive unless there is something I don't know.
    Any ideas are appreciated.

    I know 3 drives aren't the best for redundancy, but will it work?
    Hi,
    If you are thinking of using the 2009 Mac Pro internal hard disk sleds to create a RAID 5 you would need a $699 Mac Pro RAID Card. http://store.apple.com/us/product/MA849Z/B
    Three HDs can be used in a RAID 5, but as one disk is used for parity data this only leaves you with the volume size of two HDs and performance = to two hard disks in RAID 0. This is not an option I would select. The other downside to this configuration is the Mac Pro RAID Card does NOT support Boot Camp.
    RR 2314 & SeriTek/5PM
    If you want RAID 5, Boot Camp and the ability to use the internal bays for a Mac OS X system an external RAID 5 is a good choice. The HighPoint RR 2314 and the SeriTek/5PM provide a nice solution at a reasonable price.
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/2314/
    http://www.amug.org/amug-web/html/amug/reviews/articles/firmtek/5pm/
    As the SeriTek/5PM only requires one port on the RR 2314, users can expand to up to 20 hard disks using four enclosures. Even a single 5-bay, RAID 5 can support a 4TB volume using inexpensive 1TB hard disks. Larger hard disks are also supported. This option provides more hard disk mounting options and costs about the same as the Apple RAID 5 card.
    RocketRAID 4322 & Proavio EB8MS
    Another option is the HighPoint RR 4322. The controller supports RAID levels 0, 1, 3, 5, 6, 10, 50, hot spare and JBOD configurations. While more expensive, the RocketRAID 4322 adds RAID 6, SAS compatibility and supports an 8-bay enclosure like the Proavio EB8MS.
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/4322/
    http://www.proavio.com/eb8ms.html
    RocketRAID 4322 & Enhance UltraStor RS16 JS
    Another amazing performance option is the RR 4322 matched with the Enhance UltraStor RS16 JS. This 16-bay configuration provides high performance and supports large volume sizes. When AMUG tested this configuration with 16 Samsung 1TB hard disks in RAID 6 mode the volume size was 11.8TB and the average write performance across the volume was 696MB/sec. while the average read performance was 833MB/sec.
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/4322/
    http://www.amug.org/members/reviews/articles/enhance/rs16js/
    Have fun!

  • Unable to expand volume on array

    I've got a Mac Pro (Early 2008, 8x2.8Ghz, 6GB memory) with a Highpoint RocketRaid 3522 card in it. I started out with a raid 5 array of 3 1TB WD GreenPower drives in a SuperMicro CSE-M35T-1B sata cage. Partitioned it as GUID HFS+ (1.8TB) and it works great.
    However, I added two more disks and expanded the raid array to a 2.7TB Raid 6 array. Mac OS sees that I have a 2.7TB drive with a 1.8TB partition on it, but when I try to expand the partition I get the error "MediaKit reports partition (map) too small".
    When I try to resize it on the command line using diskutil it complains that the volume size is too large. running "diskutil resizeVolume /dev/disk4s2 limits" tells me I can only expand the volume up to 2TB. But even running "diskutil resizeVolume /dev/disk4s2 1.9TB" fails
    Apple states that the maximum volume size is 8 Exabytes as of 10.4 and later and i'm running 10.5.2.
    Any suggestions? I'm trying to avoid having to back up all the data and reformatting the drive. I plan to eventually expand the array to a full 8 1TB drives, i.e. 5.4TB and backup up 1.5TB of data is rough - but backing up more than that is nearly impossible.
    And yes, I do know that RAID is not a substitute for backing up. I'm comfortable with the level of protection that RAID 6 gives me given the files that I store on this drive.
    Message was edited by: Scott_DC

    Have you tried a PRAM reset?
    http://support.apple.com/kb/ht1379
    Ciao.

  • Array problem in Photo Gallery

    I want to have an array of buttons that each move with mouse over and mouse out. Then once user clicks the button the image is loaded from an array and put onto the screen. Once another button is clicked say B2 the B1 image is removed and a new image replaces it.
    Here is the working code up to this point with no errors; I am using Flash cs5.
    [AS]
    var buttonArrayportfolio:Array = [ B1, B2, B3, B4, B5, B6, B7, B8];
    for each( var B:MovieClip in buttonArrayportfolio)
              B.mouseChildren = false;
              B.addEventListener( MouseEvent.MOUSE_OVER, onButtonOver  );
              B.addEventListener( MouseEvent.MOUSE_OUT,  onButtonOut   );
              B.addEventListener( MouseEvent.CLICK,      onButtonClick );
    function onButtonOver( e:MouseEvent ):void
              var B:MovieClip = MovieClip(e.target);
              if( B.tween )
                        B.tween.stop();
              B.tween = new Tween( button, "y", Regular.easeOut,622.9, 591, .5, true );
    function onButtonOut( e:MouseEvent ):void
              var B:MovieClip = MovieClip(e.target);
              if( B.tween )
                        B.tween.stop();
              B.tween = new Tween( B, "y", Regular.easeOut, 591, 622.9, 1, true );
    function onButtonClick( e:MouseEvent ):void
        var arrayB:Array = [ B1, B2, B3, B4, B5, B6, B7, B8,];
        var arrayImages:Array = ["KidRabbit.png","Hydrant.png","Hydrant.png"];
        for (var i:int = 0; i<1; i++)
            var B:BlackBox = new BlackBox();
            var pictLdr:Loader = new Loader();
            B.addChild(pictLdr);
            addChild(B);
                    pictLdr.load(new URLRequest(arrayImages[i]));
            pictLdr.contentLoaderInfo.addEventListener( Event.COMPLETE , loaded);
            //arrayImages.push(B);
            //arrayImages[i].x = i * 150 +  i * 10;
            //addChild(arrayImages[i]);  
    function loaded(event:Event):void
              var targetLoader:Loader = Loader(event.target.loader);
    [/AS]

    See if the following is more what you want.  It only uses one BlackBox object and one loader.  By using one loader you don't need to unlload it to load another because whatever you load into into will replace what was already loaded into it.  Part of the key to this solution is assigning the loop index value to each button as it increments in the first loop.  That number is what is used to call the image associated with the button in the onClick function.
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var arrayB:Array = [ B1, B2, B3, B4, B5, B6, B7, B8,];
    var arrayImages:Array = ["KidRabbit.png","Hydrant.png","Hydrant.png","KidRabbit.png","Hydrant.png","Hydrant.png", "KidRabbit.png","Hydrant.png"];
    var imgLoader:Loader = new Loader;
    var B:BlackBox = new BlackBox();
    B.addChild(imgLoader);
    for (var i:uint=0; i<arrayB.length; i++){
         arrayB[i].mouseChildren = false;
         arrayB[i].addEventListener( MouseEvent.MOUSE_OVER, onButtonOver);
         arrayB[i].addEventListener( MouseEvent.MOUSE_OUT, onButtonOut);
         arrayB[i].addEventListener( MouseEvent.CLICK, onButtonClick);
         arrayB[i].imgNum = i;
    function onButtonOver( e:MouseEvent ):void {
         var B:MovieClip = MovieClip(e.target);
         if(B.tween){
           B.tween.stop();
         B.tween = new Tween( B, "y", Regular.easeOut,622.9, 591, .5, true );
    function onButtonOut( e:MouseEvent ):void {
         var B:MovieClip = MovieClip(e.target);
         if( B.tween ){
           B.tween.stop();
         B.tween = new Tween( B, "y", Regular.easeOut, 591, 622.9, 1, true );
    function onButtonClick( e:MouseEvent ):void {
       if(this.contains(B)){
           removeChild(B);
       imgLoader.load(new URLRequest(arrayImages[e.currentTarget.imgNum]));
       imgLoader.contentLoaderInfo.addEventListener( Event.COMPLETE , loaded);
    function loaded(event:Event):void {
         addChild(B);
          var targetLoader:Loader = Loader(event.target.loader);

  • Kind of query on an array

    Hi,
    I have an array like this :
    DATA | YEAR | SCENARIO | JAN | FEB | MAR | ....
    data1 2008 1 120 101 109
    data2 2008 2 120 105 104
    data3 2007 1 100 108 111
    data4 2008 1 124 101 116
    and I want to search something like we do with a query but on
    an array
    SELECT JAN
    FROM myArray
    WHERE
    YEAR = 2008
    AND SCENARIO = 1
    AND DATA= data3
    is it possible ? and how to do it ?
    Thanks !

    Here's a simple schema :
    1. query from flex to coldfusion
    2. cf return array to flex
    3. from flex I send the array to cf in order to make some
    calcuations (that's where I need to "query" the array)
    4. new array returned by cf to flex
    the idea is that I make a query on the server A (sql server)
    that returns all the infos I need
    then I send those infos to the server B (coldfusion) to avoid
    using server A ...
    do you know what I mean ?

  • Nested IPE (In Place Element) usage when accessing Cluster/Array data via DVR

    I am sharing data across several VIs and loops via a DVR, and accessing the data via a DVR IPE. The data is a cluster of arrays. The diagram below (VI attached) illustrates the structures invloved, but not the structure of the application.
    (The diagram above does not include initialization of the arrays, as it is intended only to illustrate the Cluster1 data type. Array lengths could be 100.)
    The DVR (DVR1) is passed to multiple VIs of the application at startup.
    Each VI executes loops that either read or write particular elements of each array (fArray1 or fArray2).
    I believe the DVR IPE (B1-DVR) provides blocking so that only one task can modify the data (Cluster1) at any time.
    Case 1 illustrates how I currently WRITE to array elements. The outer IPE (block B1) is rolled into a VI (not shown) that takes DVR1, Index, and Value as inputs.
    Cases 2 - 4 illustrate 3 additional methods that remove one or both of the inner IPEs (B2-Cluster and B3-Array).
    Case 2: IPE B3 (Array Index/Replace Elements) is replaced with a non-IPE 'Replace Array Subset'.'
    Case 3: IPE B2 (Unbundle / Bundle Elemnts)' is replaced with a non-IPE cluster 'Unbundle'/'Bundle'.
    Case 4: removes both B2 and B3.
    I implemented case 1 a long time ago.  When I had to do the same thing again recently, I did case 4.  When I stumbled across my earlier implementation, I was a bit suprised
    Which of the 4 cases should take the least time (or resources) to execute? I think case 4 has as few array allocations as any of the other 3.
    The attached image did not capture the Buffer Allocation marks, so I marked the ones that differed with a red "B".
    I am only interested in differences in how the arrays are handled, so I see no signioficant differences.
    Is this one of those cases where LV doesn't need my help?
    Incidently, I recently wrote a small app with shared data and decided to try FGVs to share array data.  For small arrays, 10^7 iterations, and an FGV based array-element read followed by a element write, the FGV was faster.  1.2us per read/write for FGV vs 3us per r/w for an DVR/IPE based read/write (like above).
    Peter
    LV 2011 SP1, Windows 7 64-Bit
    Attachments:
    IPE.vi ‏9 KB

    Option 1 is a definite no and as far as I know it has been NI's explicit intention to steer clear from it. I believe there's an idea in the IE which asks for this.
    I agree that option 2 makes sense, but I don't think it should be something the user specifies. Either LV can detect it automatically or it can't, but I doubt NI would let you have an option which creates the possibility for this kind of bug.
    I'm not sure, but the mark as modifier option on the IPES might be the option you're looking for. I know that it exists and I know very roughly what it does, but the documentation for it is very limited and I never actually played around with it, as usually I don't need these kinds of optimizations.
    You may well be right that a new option on the IPES is desirable and you should probably add it to the idea exchange.
    As for NIWeek, I'm not going this year, so I have no idea what kinds of sessions are around, but it's a great place to find people who know what they're talking about and ask them about it directly. Certain people in LV R&D would probably be ideal for this and if you ask relevant people, you might even get their names. I'm sure buying them a beer would also help to loosen their tounges. If you ask me, this type of interaction is the main value of the conference, not the sessions themselves.
    Try to take over the world!

Maybe you are looking for

  • Calling subscreen on click of radio button

    Hi, I am creating a module pool program , in which on click of a radio butto to 'YES' a subscreen should appear ( on the main screen) with few fields so that the user can input values of it. But I am having proble in calling the subscreen in PAI even

  • How do i open ports on a mac with a wrt54g

    i need to open  6 of them for that new xbox and i have no clue what they are talking about,i am not good on pc,s  i have a imac and wrt54g v3  please help    Solved! Go to Solution.

  • How to get HttpServletResponse in a Java class?

    I have the following code: HttpServletResponse response = (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse(); This is usually used when there is a page with a method in the backing bean. What I have is a Java cl

  • MIDlets

    Am I correct in thinking that official OTA spec a .jad file should contain a valid URL to the location of the .jar file. If so why do over 50% of the .jad files I have looked at on the internet (including ones on sun's own web-site, simply have the n

  • ConnectToTCPServer Failure in Windows7

    I am using "Measurement Studio Version 6.0, Labwindows/CVI" for my TcpIP Server and Client Program. It works very well in the Windows XP circumstance using below functions.  But the function ConnectToTCPServer fails with error message like below, whe