<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On Feb 21, 2023, at 10:26, John Bauer &lt;<a href="mailto:bauerj@iodoctors.com" class="">bauerj@iodoctors.com</a>&gt; wrote:<br class="">
<div>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div class="">Something doesn't make sense to me when using lfs setstripe when specifying 0 for the stripe_count .&nbsp; This first command works as expected.&nbsp; The pool is the one specified, 2_hdd, and the -c 0 results in a stripe_count of 1 which I believe is the
 default for the file-system default ( per the lfs setstripe manpage ).<br class="">
<br class="">
pfe24.jbauer2 1224&gt; lfs setstripe -c 0 -p 2_hdd /nobackupp18/jbauer2/testing/<br class="">
pfe24.jbauer2 1225&gt; lfs getstripe -d /nobackupp18/jbauer2/testing/<br class="">
stripe_count:&nbsp; 1 stripe_size:&nbsp;&nbsp; 1048576 pattern:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raid0 stripe_offset: -1 pool:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2_hdd<br class="">
<br class="">
<br class="">
If I do not specify the pool and only specify the stripe_count as 0, the resulting striping is what I believe is the pfl striping from the root directory of the file system.&nbsp; Is this what is expected?&nbsp; I would expect a stripe_count of 1, as above, with the
 pool from the parent directory's striping.<br class="">
<br class="">
pfe24.jbauer2 1226&gt; lfs setstripe -c 0 /nobackupp18/jbauer2/testing/<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
If you specify &quot;-c 0&quot; the &quot;specified&quot; file layout ends up being the same &quot;all default values&quot; as if nothing was specified for the layout at al (i.e. &quot;-c 0 -i -1 -S 0&quot;)l, which results in the default filesystem layout being used. &nbsp;If any non-default value is
 specified then the rest of the layout is filled in from the default values.</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">pfe24.jbauer2 1227&gt; lfs getstripe -d /nobackupp18/jbauer2/testing/<br class="">
&nbsp; lcm_layout_gen:&nbsp;&nbsp;&nbsp; 0<br class="">
&nbsp; lcm_mirror_count:&nbsp; 1<br class="">
&nbsp; lcm_entry_count:&nbsp;&nbsp; 3<br class="">
&nbsp;&nbsp;&nbsp; lcme_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_mirror_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefer<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_start: 0<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_end:&nbsp;&nbsp; 268435456<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_count:&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_size:&nbsp;&nbsp; 16777216 pattern:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raid0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_offset: -1 pool:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ssd-pool<br class="">
<br class="">
&nbsp;&nbsp;&nbsp; lcme_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_mirror_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefer<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_start: 268435456<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_end:&nbsp;&nbsp; 5368709120<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_count:&nbsp; -1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_size:&nbsp;&nbsp; 16777216 pattern:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raid0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_offset: -1 pool:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ssd-pool<br class="">
<br class="">
&nbsp;&nbsp;&nbsp; lcme_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_mirror_id:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br class="">
&nbsp;&nbsp;&nbsp; lcme_flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_start: 5368709120<br class="">
&nbsp;&nbsp;&nbsp; lcme_extent.e_end:&nbsp;&nbsp; EOF<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_count:&nbsp; 16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_size:&nbsp;&nbsp; 16777216 pattern:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raid0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stripe_offset: -1 pool:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hdd-pool<br class="">
<br class="">
pfe24.jbauer2 1228&gt;<br class="">
<br class="">
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre&nbsp;Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>