<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Just a note that the man page for lfs setstripe seems a bit
misleading for the -C --overstripe-count option. The man page
states "<font face="Courier New, Courier, monospace">creating >
1 stripe per OST if count exceeds the number of OSTs in the
file system". It appears that lustre creates more than one
stripe on an OST if the number of stripes exceeds the number of
OSTs in the pool being used. In my example below I selected a
pool with 8 OSTs, and striped 16 wide. The file system has 64
OSTs. 16 is less than 64, but I still got 2 stripes per OST.<br>
</font></p>
<p><font face="Courier New, Courier, monospace"> -C,
--overstripe-count <stripe_count><br>
The number of stripes to create, creating > 1
stripe per OST if count exceeds the number of OSTs in the file<br>
system. 0 means to use the filesystem-wide
default stripe count (default 1), and -1 means to stripe over
all<br>
available OSTs.<br>
</font></p>
<p><font face="Courier New, Courier, monospace"><br>
</font></p>
<p><font face="Courier New, Courier, monospace">pfe22.jbauer2
908> lfs setstripe --pool 1_hdd -C 16 this.dat<br>
pfe22.jbauer2 909> lfs getstripe this.dat<br>
this.dat<br>
lmm_stripe_count: 16<br>
lmm_stripe_size: 1048576<br>
lmm_pattern: raid0,overstriped<br>
lmm_layout_gen: 0<br>
lmm_stripe_offset: 7<br>
lmm_pool: 1_hdd<br>
obdidx objid objid group<br>
7 23665469 0x1691b3d 0<br>
0 22497141 0x1574775 0<br>
4 23541897 0x1673889 0<br>
2 23308778 0x163a9ea 0<br>
1 23033000 0x15f74a8 0<br>
6 23687573 0x1697195 0<br>
5 23635915 0x168a7cb 0<br>
3 23446533 0x165c405 0<br>
7 23665470 0x1691b3e 0<br>
0 22497142 0x1574776 0<br>
4 23541898 0x167388a 0<br>
2 23308779 0x163a9eb 0<br>
1 23033001 0x15f74a9 0<br>
6 23687574 0x1697196 0<br>
5 23635916 0x168a7cc 0<br>
3 23446534 0x165c406 0</font><br>
<br>
</p>
</body>
</html>