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

improve man and help of lfs-stripe command about overstripe

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      'lfs stripe -o 0-3,0-3 <DIR>' allowed  today and it enables overstriping across OST0-3 automatically.

      # mkdir out
      # lfs getstripe out  out
      stripe_count:  1 stripe_size:   1048576 pattern:       0 stripe_offset: -1
      
      # lfs setstripe -o 0-3,0-3 out  [root@ec01 exafs]# lfs getstripe out  out
      stripe_count:  8 stripe_size:   1048576 pattern:       raid0,overstriped stripe_offset: 0
      

      this is a useful option, but, command help didn't mention about that.

       ost_indices:  List of OST indices, can be repeated multiple times
                    Indices be specified in a format of:
                      -o <ost_1>,<ost_i>-<ost_j>,<ost_n>
                    Or:
                      -o <ost_1> -o <ost_i>-<ost_j> -o <ost_n>
                    If --pool is set with --ost then the OSTs
                    must be the members of the pool.
      

      it would be better to add about overstriping and an example.

      Attachments

        Activity

          People

            wc-triage WC Triage
            sihara Shuichi Ihara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: