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

lod: start offset is not checked when pool is retained

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The following sequence of commands:

      #! /bin/bash
       
      lctl pool_new lustre.ppp
      lctl pool_add lustre.ppp OST0000
      mkdir /mnt/lustre/dir
      lfs setstripe -p ppp /mnt/lustre/dir
      lfs setstripe -i 1 /mnt/lustre/dir
      touch /mnt/lustre/dir/file
      

      end with failed touch:

      Pool lustre.ppp created
      OST lustre-OST0000_UUID added to pool lustre.ppp
      touch: setting times of ‘/mnt/lustre/dir/file’: No such file or directory
      [root@sl751 LUS-7180]# 
      

      This is because on lfs setstripe -i1 pool ppp is retained but OST0001 is not in the pool.

      Attachments

        Activity

          People

            vsaveliev Vladimir Saveliev
            vsaveliev Vladimir Saveliev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: