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

FIEMAP does not work on DoM files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.14.0, Lustre 2.12.6, Lustre 2.15.0
    • 3
    • 9223372036854775807

    Description

      Creating a DoM PFL file and then running "filefrag -v" on it (ioctl(FIEMAP)) does not work:

      # lfs setstripe -E 1M -L mdt -E 16m -c 4 -E eof -c -1 /mnt/testfs/dom-pfl
      # dd if=/dev/zero of=/mnt/testfs/dom-pfl2 bs=1M count=1
      # filefrag -v /mnt/testfs/dom-pfl2
      Filesystem type is: bd00bd0
      File size of /mnt/testfs/dom-pfl2 is 1048576 (1024 blocks of 1024 bytes)
      /mnt/testfs/dom-pfl2: FIBMAP unsupported
      

      The "FIBMAP unsupported" message is a bit misleading, since it tries FIEMAP first, but falls back to FIBMAP if that doesn't work.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: