<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 <<a href="mailto:bauerj@iodoctors.com" class="">bauerj@iodoctors.com</a>> 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 .  This first command works as expected.  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> lfs setstripe -c 0 -p 2_hdd /nobackupp18/jbauer2/testing/<br class="">
pfe24.jbauer2 1225> lfs getstripe -d /nobackupp18/jbauer2/testing/<br class="">
stripe_count:  1 stripe_size:   1048576 pattern:       raid0 stripe_offset: -1 pool:          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.  Is this what is expected?  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> lfs setstripe -c 0 /nobackupp18/jbauer2/testing/<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
If you specify "-c 0" the "specified" file layout ends up being the same "all default values" as if nothing was specified for the layout at al (i.e. "-c 0 -i -1 -S 0")l, which results in the default filesystem layout being used.  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> lfs getstripe -d /nobackupp18/jbauer2/testing/<br class="">
  lcm_layout_gen:    0<br class="">
  lcm_mirror_count:  1<br class="">
  lcm_entry_count:   3<br class="">
    lcme_id:             N/A<br class="">
    lcme_mirror_id:      N/A<br class="">
    lcme_flags:          prefer<br class="">
    lcme_extent.e_start: 0<br class="">
    lcme_extent.e_end:   268435456<br class="">
      stripe_count:  1       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          ssd-pool<br class="">
<br class="">
    lcme_id:             N/A<br class="">
    lcme_mirror_id:      N/A<br class="">
    lcme_flags:          prefer<br class="">
    lcme_extent.e_start: 268435456<br class="">
    lcme_extent.e_end:   5368709120<br class="">
      stripe_count:  -1       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          ssd-pool<br class="">
<br class="">
    lcme_id:             N/A<br class="">
    lcme_mirror_id:      N/A<br class="">
    lcme_flags:          0<br class="">
    lcme_extent.e_start: 5368709120<br class="">
    lcme_extent.e_end:   EOF<br class="">
      stripe_count:  16       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          hdd-pool<br class="">
<br class="">
pfe24.jbauer2 1228><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 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>