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

The Incorrect block size value of the restored files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.5.3
    • None
    • 3
    • HSM
    • 9223372036854775807

    Description

      The block size of restored files is equal 1.
      Issue is reproduced on virtual environment that consists:
      -client based on CentOS release 6.6 (Final)
      -server node with mgs, mds, oss roles

      Steps to reproduce:
      -run the lhsmtool_posix -A 5 -p /tmp/ /mnt/testfs/

      • archive file: lfs hsm_archive /mnt/testfs/test_ag
      • release file:[client3]# lfs hsm_release /mnt/testfs/test_ag
        [client3 ]# lfs hsm_state /mnt/testfs/test_ag
        /mnt/testfs/test_ag: (0x0000000d) released exists archived, archive_id:5
        [client3 ~]# stat /mnt/testfs/test_ag
        File: `/mnt/testfs/test_ag'
        Size: 5242880 Blocks: 1 IO Block: 4194304 regular file
        Device: 4b620ee0h/1264717536d Inode: 144115205255725082 Links: 1
        .....
      • restore file: [client3]# lfs hsm_restore /mnt/testfs/test_ag

      [client3 ~]# lfs hsm_state /mnt/testfs/test_ag
      /mnt/testfs/test_ag: (0x00000009) exists archived, archive_id:5
      [client3 ~]# stat /mnt/testfs/test_ag
      File: `/mnt/testfs/test_ag'
      Size: 5242880 Blocks: 1 IO Block: 4194304 regular file
      Device: 4b620ee0h/1264717536d Inode: 144115205255725082 Links: 1

      Actual result:
      File's block size=1.

      Attachments

        Issue Links

          Activity

            People

              jhammond John Hammond
              ppapou Pavel Papou (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: