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

File creation failure in directory with 16 byte pool name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.7.0
    • Lustre 2.6.0
    • 3
    • 13962

    Description

      The codes have some inconsistency about the length of pool name. Creating and setting a 16 byte pool name to a directory succeeds. But creating a file under that directory fails. Following script will reproduce that problem.

      #!/bin/bash
      FSNAME=server1
      MNT=/mnt/lustre
      lctl pool_new $FSNAME.aaaaaaaaaaaaaaaa
      lctl pool_add $FSNAME.aaaaaaaaaaaaaaaa $FSNAME-OST0000
      mkdir $MNT/dir2
      lfs setstripe -p aaaaaaaaaaaaaaaa $MNT/dir2
      dd if=/dev/zero of=$MNT/dir2/file bs=1M count=100

      Attachments

        Issue Links

          Activity

            People

              cliffw Cliff White (Inactive)
              lixi Li Xi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: