<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I don't have a script but if you run command given below on the client
it will produce a list of files that are striped to a particular OST.<br>
lfs find --recursive --obd lustrefs-OST0000_UUID /mnt/lustre<br>
Substitute lustrefs-OST0000_UUID with your full OST and the /mnt/lustre
with your client lustre mount point.<br>
Since you have a list of the files you can move some of them to another
OSTs<br>
<br>
Cheers,<br>
<br>
Wojciech<br>
<br>
<br>
Mag Gam wrote:
<blockquote
 cite="mid:1cbd6f830810121319w7d60e450x5fc9542a89c77f37@mail.gmail.com"
 type="cite">
  <pre wrap="">Guys:

Thanks. I think thats the problem! Once I started to move away from
the old OST and start rebalancing everything stated to clear up!

Also, does anyone have a script or algorithm to re balance much
quicker? I prefer an algorithm so I can use rsync to re balance.



Thanks again.



On Sun, Oct 12, 2008 at 3:36 PM, Brock Palen <a class="moz-txt-link-rfc2396E" href="mailto:brockp@umich.edu"><brockp@umich.edu></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On any client

lfs df -h

Show you all your OST usage for all your OST in one command.

Brock Palen
<a class="moz-txt-link-abbreviated" href="http://www.umich.edu/~brockp">www.umich.edu/~brockp</a>
Center for Advanced Computing
<a class="moz-txt-link-abbreviated" href="mailto:brockp@umich.edu">brockp@umich.edu</a>
(734)936-1985



On Oct 12, 2008, at 3:24 PM, Kevin Van Maren wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Sounds like one (or more) of your existing OSTs are out of space.  The
OSTs are assigned at file creation
time, and Lustre will return an error if you cannot allocate space on
the OST for a file you are writing.
Do a "df" on your OSS nodes.

Lustre does not re-stripe files; you may have to manually move (cp/rm)
some files to the new OST
to rebalance the file system.  It is a manual process, but you can use
"lfs setstripe" for force a specific OST,
and use "lfs getstripe" to see where a file's storage is allocated.

Kevin


Mag Gam wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">We have recently added another 1TB to a filesystem. We added a new OST
and mounted the OST. On the clients we do a lfs df -h and we see the
new space has been acquired. Also, lfs df -i shows enough inodes.
However, we randomly see 'No Space left on device (28)" when we run
our  jobs. But if we resubmit the jobs it works again.

Is there anything special we need to do, after we mount up a new OST?

TIA
_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>

        </pre>
      </blockquote>
      <pre wrap="">_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>


      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
Lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a>
  </pre>
</blockquote>
<br>
</body>
</html>