[lustre-discuss] lfs getstripe -d

John Bauer bauerj at iodoctors.com
Mon Jul 18 07:21:24 PDT 2022


Hi all,

Looking in the documentation at 
https://doc.lustre.org/lustre_manual.xhtml it appears that lfs getstripe 
should/does echo the directory that is being queried.

$ lfs getstripe -d /mnt/testfs/pfldir
/mnt/testfs/pfldir
stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
/mnt/testfs/pfldir/commonfile
lmm_stripe_count:  1
lmm_stripe_size:   1048576
lmm_pattern:       1
lmm_layout_gen:    0
lmm_stripe_offset: 0
     obdidx         objid         objid         group
          2                 9              0x9                 0


But when I do similar on a Lustre 2.12.8 client, the directory being 
queried is not echoed.  Is this a bug?

pfe26.jbauer2 197> lfs getstripe -d /nobackupp17
   lcm_layout_gen:    0 # the directory is missing above this line
   lcm_mirror_count:  1
   lcm_entry_count:   3
     lcme_id:             N/A
     lcme_mirror_id:      N/A
     lcme_flags:          0
     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:          0
     lcme_extent.e_start: 268435456
     lcme_extent.e_end:   5368709120
       stripe_count:  16       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

pfe26.jbauer2 198> cat /sys/fs/lustre/version
2.12.8_ddn6
pfe26.jbauer2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20220718/e3cfb4c5/attachment.htm>


More information about the lustre-discuss mailing list