<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    GOAL!<br>
    <br>
    You are the best!<br>
    <br>
    <small><i># lfs setstripe -c -1 -s 1M /mnt/data/<br>
        # dd if=/dev/zero of=test bs=1M count=4<br>
        # lfs getstripe test <br>
        test<br>
        lmm_stripe_count:   18<br>
        lmm_stripe_size:    1048576<br>
        lmm_stripe_offset:  6<br>
            obdidx         objid        objid         group<br>
                 6                 2              0x2                 0<br>
                 8                 2              0x2                 0<br>
                 9                 2              0x2                 0<br>
                12                 2              0x2                 0<br>
                14                 2              0x2                 0<br>
                16                 2              0x2                 0<br>
                 1                 2              0x2                 0<br>
                 3                 2              0x2                 0<br>
                 5                 2              0x2                 0<br>
                 7                 2              0x2                 0<br>
                10                 2              0x2                 0<br>
                11                 2              0x2                 0<br>
                13                 2              0x2                 0<br>
                15                 3              0x3                 0<br>
                17                 3              0x3                 0<br>
                 0                 3              0x3                 0<br>
                 2                 3              0x3                 0<br>
                 4                 2              0x2                 0</i></small><br>
    <br>
    <br>
    <br>
    On 28/05/12 16:09, Colin Faber wrote:
    <blockquote
cite="mid:CAJcXmBkKWL8BMCzwKnYmBpQWG6A5mY_1qNrDty=p5NXc3BkQXg@mail.gmail.com"
      type="cite">
      <p>Hi,</p>
      <p>The output indicates stripe count of 1. Use lfs setstripe to
        set the stripe count to something other than 1. I.e. -c -1 for
        all osts.</p>
      <div class="gmail_quote">On May 28, 2012 7:34 AM, "Alfonso Pardo"
        <<a moz-do-not-send="true"
          href="mailto:alfonso.pardo@ciemat.es">alfonso.pardo@ciemat.es</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Hello!<br>
            <br>
            I just migrate my lustre filesystem to version 2.2. I am
            trying to activate the stripe, but when I copy a file into
            the filesystem, it's allocated into only one OST.<br>
            <br>
            This is my procedure:<br>
            <br>
            <small><i>From client:  <br>
              </i></small><small><i>#> </i></small><small><i>lfs
                setstripe -s 1M /mnt/data/<br>
              </i></small><small><i>#> </i></small><small><i>lfs df<br>
                <br>
                UUID                   1K-blocks        Used   Available
                Use% Mounted on<br>
                cetafs-MDT0000_UUID   1462920404      501360 
                1364873324   0% /mnt/data[MDT:0]<br>
                cetafs-OST0000_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:0]<br>
                cetafs-OST0001_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:1]<br>
                cetafs-OST0002_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:2]<br>
                cetafs-OST0003_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:3]<br>
                cetafs-OST0004_UUID   9760101272      450304 
                9267055468   0% /mnt/data[OST:4]<br>
                cetafs-OST0005_UUID   9760101272      450304 
                9271366744   0% /mnt/data[OST:5]<br>
                cetafs-OST0006_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:6]<br>
                cetafs-OST0007_UUID   9760101272      450304 
                9271366744   0% /mnt/data[OST:7]<br>
                cetafs-OST0008_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:8]<br>
                cetafs-OST0009_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:9]<br>
                cetafs-OST000a_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:10]<br>
                cetafs-OST000b_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:11]<br>
                cetafs-OST000c_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:12]<br>
                cetafs-OST000d_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:13]<br>
                cetafs-OST000e_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:14]<br>
                cetafs-OST000f_UUID   9760101272       450304 
                9271374936   0% /mnt/data[OST:15]<br>
                cetafs-OST0010_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:16]<br>
                cetafs-OST0011_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:17]<br>
                <br>
                filesystem summary:  175681822896     8105472
                166884732464   0% /mnt/data<br>
                <br>
                <br>
              </i><big>Then, I copy a 4'5GB file, but...:</big><i><br>
                <br>
                #> lfs getstripe CentOS-6.2-x86_64-bin-DVD1.iso<br>
                CentOS-6.2-x86_64-bin-DVD1.iso<br>
                lmm_stripe_count:   1<br>
                lmm_stripe_size:    262144<br>
                lmm_stripe_offset:  4<br>
                    obdidx         objid        objid         group<br>
                         4                 2              0x2   
                             0<br>
                <br>
              </i></small><small><i>#>  </i></small><small><i>lfs df<br>
                UUID                   1K-blocks        Used   Available
                Use% Mounted on<br>
                cetafs-MDT0000_UUID   1462920404      501360 
                1364873324   0% /mnt/data[MDT:0]<br>
                cetafs-OST0000_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:0]<br>
                cetafs-OST0001_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:1]<br>
                cetafs-OST0002_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:2]<br>
                cetafs-OST0003_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:3]<br>
                cetafs-OST0004_UUID   9760101272     4769772 
                9267055468   0% /mnt/data[OST:4]<br>
                cetafs-OST0005_UUID   9760101272      450304 
                9271366744   0% /mnt/data[OST:5]<br>
                cetafs-OST0006_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:6]<br>
                cetafs-OST0007_UUID   9760101272      450304 
                9271366744   0% /mnt/data[OST:7]<br>
                cetafs-OST0008_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:8]<br>
                cetafs-OST0009_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:9]<br>
                cetafs-OST000a_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:10]<br>
                cetafs-OST000b_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:11]<br>
                cetafs-OST000c_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:12]<br>
                cetafs-OST000d_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:13]<br>
                cetafs-OST000e_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:14]<br>
                cetafs-OST000f_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:15]<br>
                cetafs-OST0010_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:16]<br>
                cetafs-OST0011_UUID   9760101272      450304 
                9271374936   0% /mnt/data[OST:17]<br>
                <br>
                filesystem summary:  175681822896    12424940
                166880412996   0% /mnt/data</i></small><br>
            <br>
            The file is only allocated into OST with index 4<br>
            <br>
            <br>
            Can someone help me?<br>
            <br>
            <br>
            Thanks!!!!!!!!<br>
            <div>-- <br>
              <p><i><span style="font-family:Century Gothic,sans-serif">Alfonso

                    Pardo Díaz</span></i></p>
              <b><i><span style="font-family:Century Gothic,sans-serif">IT

                    Manager</span></i></b><br>
              <i><span style="font-family:Century Gothic,sans-serif">c/
                  Sola nº 1; 10200 Trujillo, ESPAÑA</span></i><br>
              <i><span style="font-family:Century Gothic,sans-serif">Tel:
                  +34 927 65 93 17 Fax: <a moz-do-not-send="true"
                    href="tel:%2B34%20927%2032%2032%2037"
                    value="+34927323237" target="_blank">+34 927 32 32
                    37</a></span></i>
              <p><span><a moz-do-not-send="true"
                    href="http://www.ceta-ciemat.es/" target="_blank"><img
                      src="cid:part3.08040508.08020201@ciemat.es"
                      alt="CETA-Ciemat logo" border="0" height="76"
                      width="383"></a></span></p>
            </div>
            ----------------------------
            Confidencialidad: Este mensaje y sus ficheros adjuntos se
            dirige exclusivamente a su destinatario y puede contener
            información privilegiada o confidencial. Si no es vd. el
            destinatario indicado, queda notificado de que la
            utilización, divulgación y/o copia sin autorización está
            prohibida en virtud de la legislación vigente. Si ha
            recibido este mensaje por error, le rogamos que nos lo
            comunique inmediatamente respondiendo al mensaje y proceda a
            su destrucción.
            Disclaimer: This message and its attached files is intended
            exclusively for its recipients and may contain confidential
            information. If you received this e-mail in error you are
            hereby notified that any dissemination, copy or disclosure
            of this communication is strictly prohibited and may be
            unlawful. In this case, please notify us by a reply and
            delete this email and its contents immediately.
            ----------------------------
          </div>
          <br>
          _______________________________________________<br>
          Lustre-discuss mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.lustre.org/mailman/listinfo/lustre-discuss"
            target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <p><i><span style="font-family:Century Gothic,sans-serif;">Alfonso
            Pardo Díaz</span></i></p>
      <b><i><span style="font-family:Century Gothic,sans-serif;">IT
            Manager</span></i></b><br>
      <i><span style="font-family:Century Gothic,sans-serif;">c/ Sola nº
          1; 10200 Trujillo, ESPAÑA</span></i><br>
      <i><span style="font-family:Century Gothic,sans-serif;">Tel: +34
          927 65 93 17 Fax: +34 927 32 32 37</span></i>
      <p><span><a href="http://www.ceta-ciemat.es/"><img
              src="cid:part7.01060608.01040909@ciemat.es"
              alt="CETA-Ciemat logo" border="0" height="76" width="383"></a></span></p>
    </div>
  </body>
</html>