Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15536

create an imperative SoM syncing utility

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

      We have ./lustre/doc/llsom_sync.8 to sync size on MDT xattrs but it is based on changelogs. For scanning based on SoM to be useful we need a utility (of lfs subcommand) that can be used to resynchronize the SoM xattrs of the files we supply.

      In addition to a usual interface

      lfs somsync FILE...
      

      we should also support Lustre client mount point followed by a list of FIDs

      lfs somsync --by-fid MOUNT FID...
      

      (Similar to 'lfs rmfid', allowing use with xargs.)

      Note that lsom_update_one() has the steps to resynchronize SoM.

            yujian Jian Yu
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: