[lustre-discuss] FIEMAP and DoM

John Bauer bauerj at iodoctors.com
Fri May 24 06:12:50 PDT 2024


Is FIEMAP supported on a DoM file?  I have a simple file that is a 2 
component PFL.  The first component is DoM.  My utility program that 
does the FIEMAP, and which works with non-DoM PFL files, does not work 
when the first component is DoM.

ioctl(FS_IOC_FIEMAP) fe_device=0 fe_logical=0 file_size=1048576000 error 
Unknown error 524

Is this as expected?

John


pfe27.jbauer2 286> lfs getstripe /nobackup/jbauer2/dd.dir/dd_test.dat
/nobackup/jbauer2/dd.dir/dd_test.dat
   lcm_layout_gen:    3
   lcm_mirror_count:  1
   lcm_entry_count:   2
     lcme_id:             1
     lcme_mirror_id:      0
     lcme_flags:          init
     lcme_extent.e_start: 0
     lcme_extent.e_end:   1048576
       lmm_stripe_count:  0
       lmm_stripe_size:   1048576
       lmm_pattern:       mdt
       lmm_layout_gen:    0
       lmm_stripe_offset: 0
       lmm_pool:          ssd-pool

     lcme_id:             2
     lcme_mirror_id:      0
     lcme_flags:          init
     lcme_extent.e_start: 1048576
     lcme_extent.e_end:   EOF
       lmm_stripe_count:  6
       lmm_stripe_size:   5242880
       lmm_pattern:       raid0
       lmm_layout_gen:    0
       lmm_stripe_offset: 121
       lmm_pool:          ssd-pool
       lmm_objects:
       - 0: { l_ost_idx: 121, l_fid: [0x100790000:0x3273e83:0x0] }
       - 1: { l_ost_idx: 131, l_fid: [0x100830000:0x325c4b2:0x0] }
       - 2: { l_ost_idx: 116, l_fid: [0x100740000:0x31e236f:0x0] }
       - 3: { l_ost_idx: 117, l_fid: [0x100750000:0x317dbf2:0x0] }
       - 4: { l_ost_idx: 124, l_fid: [0x1007c0000:0x320ec8d:0x0] }
       - 5: { l_ost_idx: 125, l_fid: [0x1007d0000:0x32094a8:0x0] }

pfe27.jbauer2 287> llfie /nobackup/jbauer2/dd.dir/dd_test.dat
StripeChunks_get() ioctl(FS_IOC_FIEMAP) fe_device=0 fe_logical=0 
file_size=1048576000 error Unknown error 524
StripeChunks_get() fm_mapped_extents=0
pfe27.jbauer2 288>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20240524/4c8b9ae5/attachment.htm>


More information about the lustre-discuss mailing list