23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

25.3.3 Creating a File on a Specific OST<br />

You can use lfs setstripe to create a file on a specific OST. In the following<br />

example, the file "bob" will be created on the first OST (id 0).<br />

$ lfs setstripe --count 1 --index 0 bob<br />

$ dd if=/dev/zero of=bob count=1 bs=100M<br />

1+0 records in<br />

1+0 records out<br />

$ lfs getstripe bob<br />

OBDS:<br />

0: home-OST0000_UUID ACTIVE<br />

[...]<br />

bob<br />

obdidx objid objid group<br />

0 33459243 0x1fe8c2b 0<br />

25.4 Free Space Management<br />

In <strong>Lustre</strong> <strong>1.6</strong>, the MDT assigns file stripes to OSTs based on location (which OSS)<br />

and size considerations (free space) to optimize filesystem performance. Emptier<br />

OSTs are preferentially selected for stripes, and stripes are preferentially spread out<br />

between OSSs to increase network bandwidth utilization. The weighting factor<br />

between these two optimizations is user-adjustable.<br />

There are two stripe allocation methods, round-robin and weighted. The allocation<br />

method is determined by the amount of free-space imbalance on the OSTs. The<br />

weighted allocator is used when any two OSTs are imbalanced by more than 20%.<br />

Until then, a faster round-robin allocator is used. (The round-robin order maximizes<br />

network balancing.)<br />

25-8 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!