[Lustre-discuss] What would happen if

Brian J. Murrell Brian.Murrell at oracle.com
Wed May 26 06:39:55 PDT 2010


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20100526/50177eee/attachment.pgp>


More information about the lustre-discuss mailing list