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

"loop" devices testing with zfs is broken

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.13.0
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      LU-7884 landed a patch that touches a file before loopback mounting it and it works for ldiskfs,
      but for zfs in utils/mkfs/mount_utils_zfs.c::zfs_create_vdev() we check if the file exists and if it does not, we create it with the specified size, but since the patch here creates the file, zfs vdev attachment always fails due to existign file of less than 64M.

      Need to fix this up somehow, I guess.

      Attachments

        Issue Links

          Activity

            [LU-9792] "loop" devices testing with zfs is broken
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34105/
            Subject: LU-9792 tests: t-f do not create empty files for ZFS
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 858c36a35ef71cb2787e36ce89de49a4a30cdd9c

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34105/ Subject: LU-9792 tests: t-f do not create empty files for ZFS Project: fs/lustre-release Branch: master Current Patch Set: Commit: 858c36a35ef71cb2787e36ce89de49a4a30cdd9c
            pjones Peter Jones added a comment - https://review.whamcloud.com/34105

            People

              bzzz Alex Zhuravlev
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: