On Wed, 2010-05-26 at 09:26 -0400, Scott wrote: 
> Hi,

Hi,

You don't provide any particulars (lustre version, lfs df output, etc.)
so I will answer generically...

> I am not using striping.  Question, when creating a new file does Lustre try 
> to write to the OST 
> with the most free space?

That depends on your lustre version and the values
in /proc/fs/lustre/lov/client-clilov-f385fc00/qos_*.  Please see the
manual for details on those files and how they affect object allocation,
if you are running a relevant version of Lustre.

> Second question, if for whatever reason it picks the OST with 200Gb free and 
> i was writing a file 
> that would be 500Gb at finish, what would happen when that particular OST ran 
> out of space?

The client gets an ENOSPC.

> Would 
> it leave the file as incomplete and show no free space?

If the client application doesn't do any cleanup on getting an error,
yes.

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to