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 ).

pfe24.jbauer2 1224> lfs setstripe -c 0 -p 2_hdd /nobackupp18/jbauer2/testing/
pfe24.jbauer2 1225> lfs getstripe -d /nobackupp18/jbauer2/testing/
stripe_count:  1 stripe_size:   1048576 pattern:       raid0 stripe_offset: -1 pool:          2_hdd

pfe24.jbauer2 1226>


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.

pfe24.jbauer2 1226> lfs setstripe -c 0 /nobackupp18/jbauer2/testing/
pfe24.jbauer2 1227> lfs getstripe -d /nobackupp18/jbauer2/testing/
  lcm_layout_gen:    0
  lcm_mirror_count:  1
  lcm_entry_count:   3
    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          prefer
    lcme_extent.e_start: 0
    lcme_extent.e_end:   268435456
      stripe_count:  1       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          ssd-pool

    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          prefer
    lcme_extent.e_start: 268435456
    lcme_extent.e_end:   5368709120
      stripe_count:  -1       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          ssd-pool

    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          0
    lcme_extent.e_start: 5368709120
    lcme_extent.e_end:   EOF
      stripe_count:  16       stripe_size:   16777216 pattern:       raid0       stripe_offset: -1 pool:          hdd-pool

pfe24.jbauer2 1228>

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to